Skip to content

StockMarketAPI

Verified data provider stockmarketapi.ai api.realtimeapi.ai/v1/stockmarket

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.

SERVICE QUALITY · 30 DAYS Status page
VIA REALTIMEAPI · P50 · 24H 1.3x faster
119 ms vs 163 ms direct from StockMarketAPI
37 of 46 endpoints edge-cached · see data speed & quality report
price / callfrom $0.01
endpoints46
uptime 30d99.61%
saved / call36 ms

Data Endpoints 46

10 groups · click a box or group to filter
22 endpoints
Company profiles, quotes, financials and filings.
9 endpoints
Index quotes, sector performance and market statistics.
5 endpoints
Currency pairs and commodity prices.
5 endpoints
Formulas, market calendars and data-quality notices.
5 endpoints
Market-moving headlines, news pulse and live event streams.
SPEED

Faster 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.
MEDIAN RESPONSE TIME (P50) · 24 HOURS
1.3x faster
Direct to StockMarketAPI163 ms
Through RealtimeAPI119 ms
1.3xfaster at p50
36 mssaved per call
37 / 46endpoints accelerated

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 sort
GET/companies/{ticker}/sector-stats 913ms / 1.98s 116ms / 200ms 7.9x ≤ 1 h GET/sectors/{sector}/stats 764ms / 1.61s 104ms / 155ms 7.3x ≤ 1 h GET/news/source-icon/{domain} 364ms / 820ms 100ms / 127ms 3.6x ≤ 168 h GET/companies/coverage 339ms / 941ms 385ms / - 0.9x ≤ 1 h GET/sectors/trending 329ms / 2.70s 67ms / - 4.9x ≤ 1 h GET/news 274ms / 576ms 107ms / 145ms 2.6x ≤ 15 min GET/news/feed 269ms / 697ms 354ms / 397ms 0.8x ≤ 15 min GET/companies/quotes 241ms / 535ms 108ms / 159ms 2.2x ≤ 5 min GET/companies/bulk 233ms / 484ms 111ms / 163ms 2.1x ≤ 15 min GET/companies/{ticker}/holdings 229ms / 310ms 130ms / 170ms 1.8x ≤ 1 h GET/companies/metrics/bulk 226ms / 519ms 108ms / 159ms 2.1x ≤ 15 min GET/calendar 222ms / 583ms 3ms / - 74.0x ≤ 1 h GET/indices/{index_name} 200ms / 578ms 145ms / 186ms 1.4x ≤ 1 h GET/companies/{ticker}/metrics/history 182ms / 389ms 124ms / 164ms 1.5x ≤ 1 h GET/companies 169ms / 376ms 822ms / 868ms 0.2x ≤ 1 h GET/companies/{ticker}/financials 169ms / 454ms 128ms / 178ms 1.3x ≤ 1 h GET/companies/{ticker}/metrics/summary 169ms / 280ms 107ms / 156ms 1.6x ≤ 1 h GET/indices/quotes 165ms / 379ms 220ms / 273ms 0.8x ≤ 15 min GET/companies/{ticker}/analyst 163ms / 283ms 112ms / 149ms 1.5x ≤ 1 h GET/companies/{ticker}/completeness 158ms / 266ms 122ms / 157ms 1.3x ≤ 1 h GET/commodities/quotes 153ms / 351ms 113ms / 163ms 1.4x ≤ 1 h GET/companies/{ticker}/metrics 151ms / 287ms 127ms / 175ms 1.2x ≤ 1 h GET/fx/rates 142ms / 316ms 143ms / - 1.0x ≤ 1 h GET/commodities/{symbol}/prices 137ms / 327ms 119ms / 152ms 1.2x ≤ 1 h GET/companies/search 137ms / 343ms 106ms / 157ms 1.3x ≤ 1 h
Showing 25 of 37 accelerated endpoints · Full speed report on the status page →

3 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.

Get a free key

1,000 calls a month across every feed. Who is setting it up?

No key needed at all: agents can pay per call in USDC with x402.