How do I look up a single company's market cap?
GET /api/v1/market-cap?symbol=AAPL returns the latest market cap, company name, sector, and currency for that ticker.
Look up any ticker, rank companies by market cap with sector and range filters, or compare multiple symbols side by side — all from a deterministic snapshot dataset.
This calls the live Market Cap API in snapshot mode. Switch symbols to see the latest market capitalization.
Loading live market cap...
Why Market Cap API
Snapshot always available
Look up any symbol in the snapshot dataset without depending on a live provider key.
Top-cap rankings
GET /top ranks companies by market cap with sector, minMarketCap/maxMarketCap, and sort controls.
Trend analytics
GET /trend returns first/latest values, absolute change, percent change, and trend direction over a period.
Historical series
GET /history returns a synthetic historical market-cap series for one symbol with date-range filtering.
Multi-symbol comparison
GET /compare returns found and missing records for a comma-separated symbols list in one call.
Catalog discovery
GET /catalog returns supported modes and the full symbol inventory for building dynamic pickers.
/api/v1/market-cap
Symbol lookup
Single-symbol market cap in snapshot or live mode. Requires symbol.
History
Synthetic historical market-cap series for one symbol, with period and date-range filtering.
Trend
Summarized trend analytics — first/latest value, absolute and percent change, direction.
Top rankings
Ranked companies by market cap, with sector, range, sort, and limit controls.
Compare
Multi-symbol comparison from the snapshot dataset. Requires symbols.
Catalog
Supported modes and the full symbol inventory.
| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | yes* | Ticker for the primary lookup endpoint, e.g. AAPL. |
| symbols | string | yes* | Comma-separated tickers for /compare, e.g. AAPL,MSFT,NVDA. |
| mode | string | no | snapshot (default) or live. |
| period | string | no | 1m, 3m, 6m, 1y, 3y, or 5y for history/trend. |
| limit | integer | no | Top list size for /top. 1 to 50. |
| sector | string | no | Exact sector filter for /top, e.g. Technology. |
| minMarketCap / maxMarketCap | number | no | Inclusive market-cap bounds for /top. |
| sort | string | no | desc (default) or asc for /top. |
Error reference
Invalid query parameters or a missing required symbol/symbols value.
Missing or invalid gateway API key. Send x-api-key or api_key with every request.
Symbol absent from the snapshot dataset, or an unknown route.
More than 200 requests in a 15-minute window per IP.
Live provider request failed or returned an invalid payload.
mode=live requested without live provider credentials configured server-side.
Example not-found response (404)
{
"success": false,
"error": "Symbol not found in snapshot dataset: XYZ",
"correlationId": "1784851502441-c0x4md9l8"
}FAQ
GET /api/v1/market-cap?symbol=AAPL returns the latest market cap, company name, sector, and currency for that ticker.
Yes. GET /top returns a ranked list with optional sector, minMarketCap/maxMarketCap range filters, sort direction, and a configurable limit (1-50).
GET /compare accepts a comma-separated symbols list and returns found records plus any symbols missing from the snapshot dataset.
Snapshot mode is always available and returns deterministic values from the cached dataset. Live mode calls a live provider and requires provider credentials — pass mode=live to try it.
Send your Datpaq API key as an x-api-key header or an api_key query parameter. Keys are created in the Datpaq dashboard and a free tier is included.
Symbol lookup, top-cap rankings, trend analytics, and multi-symbol comparison, backed by a deterministic snapshot dataset.