{"openapi":"3.1.0","info":{"title":"Yahoo Finance Quotes and Market Data (x402 & MCP)","version":"0.1.0","description":"Yahoo Finance quotes for stocks, ETFs, funds, indices and currencies, with price history, options, financials and news on request, screeners and symbol search.","x-guidance":"Structured real-time web intelligence APIs paid per delivered row in USDC via x402 on Base, Polygon, Arbitrum, Monad, World Chain and Solana. All endpoints are synchronous at POST /s/<site>/v1/<endpoint> and also exposed over stateless MCP at POST /mcp. Supports x402 v2 'upto' (Permit2) and 'exact' (EIP-3009) on EVM chains, and 'exact' (SPL USDC transfer, facilitator-paid fees) on Solana. 'upto' charges only for the rows delivered. 'exact' settles the full quoted amount (quoted rows x the row price) even when fewer rows than maxResults are delivered, so use 'upto' when the row count is uncertain. Also accepts MPP (Machine Payments Protocol): pay the WWW-Authenticate Payment challenge (Tempo charge in USDC, signed transfer not broadcast) and retry with Authorization: Payment; the transfer is only broadcast once at least one row is delivered (Payment-Receipt header). A paid reply that never arrives is returned again, without a second charge, when the same credential is resent. Empty/0-row (404), invalid input (422), and upstream failures or timeouts (503, see error.code) are never charged. If a paid reply never arrives (for example a 502 or 522 from Cloudflare), send the same request again with the same PAYMENT-SIGNATURE within 1 hour: a result already paid for comes back without a second charge. New wallets: the first 10 rows are free on 12 trial sites (apps-apple-com, booking-com, github-com, hackernews-com, huggingface-co, imdb-com, play-google-com, polymarket-com, tripadvisor-com, upwork-com, walmart-com, zillow-com), up to 5 per call; with exact, a call is free when maxResults <= 5. The wallet must hold at least the quoted USDC to pass payment verification, but free rows are not charged and never settled on-chain.","contact":{"email":"ops@opendata.best"}},"servers":[{"url":"https://x402.opendata.best"}],"paths":{"/s/finance-yahoo-com/v1/quotes":{"post":{"operationId":"finance_yahoo_com_quotes","summary":"Yahoo Finance Quotes and Market Data: Quotes and company data by symbol","description":"One quote row per Yahoo Finance symbol (such as AAPL, 0700.HK, BTC-USD or ^GSPC); switches add officers, analysts, holders, price history, corporate actions, options, financials, insights and news as rows. Unit price: $0.003000/row USDC (default quote 10 rows, max 20 rows). Unsettled / 0-row / error responses are never charged.","tags":["finance-yahoo-com","Finance"],"x-payment-info":{"protocols":[{"x402":{}},{"mpp":{"method":"tempo","intent":"charge","currency":"0x20c000000000000000000000b9537d11c60e8b50"}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.030000","min":"0.003000","max":"0.060000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"symbols":{"type":"array","items":{"type":"string"},"description":"Yahoo Finance tickers such as AAPL, 0700.HK, BTC-USD, ^GSPC or EURUSD=X, or quote links such as https://finance.yahoo.com/quote/AAPL/. One quote row per symbol, plus the extra rows you switch on below. Each symbol is one input, and maxResults applies to each of them."},"includeOfficers":{"type":"boolean","description":"Add one row per company officer: name, title, age and pay. Off by default; each row is billed like any row.","default":false},"includeAnalysis":{"type":"boolean","description":"Add analyst upgrades and downgrades, earnings estimates per period, past earnings against estimates, and similar symbols, each as its own row.","default":false},"includeHolders":{"type":"boolean","description":"Add institutional, fund and insider holders, insider transactions, and an ETF's or fund's top holdings, each as its own row.","default":false},"includePriceHistory":{"type":"boolean","description":"Add one row per price bar (open, high, low, close, adjusted close, volume) over historyRange at historyInterval, newest first.","default":false},"historyRange":{"type":"string","description":"How far back price history goes.","default":"1mo","enum":["1d","5d","1mo","3mo","6mo","ytd","1y","2y","5y","10y","max"]},"historyInterval":{"type":"string","description":"Length of one price bar. Minute bars are only kept by Yahoo for recent days (1m for about a week, other intraday bars for about 60 days).","default":"1d","enum":["1m","2m","5m","15m","30m","60m","90m","1h","1d","5d","1wk","1mo","3mo"]},"includeCorporateActions":{"type":"boolean","description":"Add one row per dividend, stock split and capital gain distribution over the whole history, newest first.","default":false},"includeOptions":{"type":"boolean","description":"Add one row per option contract (calls and puts) for the nearest optionExpirations expiration dates.","default":false},"optionExpirations":{"type":"integer","description":"How many of the nearest expiration dates to read when the option chain is on.","default":1,"minimum":1,"maximum":12},"includeFinancials":{"type":"boolean","description":"Add one row per statement period: income statement, balance sheet and cash flow, with every line item Yahoo publishes.","default":false},"financialsFrequency":{"type":"string","description":"Annual, quarterly or trailing twelve months. Trailing has no balance sheet.","default":"annual","enum":["annual","quarterly","trailing"]},"includeInsights":{"type":"boolean","description":"Add one row with technical outlook, valuation, research report titles, significant developments and SEC filings.","default":false},"includeNews":{"type":"boolean","description":"Add one row per recent news article about the symbol (or the search term, in search mode).","default":false},"maxResults":{"type":"integer","description":"Most rows this call returns, 1 to 20 (default 10). All row types count toward it. The 402 payment quote is maxResults x $0.0030/row USDC: with the upto scheme you pay only for the rows delivered, with exact you pay the quoted amount, so use upto when the row count is uncertain. Calls that return 0 rows or fail are not charged.","default":10,"minimum":1,"maximum":20}},"additionalProperties":false},"example":{"symbols":["AAPL"],"maxResults":10}}}},"responses":{"200":{"description":"Synchronous data rows with x402 PAYMENT-RESPONSE receipt header.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 SettleResponse receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"MPP receipt (when paid with Authorization: Payment).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_finance_yahoo_com"},"example":{"jobId":"job_finance-_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"rowType":"example_rowType","symbol":"example_symbol","shortName":"example_shortName","quoteType":"example_quoteType","regularMarketPrice":"example_regularMarketPrice","currency":"example_currency"}],"meta":{"site":"finance-yahoo-com","endpoint":"quotes","maxResults":10,"payment":{"scheme":"upto","network":"eip155:8453","quotedMicrousd":30000,"settledMicrousd":3000,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}}}},"402":{"description":"Payment required or invalid/declined payment authorization (never charged).","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired quote.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"MPP Payment challenge (Tempo charge) for the same quote.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"no_results: 0 rows matched the query; aborted before settlement (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"payment_id_conflict: payment-identifier reused with different parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or missing request parameters (validated before /verify; charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or payer cooldown exceeded (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"error.code collection_failed / source_blocked (upstream source failed or blocked) or upstream_timeout (synchronous deadline reached, task cancelled): charged=false. Also settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/finance-yahoo-com/v1/screeners":{"post":{"operationId":"finance_yahoo_com_screeners","summary":"Yahoo Finance Quotes and Market Data: Screeners","description":"The securities in each Yahoo screener (such as day_gainers, most_actives or undervalued_growth_stocks), in the screener's order. Unit price: $0.003000/row USDC (default quote 10 rows, max 20 rows). Unsettled / 0-row / error responses are never charged.","tags":["finance-yahoo-com","Finance"],"x-payment-info":{"protocols":[{"x402":{}},{"mpp":{"method":"tempo","intent":"charge","currency":"0x20c000000000000000000000b9537d11c60e8b50"}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.030000","min":"0.003000","max":"0.060000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"screeners":{"type":"array","items":{"type":"string"},"description":"Yahoo screener ids such as day_gainers, day_losers, most_actives, undervalued_growth_stocks or growth_technology_stocks, or a screener link. One row per matching security, in the screener's order. Used only when symbols is empty."},"maxResults":{"type":"integer","description":"Most rows this call returns, 1 to 20 (default 10). All row types count toward it. The 402 payment quote is maxResults x $0.0030/row USDC: with the upto scheme you pay only for the rows delivered, with exact you pay the quoted amount, so use upto when the row count is uncertain. Calls that return 0 rows or fail are not charged.","default":10,"minimum":1,"maximum":20}},"additionalProperties":false},"example":{"screeners":["day_gainers"],"maxResults":10}}}},"responses":{"200":{"description":"Synchronous data rows with x402 PAYMENT-RESPONSE receipt header.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 SettleResponse receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"MPP receipt (when paid with Authorization: Payment).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_finance_yahoo_com"},"example":{"jobId":"job_finance-_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"rowType":"example_rowType","symbol":"example_symbol","shortName":"example_shortName","quoteType":"example_quoteType","regularMarketPrice":"example_regularMarketPrice","currency":"example_currency"}],"meta":{"site":"finance-yahoo-com","endpoint":"screeners","maxResults":10,"payment":{"scheme":"upto","network":"eip155:8453","quotedMicrousd":30000,"settledMicrousd":3000,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}}}},"402":{"description":"Payment required or invalid/declined payment authorization (never charged).","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired quote.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"MPP Payment challenge (Tempo charge) for the same quote.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"no_results: 0 rows matched the query; aborted before settlement (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"payment_id_conflict: payment-identifier reused with different parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or missing request parameters (validated before /verify; charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or payer cooldown exceeded (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"error.code collection_failed / source_blocked (upstream source failed or blocked) or upstream_timeout (synchronous deadline reached, task cancelled): charged=false. Also settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/finance-yahoo-com/v1/search":{"post":{"operationId":"finance_yahoo_com_search","summary":"Yahoo Finance Quotes and Market Data: Symbol search","description":"Symbols matching each company name or partial ticker, as in the Yahoo Finance search box. Unit price: $0.003000/row USDC (default quote 10 rows, max 20 rows). Unsettled / 0-row / error responses are never charged.","tags":["finance-yahoo-com","Finance"],"x-payment-info":{"protocols":[{"x402":{}},{"mpp":{"method":"tempo","intent":"charge","currency":"0x20c000000000000000000000b9537d11c60e8b50"}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.030000","min":"0.003000","max":"0.060000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchQueries":{"type":"array","items":{"type":"string"},"description":"Company names or partial tickers, as typed in the Yahoo Finance search box. One row per matching symbol."},"maxResults":{"type":"integer","description":"Most rows this call returns, 1 to 20 (default 10). All row types count toward it. The 402 payment quote is maxResults x $0.0030/row USDC: with the upto scheme you pay only for the rows delivered, with exact you pay the quoted amount, so use upto when the row count is uncertain. Calls that return 0 rows or fail are not charged.","default":10,"minimum":1,"maximum":20}},"additionalProperties":false},"example":{"searchQueries":["nvidia"],"maxResults":10}}}},"responses":{"200":{"description":"Synchronous data rows with x402 PAYMENT-RESPONSE receipt header.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 SettleResponse receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"MPP receipt (when paid with Authorization: Payment).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_finance_yahoo_com"},"example":{"jobId":"job_finance-_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"rowType":"example_rowType","symbol":"example_symbol","shortName":"example_shortName","quoteType":"example_quoteType","regularMarketPrice":"example_regularMarketPrice","currency":"example_currency"}],"meta":{"site":"finance-yahoo-com","endpoint":"search","maxResults":10,"payment":{"scheme":"upto","network":"eip155:8453","quotedMicrousd":30000,"settledMicrousd":3000,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}}}},"402":{"description":"Payment required or invalid/declined payment authorization (never charged).","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired quote.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"MPP Payment challenge (Tempo charge) for the same quote.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"no_results: 0 rows matched the query; aborted before settlement (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"payment_id_conflict: payment-identifier reused with different parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or missing request parameters (validated before /verify; charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or payer cooldown exceeded (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"error.code collection_failed / source_blocked (upstream source failed or blocked) or upstream_timeout (synchronous deadline reached, task cancelled): charged=false. Also settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/finance-yahoo-com/v1/health":{"get":{"operationId":"finance_yahoo_com_health","summary":"Yahoo Finance Quotes and Market Data: health check","description":"Free readiness check (never returns 402 and never starts a collection).","tags":["finance-yahoo-com","health"],"responses":{"200":{"description":"Operational","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}}}}}},"components":{"schemas":{"ErrorDetail":{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"charged":{"type":"boolean"}}},"ErrorResponse":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"HealthStatus":{"type":"object","required":["ok","site","status","endpoints","rowsBilled"],"properties":{"ok":{"type":"boolean"},"site":{"type":"string"},"status":{"type":"string","enum":["operational","unavailable"]},"endpoints":{"type":"array","items":{"type":"string"}},"rowsBilled":{"type":"integer"}}},"Row_finance_yahoo_com":{"type":"object","properties":{"rowType":{"type":["string","null"],"title":"Row type"},"symbol":{"type":["string","null"],"title":"Symbol"},"shortName":{"type":["string","null"],"title":"Name"},"quoteType":{"type":["string","null"],"title":"Type"},"regularMarketPrice":{"type":["string","null"],"title":"Price"},"currency":{"type":["string","null"],"title":"Currency"},"regularMarketChangePercent":{"type":["string","null"],"title":"Change %"},"marketCap":{"type":["string","null"],"title":"Market cap"},"exchange":{"type":["string","null"],"title":"Exchange"},"url":{"type":["string","null"],"title":"Link"}},"additionalProperties":true},"Response_finance_yahoo_com":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string"},"done":{"type":"boolean"},"rowCount":{"type":"integer","minimum":1},"rowsBilled":{"type":"integer","minimum":1},"rowsDelivered":{"type":"integer","minimum":1},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Row_finance_yahoo_com"}},"meta":{"type":"object","properties":{"site":{"type":"string"},"endpoint":{"type":"string"},"maxResults":{"type":"integer"},"payment":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"quotedMicrousd":{"type":"integer"},"settledMicrousd":{"type":"integer"},"transaction":{"type":"string"},"payer":{"type":"string"}}}}}},"required":["jobId","status","done","rowCount","rows"]}}},"x-discovery":{"ownershipProofs":["0xdb7c562a3ef6f9f29da4672abdab1489e82e910a91b863e3c22b905df6522b7223798a84245e0452cab689483b6cbb7cd8c13141319df982b213dea31ee7e4311c"]}}