StockMarketAPI
Stocks for agents: company profiles and financial statements, quotes and price history, SEC filings, analyst consensus, ETF holdings, index members, sector stats, commodities and FX.
Data Endpoints 46
10 groups · click a box or group to filterFaster through RealtimeAPI
Before and after: 37 of 46 endpoints are answered from our edge cache instead of a round trip to StockMarketAPI, 1.3x faster at the median.
Why use RealtimeAPI
Cached answers from Cloudflare's edge in 300+ cities, measured every 5 minutes.The same data StockMarketAPI serves, refreshed on its schedule: freshness shown per endpoint, and every answer says how old the copy is (X-RTAPI-Data-Age).One API key for every feed.Pay per call in USDC (x402), buy a 1-hour, 7-day or 30-day pass, or prepay USDC credits.MCP tools for agents: Claude, Cursor or any MCP client can call this feed directly.How we measure: before is a direct call to StockMarketAPI from Cloudflare's edge (successful probes only); after is what an API-key caller gets at the edge: the gateway's own time to first byte on cached answers from real traffic (12 of 37 endpoints), and otherwise the read of our cached copy at the same edge location plus the gateway's own time per request. A cache miss adds the provider's time. Both leave out the agent-to-edge leg, which is the same either way. 24-hour p50 and p95, updated hourly. Last updated 2026-11-02 07:15 UTC.
Accelerated endpoints 37
click a column to sort3 endpoints are always served live from StockMarketAPI (data changes faster than every 5 minutes, or per-request lookups). 6 endpoints are cached at the edge and still being measured.
Frequently asked questions
About pricing, keys and agent access for the StockMarketAPI feed.
How much does the StockMarketAPI API cost?
Each request costs $0.01 to $0.10, paid in USDC on Base with x402. There is no account and no subscription. A free key covers 1,000 calls a month across all feeds.
Do I need an API key to use StockMarketAPI?
No. Call https://api.realtimeapi.ai/v1/stockmarket/... and answer the 402 Payment Required challenge with an x402 payment. You can also buy a time-boxed key or use a free key.
Can AI agents discover StockMarketAPI automatically?
Yes. Its 46 endpoints are indexed for semantic discovery, published as OpenAPI with x-price, and exposed as tools on the RealtimeAPI MCP server.
Am I charged when a request fails?
No. Only 2xx responses are billed. Upstream errors and timeouts are passed through without charge and the payment is never settled.