Deterministic quotes and daily OHLCV candles for fictional tickers in USD, New York market hours, batch quotes and a 5-per-minute history limit that answers 429 with Retry-After. Not market data.
Base URL: https://funapi.dev/api/stocks/v1 · 5 endpoints · OpenAPI 3.1 spec and Postman collection available. New here? Read the getting started guide.
symbols and hours
GET /stocks/v1/symbols — Fictional tickers you can query · Responds with 200 Link to this endpointGET /stocks/v1/market-status — Open or closed, by New York trading hours · Responds with 200 Link to this endpointlatest prices
GET /stocks/v1/quote/{symbol} — Latest quote — deterministic per minute · Responds with 200 404 Link to this endpointGET /stocks/v1/quotes — Batch quotes for up to 10 symbols · Responds with 200 400 Link to this endpointdaily candles
GET /stocks/v1/history/{symbol} — Daily OHLCV candles — limited to 5 requests a minute, like a free tier · Responds with 200 400 404 429 Link to this endpointThe Stock Market Mock API serves fictional tickers with quotes, daily OHLCV candles and New York market hours, deterministically: the same minute gives the same price and the same day gives the same candle, so a chart or a portfolio test can assert exact numbers. The history endpoint allows five requests a minute and answers the sixth with 429 and Retry-After — the free-tier limit most real market-data APIs impose.
GET https://funapi.dev/api/stocks/v1/symbols — Fictional tickers you can query. No token, no signup:
curl -i https://funapi.dev/api/stocks/v1/symbols
Response: 200 OK
{
"data": [
{
"symbol": "ZACM",
"name": "Acme Widgets (fictional)",
"sector": "industrials",
"exchange": "MOCK",
"currency": "USD"
},
{
"symbol": "ZBLU",
"name": "Bluefin Cloud (fictional)",
"sector": "technology",
"exchange": "MOCK",
"currency": "USD"
},
{
"symbol": "ZQAT",
"name": "QA Tooling Co (fictional)",
"sector": "technology",
"exchange": "MOCK",
"currency": "USD"
},
{
"symbol": "ZNOV",
"name": "Nova Pharma (fictional)",
"sector": "healthcare",
"exchange": "MOCK",
"currency": "USD"
},
{
"symbol": "ZPIX",
"name": "Pixel Foods (fictional)",
"sector": "consumer",
"exchange": "MOCK",
"currency": "USD"
},
{
"symbol": "ZGRD",
"name": "Gridline Energy (fictional)",
"sector": "energy",
"exchange": "MOCK",
"currency": "USD"
}
],
"note": "Fictional companies and prices for testing; not market data."
}
Last updated