Database coverage#
/v1/metano authWhat the market database covers: first and last session, row counts, how many symbols, and whether the latest session has published yet.
Response fields
first_datestringThe earliest session with bar data, YYYY-MM-DD.
last_datestringThe most recent session loaded. Scans, stats and alerts answer as of this day unless asked otherwise. To judge freshness, read data_stale rather than comparing this with today — it already knows the market's calendar.
data_stalebooleanThe session that should have published has not arrived. NSE closes at 15:30 IST and the daily data lands during the evening, so this turns true after 17:00 IST on a trading day whose session is still missing, and false again when it loads. Weekends never raise it, and neither do the market holidays we have been told about.
bar_rowsnumberOHLCV rows in the database, across all symbols and history.
metric_rowsnumberRows of derived per-session metrics — returns, RSI, moving averages and the rest of the column vocabulary.
symbol_countnumberInstruments in the database.
metric_yearsnumberHow many years back the derived metrics reach. Bars go back further — to first_date — but scans need metrics, so this is the scannable window.
curl -s "https://api-dev.patternsradar.com/v1/meta"{
"first_date": "1995-01-02",
"last_date": "2026-08-14",
"bar_rows": 14162010,
"metric_rows": 5834290,
"symbol_count": 2412,
"metric_years": 10,
"data_stale": false
}{
"type": "https://dev.patternsradar.com/docs/api/errors#rate_limited",
"title": "too many requests",
"status": 429,
"detail": "too many requests — slow down or upgrade your plan",
"instance": "/v1/meta",
"code": "rate_limited",
"request_id": "6d0b7f3a9c214e08"
}