Documentation
TickerLayer is a developer-first aggregated market data platform. REST for snapshots, quotes, trades, and historical bars. Public WebSocket for low-latency streaming when market connections are active.
Recent updates
- Futures CFDs: historical bars for months, the chain and roll series
- A 403 names the product or stock market your plan leaves out
- Dashboard lists WebSocket connections: source IP, key, how each ended
Important Data Notice
All API and WebSocket data provided by TickerLayer comes from non-exchange sources, except the Perpetuals feed, which is a calculated composite of third-party perpetual futures markets and is not the price of any underlying on its primary market. None of it is official exchange feed data, and it may be delayed, inaccurate, incomplete, or different from official market prices. The same applies to CFD-style index and ETF-style reference symbols, to commodity reference prices, and to Futures CFDs, which are reference prices calculated with our own methodology and not the official settlement or closing price of any contract month. The data is for informational and technical use only. Redistribution is prohibited unless expressly authorized in writing.
What you can access
Nine feeds on one key. Each one opens its own reference: routes, parameters, example responses and the WebSocket channels it streams on.
- StocksUS and international equities with market-qualified symbols.REST/stocksWSstocks.quotes · trades
- ForexMajor, minor and emerging-market currency pairs.REST/forexWSforex.quotes · trades
- CryptoSpot crypto pairs with normalized quote and trade fields.REST/cryptoWScrypto.quotes · trades
- IndicesIndex-style indicative levels for the major equity markets.REST/indicesWSindices.quotes · trades
- ETFsETF-style reference instruments on the stocks endpoint pattern.REST/etfsWSetfs.quotes · trades
- CommoditiesMetals, energy and agriculture reference prices.REST/commoditiesWScommodities.quotes · trades
- BondsGovernment bond yields by country and tenor, as daily observations.REST/bondWSbonds.quotes
- PerpetualsNew24/7 perpetual prices across stocks, ETFs, commodities, indices, FX, crypto and pre-IPO markets.REST/perpetualsWSperpetuals.quotes · marks · trades
- Futures CFDsNewContract-month CFDs on energy, metals, grains, rates and US equity indices, with the front-month chain and four roll methods.REST/futuresWSfutures.quotes
Authentication
| Surface | Send the key as |
|---|---|
| REST | x-api-key: <YOUR_API_KEY> header |
| WebSocket | wss://stream.tickerlayer.com/?apiKey=<YOUR_API_KEY> on the upgrade URL |
A missing or invalid key returns 401; an inactive key, or one without the permission the request needs, returns 403. Authentication guide
Base URL & conventions
https://api.tickerlayer.com- Format
- JSON, with
Content-Type: application/json. - Timestamps
- Unix milliseconds (
number). - Methods
GETfor every data endpoint.- Symbols
- Uppercase codes from the enabled registries; path symbols are trimmed and uppercased before lookup.
Symbol format
To see everything we cover, across every asset class and with any key, use the full catalog (GET /symbols/catalog). Each asset class also lists the symbols your key can read:
| Route | Returns | Example |
|---|---|---|
GET /stocks/symbols | Equities as CC:SYMBOL, filter with ?market=CC | US:KO |
GET /forex/symbols | FX pairs | EURUSD |
GET /crypto/symbols | Spot crypto pairs | BTCUSD |
GET /indices/symbols | Index codes | US500 |
GET /etfs/symbols | ETF codes | US500ETF |
GET /commodities/symbols | Commodity references | XAUUSD |
GET /perpetuals/symbols | Perpetual contracts | XAUUSDT |
GET /futures/products | Futures CFD products with their chain and roll symbols | WTIUSD.C1 |
| Bonds | No list route: the Bonds page lists every CC:TENOR | US:10Y |
More in the Symbols reference.
Response conventions
- Null and optional fields
- Required fields are always present. Optional fields may be left out (for example
last_sizeon some snapshots); nullable fields are present asnullwhen no reliable figure exists at that moment. Individual fields may be optional depending on market conditions; see each route for response details. - 404 vs empty
- An unknown symbol or resource returns
404with a message; an empty list returns200with an empty array. - Rate limits
- Over a limit returns
429. See Rate limits. - Error shape
{ statusCode, message, error }on every REST error. See Errors.
Docs for AI agents
Every page here also reads as Markdown, for ChatGPT, Claude, Cursor or your own agent.
- Copy for AI
- On an endpoint it copies that endpoint; Copy page for AI at the top copies the whole page.
- Open .md
- Opens the same text as a file. Any docs URL works with
.mdadded, for example/docs/products/stocks.md, and so does a request withAccept: text/markdown. - llms.txt and MCP
llms.txtindexes the docs,llms-full.txtholds the full API reference in one file, and the MCP server gives agents the data itself.