Common Parameters

The parameters that mean the same everywhere

ticker, timeframe, date, limit and offset work the same on every endpoint that takes them. This asks for AAPL's weekly row as of 2024-06-28:

curl "https://api.tickerdb.com/v1/summary/AAPL?timeframe=weekly&date=2024-06-28" \ -H "Authorization: Bearer YOUR_API_KEY"

2024-06-28 is a Friday and weekly rows are dated Sundays, so the answer is the row of Sunday 2024-06-23, and the response says so.

ticker

The symbol: AAPL, SPY, BTCUSD. Not case sensitive. Crypto symbols end in USD: BTCUSD, ETHUSD, SOLUSD. An unknown symbol is a 404 ticker_not_found.

timeframe

daily or weekly. Without it you get daily. Every plan reads both.

date

A real calendar date, YYYY-MM-DD. Without it you get the newest data.

Daily rows exist only on trading days, and weekly rows only on Sundays, so most dates have no row of their own. A date is answered with the newest row on or before it, and the response says which date it read. It looks back at most 10 days for daily and 14 for weekly. If nothing is in reach, the answer is 404 no_data.

The earliest date you can ask for depends on your plan (Plans). An earlier date is a 403 tier_restricted, and history_start on Account tells you yours.

limit and offset

limit is how many results you get, and offset how many to skip, for paging. The default and the most you can ask for are on each endpoint's page. A limit outside that range is a 400 invalid_parameter that says the maximum.

Asset classes

Every asset is a stock, an etf or crypto. Fundamentals, analyst data and insider data are for stocks; a section with no data for an asset is left out of its response. Summary marks the sections that are stocks only. To pick an asset class, use asset_class on Universe and History, or a filter on the asset_class field in Search.

Preliminary and final rows

A daily row for stocks and ETFs comes out preliminary soon after the close and turns final (eod) overnight. data_status on Summary and OHLCV says which one you have, and it's a field you can ask for in Search and Universe. Status has the release times.