Stock Market Mock API

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.

reference

symbols and hours

quotes

latest prices

history

daily candles

The 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.

What you can practise here

Example request and response

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."
}

Open and run this endpoint

All 55 mock REST APIs

Use this response elsewhere

Last updated