Sources › Finance › Histdata › List Instruments

Histdata List Instruments API

Every instrument HistData publishes, with the month its history starts.

HistdataGET /list-instrumentsAll plans1 Zap

Request

GET
https://api.zapi.ink/v1/finance:histdata/list-instruments

Send your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 1 day.

Parameters

NameTypeInRequiredDescription
timeframeenum: m1 | tickqueryNoWhich index to read: m1 (1-minute bars) or tick. Default m1. Example: m1
querystringqueryNoFilter by instrument code or display name, case-insensitive. Example: xau
pagenumberqueryNoPage of instruments. Default 1. Example: 1
limitnumberqueryNoInstruments per page. Default 50, max 100. Example: 50

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/finance:histdata/list-instruments?timeframe=m1&query=xau&page=1&limit=50" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/finance:histdata/list-instruments?timeframe=m1&query=xau&page=1&limit=50", {
  method: "GET",
  headers: {
    "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
  },
});
const data = await res.json();
console.log(data);
Python
import requests

res = requests.get(
    "https://api.zapi.ink/v1/finance:histdata/list-instruments",
    params={"timeframe":"m1","query":"xau","page":"1","limit":"50"},
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Example response

200 OK · application/json
{
  "project": "finance:histdata",
  "data": {
    "page": 1,
    "count": 50,
    "items": [
      {
        "name": "EUR/USD",
        "pair": "EURUSD",
        "startsAt": "2000-05",
        "startYear": 2000,
        "startMonth": 5
      },
      {
        "name": "EUR/CHF",
        "pair": "EURCHF",
        "startsAt": "2002-03",
        "startYear": 2002,
        "startMonth": 3
      },
      {
        "name": "EUR/GBP",
        "pair": "EURGBP",
        "startsAt": "2002-03",
        "startYear": 2002,
        "startMonth": 3
      },
      {
        "name": "EUR/JPY",
        "pair": "EURJPY",
        "startsAt": "2002-03",
        "startYear": 2002,
        "startMonth": 3
      },
      {
        "name": "EUR/AUD",
        "pair": "EURAUD",
        "startsAt": "2002-08",
        "startYear": 2002,
        "startMonth": 8
      },
      {
        "name": "USD/CAD",
        "pair": "USDCAD",
        "startsAt": "2000-06",
        "startYear": 2000,
        "startMonth": 6
      },
      {
        "name": "USD/CHF",
        "pair": "USDCHF",
        "startsAt": "2000-05",
        "startYear": 2000,
        "startMonth": 5
      },
      {
        "name": "USD/JPY",
        "pair": "USDJPY",
        "startsAt": "2000-05",
        "startYear": 2000,
        "startMonth": 5
      }
    ],
    "query": null,
    "total": 66,
    "dataset": "instruments",
    "hasMore": true,
    "nextPage": 2,
    "provider": "histdata",
    "timeframe": "m1"
  },
  "timestamp": "2026-08-21T02:23:28Z"
}

Frequently asked questions

How do I call the Histdata List Instruments API?

Send a GET request to https://api.zapi.ink/v1/finance:histdata/list-instruments with your Zapi key in the x-api-key header. Parameters — optional: timeframe, query, page, limit. The response is JSON in the { project, data, timestamp } envelope.

What does the Histdata List Instruments API return?

Every instrument HistData publishes, with the month its history starts. The example response has the fields page, count, items, query, total, dataset, hasMore, nextPage. Each item in items has fields such as name, pair, startsAt, startYear, startMonth.

Is the Histdata List Instruments API free?

Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.

Can an AI assistant call the Histdata List Instruments API?

Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "histdata" and endpoint "list-instruments".

What other Histdata API endpoints are there?

It has 5 endpoints. Besides List Instruments: Coverage, Gap Report, Download M1, Download Tick.