zapi.
APIsPricingDocsMCP
APIsPricingDocsMCP
Sign in
zapi.
APIsPricingDocsMCP
APIsPricingDocsMCP
Sign in
Finance/Investing
Logo Investing

Investing

Data pasar finansial lengkap — quote saham/forex/crypto/komoditas, teknikal, OHLCV historis, berita, analisis, dan kalender ekonomi.

16 endpoints16 endpoints on this scraper69.6k calls69.6k calls so farupdated 3 months agoLast updated 6/14/2026, 7:37:04 AMBusy: 10+ calls so farllms.txt
Endpoints16

15/16 passing
checked 20 hours ago · daily 01:00 WIB

Search

Cari instrumen (saham/forex/crypto/komoditas) + berita.

GET/v1/finance:investing/search2m cache2 paramschecking key…
Parameters
qstringrequired

Kata kunci pencarian instrumen/berita

typeenum

Bagian hasil yang dikembalikan (default all)

·
Response
EXAMPLE
{
  "news": [
    {
      "id": 4741015,
      "url": "https://www.investing.com/news/stock-market-news/exclusivetatas-iphone-parts-factory-contaminated-farmland-water-india-pollution-body-alleges-4741015",
      "image": "https://i-invdn-com.investing.com/trkd-images/LYNXMPEM5C08U_L.jpg",
      "title": "Exclusive-Tata’s iPhone parts factory contaminated farmland water, India pollution body alleges"
    }
  ],
  "query": "apple",
  "quotes": [
    {
      "url": "https://www.investing.com/equities/apple-computer-inc",
      "name": "Apple Inc",
      "type": "Stock - NASDAQ",
      "pairId": 6408,
      "symbol": "AAPL",
      "country": "USA",
      "exchange": "NASDAQ"
    }
  ],
  "articles": [
    {
      "id": 200182160,
      "url": "https://www.investing.com/analysis/aapl-(apr-11)-200182160",
      "title": "Apple Consolidates"
    }
  ]
}

Code

Search
index.ts
// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";

const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });

const data = await client.run("finance:investing", "search", {
  "q": "apple",
  "type": "all"
});
console.log(data);
Recommended · typed errors, safe retries and bulk jobsSDK reference

Full reference

16 endpoints · plain text
GET
Search/v1/finance:investing/search
2 params

Cari instrumen (saham/forex/crypto/komoditas) + berita.

Parameters

qstringrequired
Kata kunci pencarian instrumen/berita
typeenumoptional
Bagian hasil yang dikembalikan (default all) Values: all, quotes, news, articles.

Request

curl -X GET "https://api.zapi.ink/v1/finance:investing/search?q=apple&type=all" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "news": [
    {
      "id": 4741015,
      "url": "https://www.investing.com/news/stock-market-news/exclusivetatas-iphone-parts-factory-contaminated-farmland-water-india-pollution-body-alleges-4741015",
      "image": "https://i-invdn-com.investing.com/trkd-images/LYNXMPEM5C08U_L.jpg",
      "title": "Exclusive-Tata’s iPhone parts factory contaminated farmland water, India pollution body alleges"
    }
  ],
  "query": "apple",
  "quotes": [
    {
      "url": "https://www.investing.com/equities/apple-computer-inc",
      "name": "Apple Inc",
      "type": "Stock - NASDAQ",
      "pairId": 6408,
      "symbol": "AAPL",
      "country": "USA",
      "exchange": "NASDAQ"
    }
  ],
  "articles": [
    {
      "id": 200182160,
      "url": "https://www.investing.com/analysis/aapl-(apr-11)-200182160",
      "title": "Apple Consolidates"
    }
  ]
}
GET
Quote/v1/finance:investing/quote
2 params

Quote real-time instrumen (harga, perubahan, range, PE, EPS, dividen).

Parameters

querystringrequired
Simbol atau nama instrumen (saham, index, crypto, forex, komoditas). Contoh: AAPL, bitcoin, EUR/USD
pairIdnumberoptional
Pair ID internal langsung (override pencarian). Kalau diisi, parameter query tidak dipakai untuk resolve.

Request

curl -X GET "https://api.zapi.ink/v1/finance:investing/quote?query=AAPL&pairId=6408" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "eps": 8.2491,
  "low": 289.62,
  "url": "https://www.investing.com/equities/apple-computer-inc",
  "beta": 1.06,
  "high": 297.14,
  "last": 291.13,
  "name": "Apple Inc",
  "open": 296.03,
  "type": "Stock - NASDAQ",
  "change": -4.5,
  "pairId": 6408,
  "symbol": "AAPL",
  "volume": 38784789,
  "peRatio": 35.22,
  "revenue": "451.44B",
  "dayRange": "289.62 - 297.14",
  "dividend": 1.08,
  "exchange": "NASDAQ",
  "provider": "investing",
  "avgVolume": 46507492,
  "marketCap": "4.28T",
  "week52Low": 195.07,
  "week52High": 317.4,
  "week52Range": "195.07 - 317.4",
  "changePercent": -1.52,
  "extendedHours": "After",
  "extendedPrice": 291.58,
  "lastTimestamp": 1781294399,
  "oneYearReturn": "48.2%",
  "previousClose": 295.63,
  "exchangeIsOpen": false,
  "extendedChange": 0.45,
  "nextEarningsDate": "2026-07-30",
  "technicalSummary": "Strong Sell",
  "dividendYieldPercent": 0.37
}
GET
Technical/v1/finance:investing/technical
3 params

Ringkasan analisis teknikal (MA, oscillator, pivot) per timeframe.

Parameters

querystringrequired
Symbol / company name to resolve (stock, index, crypto, forex, commodity).
pairIdnumberoptional
Optional numeric pair id override. Skips symbol resolution when provided.
timeframeenumoptional
Analysis timeframe. One of: 5m, 15m, 1h, 1d. Values: 5m, 15m, 1h, 1d.

Request

curl -X GET "https://api.zapi.ink/v1/finance:investing/technical?query=AAPL&pairId=6408&timeframe=1d" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "name": "Apple Inc",
  "pairId": 6408,
  "symbol": "AAPL",
  "summary": "SELL",
  "timeframe": "1d",
  "updatedAt": 1781294702,
  "indicators": [
    {
      "name": "RSI(14)",
      "value": 44.049,
      "action": "Sell"
    },
    {
      "name": "STOCH(9,6)",
      "value": 29.697,
      "action": "Sell"
    },
    {
      "name": "STOCHRSI(14)",
      "value": 3.783,
      "action": "Oversold"
    }
  ],
  "oscillators": {
    "buy": 1,
    "sell": 8,
    "signal": "red",
    "neutral": 2,
    "summary": "Strong Sell"
  },
  "pivotPoints": [
    {
      "level": "R3",
      "classic": 305.96,
      "fibonacci": 301.48
    },
    {
      "level": "R2",
      "classic": 301.48,
      "fibonacci": 298.65
    },
    {
      "level": "R1",
      "classic": 298.55,
      "fibonacci": 296.9
    }
  ],
  "summaryText": "Sell",
  "movingAverages": {
    "buy": 6,
    "sell": 6,
    "signal": "black",
    "summary": "Neutral"
  },
  "movingAverageDetails": [
    {
      "name": "MA5",
      "simple": 294.09,
      "exponential": 295.69,
      "simpleAction": "Sell",
      "exponentialAction": "Sell"
    },
    {
      "name": "MA10",
      "simple": 302.08,
      "exponential": 299.05,
      "simpleAction": "Sell",
      "exponentialAction": "Sell"
    },
    {
      "name": "MA20",
      "simple": 303.88,
      "exponential": 298.84,
      "simpleAction": "Sell",
      "exponentialAction": "Sell"
    }
  ]
}
GET
Historical/v1/finance:investing/historical
5 params

Data OHLCV historis (interval & periode fleksibel).

Parameters

querystringrequired
Symbol or name of the instrument to resolve (stock ticker, index, commodity, FX pair, crypto). Resolved to an internal id.
pairIdnumberoptional
Optional internal instrument id override. When provided, symbol resolution is skipped.
intervalenumoptional
Candle interval: 1m, 5m, 15m, 30m, 1h, 5h (intraday) or 1d, 1w, 1mo. Default 1d Values: 1m, 5m, 15m, 30m, 1h, 5h, 1d, 1w, 1mo.
periodenumoptional
Lookback range: 1d, 1w, 1mo, 3mo, 6mo, 1y, 5y, max. Default 1mo. The upstream re-aggregates rather than honouring the interval literally — 1y returns ~53 daily rows, 5y ~261. Use max for full-depth candles. Any single call returns at most 5000 rows. Values: 1d, 1w, 1mo, 3mo, 6mo, 1y, 5y, max.
pointscountnumberoptional
Candle density the upstream is asked for. Only 60, 70, 90, 110, 120, 140 and 160 are accepted. Default 120. It is not a row cap — the cap is 5000 rows per call and is driven by period

Request

curl -X GET "https://api.zapi.ink/v1/finance:investing/historical?query=AAPL&pairId=6408&interval=1d&period=1mo&pointscount=120" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "count": 22,
  "pairId": 6408,
  "period": "1mo",
  "symbol": "AAPL",
  "candles": [
    {
      "low": 293.5,
      "date": "2026-05-13T00:00:00.000Z",
      "high": 300.92,
      "open": 293.5,
      "close": 298.87,
      "volume": 52684260,
      "timestamp": 1778630400000
    },
    {
      "low": 295.38,
      "date": "2026-05-14T00:00:00.000Z",
      "high": 300.45,
      "open": 299.82,
      "close": 298.21,
      "volume": 35324920,
      "timestamp": 1778716800000
    },
    {
      "low": 296.52,
      "date": "2026-05-15T00:00:00.000Z",
      "high": 303.2,
      "open": 297.9,
      "close": 300.23,
      "volume": 54862836,
      "timestamp": 1778803200000
    }
  ],
  "interval": "1d"
}
GET
News/v1/finance:investing/news
3 params

Berita pasar terbaru / per-instrumen.

Parameters

querystringoptional
Simbol/kata kunci instrumen. Kosongkan untuk berita terbaru umum.
pagenumberoptional
Nomor halaman (default 1)
categorystringoptional
Filter kategori berita (opsional, hanya untuk feed umum)

Request

curl -X GET "https://api.zapi.ink/v1/finance:investing/news?query=apple&page=1&category=economy" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "page": 1,
  "count": 20,
  "items": [
    {
      "id": 4741066,
      "url": "https://www.investing.com/news/economy-news/uk-intercepts-russian-oil-tanker-linked-to-shadow-fleet-in-english-channel-4741066",
      "image": "https://i-invdn-com.investing.com/news/Shipping_800x533_L_1618572654.jpg",
      "title": "UK intercepts Russian oil tanker linked to shadow fleet in English Channel",
      "source": "Investing.com",
      "excerpt": "Investing.com -- British forces intercepted a Russian shadow fleet oil tanker attempting to transit the English Channel on Sunday,...",
      "category": "ECONOMY",
      "publishedAt": "2026-06-14T07:05:22.000Z"
    },
    {
      "id": 4741065,
      "url": "https://www.investing.com/news/economy-news/starmer-takaichi-to-discuss-fighter-jet-project-as-uk-funding-questions-persist-4741065",
      "image": "https://i-invdn-com.investing.com/news/moved_LYNXMPEK8O0VV_L.jpg",
      "title": "Starmer, Takaichi to discuss fighter jet project as UK funding questions persist",
      "source": "Investing.com",
      "excerpt": "Investing.com -- British Prime Minister Keir Starmer is set to meet Japanese Prime Minister Sanae Takaichi on Sunday as...",
      "category": "ECONOMY",
      "publishedAt": "2026-06-14T06:33:08.000Z"
    }
  ],
  "hasMore": true,
  "nextPage": 2
}
GET
Article/v1/finance:investing/article
2 params

Isi artikel berita lengkap (input id dari news).

Parameters

idstringoptional
ID artikel berita. Wajib jika url kosong.
urlstringoptional
URL artikel penuh (alternatif id).

Request

curl -X GET "https://api.zapi.ink/v1/finance:investing/article?id=4741065&url=https%3A%2F%2Fwww.investing.com%2Fnews%2Feconomy-news%2Fsome-article-4741065" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "id": 4741066,
  "url": "https://www.investing.com/news/economy-news/uk-intercepts-russian-oil-tanker-linked-to-shadow-fleet-in-english-channel-4741066",
  "image": "https://i-invdn-com.investing.com/news/Shipping_800x533_L_1618572654.jpg",
  "title": "UK intercepts Russian oil tanker linked to shadow fleet in English Channel",
  "author": "Simon Mugo",
  "source": "Investing.com",
  "authorUrl": "https://www.investing.com/members/contributors/277000282",
  "updatedAt": "2026-06-14T07:05:22Z",
  "relatedIds": [
    8833
  ],
  "contentText": "Investing.com -- British forces intercepted a Russian shadow fleet oil tanker attempting to transit the English Channel on Sunday, according to a statement from the UK Ministry of …",
  "publishedAt": "2026-06-14T07:05:22Z"
}
GET
Analysis/v1/finance:investing/analysis
3 params

Artikel analisis/opini per instrumen.

Parameters

querystringrequired
Simbol/nama instrumen (mis. AAPL, Tesla)
pairIdnumberoptional
Override pair ID internal (lewati resolusi simbol)
pagenumberoptional
Nomor halaman (default 1)

Request

curl -X GET "https://api.zapi.ink/v1/finance:investing/analysis?query=AAPL&pairId=&page=1" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "page": 1,
  "count": 10,
  "items": [
    {
      "url": "http://www.investing.com/analysis/spacex-guide-everything-you-need-to-know-about-the-biggest-ipo-in-history-200682043",
      "image": "https://d1-invdn-com.investing.com/company_logo/85038e5c6dc77e60512aa6c2ea4bd961.jpg",
      "title": "SpaceX Guide: Everything You Need to Know About the Biggest IPO in History",
      "author": "Thomas Monteiro",
      "excerpt": "SpaceX begins trading on Nasdaq today under the ticker SPCX, targeting a valuation of approximately $1.75 trillion and seeking to...",
      "articleId": 200682043,
      "publishedAt": "2026-06-12T18:02:17.000Z"
    },
    {
      "url": "http://www.investing.com/analysis/week-ahead-central-bank-decisions-us-retail-sales-and-japan-inflation-in-focus-200682072",
      "image": "https://d1-invdn-com.investing.com/company_logo/202cdce0d0cd64f29fca913a2c714f3a.jpg",
      "title": "Week Ahead: Central Bank Decisions, US Retail Sales, and Japan Inflation in Focus",
      "author": "Ryan Anderson",
      "excerpt": "\nMON: G7 Summit (15-17 Jun), German Wholesale Prices (May), Indian WPI (May), EZ Industrial Production (Apr), US Industrial...",
      "articleId": 200682072,
      "publishedAt": "2026-06-12T14:57:49.000Z"
    }
  ],
  "pairId": 6408,
  "symbol": "AAPL",
  "hasMore": true,
  "nextPage": 2
}
GET
Calendar/v1/finance:investing/calendar
3 params

Kalender ekonomi (filter negara/importance/rentang).

Parameters

countrystringoptional
Kode negara (US, EU, GB, JP, CN, ID, ...). Kosong = basket negara major utama
importanceenumoptional
Tingkat dampak event. Default all (semua tingkat) Values: all, high, medium, low.
rangeenumoptional
Rentang waktu: today, tomorrow, atau week (default today) Values: today, tomorrow, week.

Request

curl -X GET "https://api.zapi.ink/v1/finance:investing/calendar?country=US&importance=high&range=today" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "count": 87,
  "range": "week",
  "events": [
    {
      "date": "2026-06-15",
      "time": "08:30",
      "event": "NY Empire State Manufacturing Index  (Jun)",
      "country": "United States",
      "currency": "USD",
      "datetime": "2026/06/15 08:30:00",
      "forecast": "13.20",
      "previous": "19.60",
      "importance": 2
    },
    {
      "date": "2026-06-15",
      "time": "09:15",
      "event": "Capacity Utilization Rate  (May)",
      "country": "United States",
      "currency": "USD",
      "datetime": "2026/06/15 09:15:00",
      "forecast": "76.2%",
      "previous": "76.1%",
      "importance": 1
    },
    {
      "date": "2026-06-15",
      "time": "09:15",
      "event": "Industrial Production (YoY)  (May)",
      "country": "United States",
      "currency": "USD",
      "datetime": "2026/06/15 09:15:00",
      "previous": "1.35%",
      "importance": 2
    }
  ],
  "country": "US",
  "importance": "all"
}
GET
Market Table/v1/finance:investing/market-table
2 params

A whole market's live quote table in one call — FX majors with bid/ask, bonds, stocks, indices, commodities, index futures and ETFs.

Parameters

tableenumoptional
Which market table to pull. forex = 27 major/minor FX pairs with live bid and ask, commodities = metals, energy and agri futures, indices = world cash indices, index-futures = index futures, bonds = government bonds with coupon and price, stocks = headline equities with bid and ask, etf = major ETFs. Default forex Values: forex, commodities, indices, index-futures, bonds, stocks, etf.
namesenumoptional
Resolve instrument names and exchanges. The quote table itself carries no names, so this costs one extra lookup per instrument the process has not seen. Set false for the fastest possible price-only table. Default true Values: true, false.

Request

curl -X GET "https://api.zapi.ink/v1/finance:investing/market-table?table=forex&names=true" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "count": 27,
  "items": [
    {
      "ask": 1.1571,
      "bid": 1.1569,
      "low": 1.1526,
      "high": 1.1586,
      "last": 1.157,
      "name": "EUR/USD",
      "open": 1.1529,
      "type": "Currency",
      "change": 0.0041,
      "lastAt": "2026-08-14T20:58:58.000Z",
      "pairId": 1,
      "symbol": "EUR/USD",
      "volume": 0,
      "dayRange": "1.1526 - 1.1586",
      "exchange": "Real-time Currencies",
      "avgVolume": 0,
      "week52Low": 1.1325,
      "week52High": 1.2079,
      "week52Range": "1.1325 - 1.2079",
      "changePercent": 0.36,
      "lastTimestamp": 1786741138,
      "previousClose": 1.1529,
      "exchangeIsOpen": false,
      "turnoverVolume": 0,
      "technicalSummary": "Strong Buy"
    }
  ],
  "table": "forex",
  "provider": "investing",
  "namedCount": 27
}
GET
Earnings Calendar/v1/finance:investing/earnings-calendar
3 params

Every company reporting on a given day, with EPS actual, forecast and previous, revenue and market cap.

Parameters

rangeenumoptional
Which reporting day to list. The upstream publishes exactly these three days and no others. Default today Values: yesterday, today, tomorrow.
importanceenumoptional
Filter by the upstream's own importance rating: low = 1, medium = 2, high = 3. Default all Values: all, high, medium, low.
symbolstringoptional
Keep only rows whose ticker or company name contains this text

Request

curl -X GET "https://api.zapi.ink/v1/finance:investing/earnings-calendar?range=today&importance=all&symbol=AAPL" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "date": "2026-08-17",
  "count": 197,
  "items": [
    {
      "date": "2026-08-17",
      "pairId": 23647,
      "symbol": "BHP",
      "company": "BHP Group Ltd ADR",
      "country": "United States",
      "countryId": 5,
      "marketCap": "220.87B",
      "shortName": "BHP Group Ltd ADR",
      "timestamp": 1786924800,
      "importance": 1,
      "epsForecast": 2.91,
      "marketPhase": "during-market",
      "parentPairId": 23647,
      "reportPeriod": "06/2026",
      "relatedPairId": 23647,
      "marketCapValue": 220870000000
    },
    {
      "eps": 0.24,
      "date": "2026-08-17",
      "pairId": 1220872,
      "symbol": "GMBXF",
      "company": "Grupo Mexico, S.A.B. De C.V.",
      "country": "United States",
      "revenue": "5.72B",
      "countryId": 5,
      "marketCap": "99.6B",
      "shortName": "Grupo Mexico",
      "timestamp": 1786924800,
      "importance": 1,
      "epsForecast": 0.2149,
      "epsPrevious": 0.21,
      "parentPairId": 27109,
      "reportPeriod": "06/2026",
      "relatedPairId": 1220872,
      "marketCapValue": 99600000000,
      "revenueForecast": "5.63B"
    }
  ],
  "range": "tomorrow",
  "total": 197,
  "provider": "investing",
  "importance": "all"
}
GET
Economic Calendar/v1/finance:investing/economic-calendar
4 params

Scheduled macro releases with actual, forecast and previous values, plus the revision history.

Parameters

rangeenumoptional
Which window to list. The upstream publishes exactly these four and ignores any explicit date. week is the current Sunday-to-Saturday week. Default today Values: yesterday, today, tomorrow, week.
countrystringoptional
Keep only events for this country. Accepts US, EU, GB, JP, CN, DE, FR, CA, AU, CH, IT, ES, ID, IN, BR, RU, KR, HK, SG, NZ, MX, ZA, TR, SA. Omit for every country
importanceenumoptional
Expected volatility of the release. Default all Values: all, high, medium, low.
namesenumoptional
Resolve event names, countries and currencies from the web calendar. Costs one extra request per 200 events. Set false for ids and values only. Default true Values: true, false.

Request

curl -X GET "https://api.zapi.ink/v1/finance:investing/economic-calendar?range=today&country=US&importance=high&names=true" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "count": 9,
  "items": [
    {
      "url": "https://www.investing.com/economic-calendar/gdp-119",
      "date": "2026-08-16",
      "time": "23:50",
      "event": "GDP (QoQ) (Q2)",
      "rowId": 554256,
      "period": "q2",
      "country": "Japan",
      "currency": "JPY",
      "datetime": "2026-08-16T23:50:00.000Z",
      "forecast": "0.5%",
      "previous": "0.5%",
      "countryId": 35,
      "direction": "neutral",
      "timestamp": 1786924200,
      "updatedAt": "2026-08-15T19:09:25Z",
      "importance": 3,
      "volatility": "High Volatility Expected",
      "eventAttrId": 119,
      "preliminary": true,
      "relatedArticleId": 0
    },
    {
      "url": "https://www.investing.com/economic-calendar/cpi-67",
      "date": "2026-08-19",
      "time": "06:00",
      "event": "CPI (YoY) (Jul)",
      "rowId": 554444,
      "period": "jul",
      "country": "United Kingdom",
      "currency": "GBP",
      "datetime": "2026-08-19T06:00:00.000Z",
      "forecast": "2.5%",
      "previous": "2.6%",
      "countryId": 4,
      "direction": "neutral",
      "timestamp": 1787119200,
      "updatedAt": "2026-08-15T19:09:24Z",
      "importance": 3,
      "volatility": "High Volatility Expected",
      "eventAttrId": 67,
      "relatedArticleId": 0
    }
  ],
  "range": "week",
  "total": 252,
  "dateTo": "2026-08-21",
  "dateFrom": "2026-08-16",
  "provider": "investing",
  "importance": "high",
  "namedCount": 9
}
GET
Market Holidays/v1/finance:investing/market-holidays
2 params

Which exchanges are shut on a given range, and which close early.

Parameters

rangeenumoptional
Which window to list. The upstream publishes exactly these four and ignores any explicit date. week is the current Sunday-to-Saturday week. Default week Values: yesterday, today, tomorrow, week.
countrystringoptional
Keep only holidays for this country. Accepts the three-letter code the upstream uses (JPN, USA, GBR, DEU, ZAF, ...) or the country name

Request

curl -X GET "https://api.zapi.ink/v1/finance:investing/market-holidays?range=week&country=JPN" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "count": 0,
  "items": [],
  "range": "week",
  "total": 2,
  "country": "JPN",
  "provider": "investing"
}
GET
Indicator History/v1/finance:investing/indicator-history
4 params

The full published history of one macro indicator, back to its first print.

Parameters

eventAttrIdnumberrequired
The indicator's stable id, as returned in eventAttrId by the economic-calendar endpoint
countrystringoptional
Two-letter code of the country that publishes the indicator, as used in its own chart path. It must match the event's country — the same id under another country is a 404. Default us
countnumberoptional
Keep only the most recent N prints. Omit for the whole series
orderenumoptional
asc = oldest print first, desc = newest first. Default asc Values: asc, desc.

Request

curl -X GET "https://api.zapi.ink/v1/finance:investing/indicator-history?eventAttrId=56&country=us&count=120&order=asc" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "count": 120,
  "items": [
    {
      "date": "2016-07-15T12:30:00.000Z",
      "actual": 0.2,
      "forecast": 0.2,
      "timestamp": 1468585800000,
      "actualState": "neutral",
      "actualFormatted": "0.2%",
      "forecastFormatted": "0.2%"
    },
    {
      "date": "2016-08-16T12:30:00.000Z",
      "actual": 0.1,
      "forecast": 0.2,
      "timestamp": 1471350600000,
      "actualState": "down",
      "actualFormatted": "0.1%",
      "forecastFormatted": "0.2%"
    },
    {
      "date": "2016-09-16T12:30:00.000Z",
      "actual": 0.3,
      "forecast": 0.2,
      "timestamp": 1474029000000,
      "actualState": "up",
      "actualFormatted": "0.3%",
      "forecastFormatted": "0.2%"
    }
  ],
  "total": 678,
  "country": "us",
  "provider": "investing",
  "lastPrint": "2026-08-12T12:30:00.000Z",
  "firstPrint": "1970-01-01T09:00:00.000Z",
  "eventAttrId": 56
}
GET
Financials/v1/finance:investing/financials
4 params

Income statement, balance sheet and cash flow for a listed company — quarterly and annual.

Parameters

querystringoptional
Ticker or company name to resolve. Ignored when pairId is given
pairIdnumberoptional
Internal instrument id, which skips symbol resolution
periodenumoptional
Which period length to return. Default both Values: quarterly, annual, both.
statementenumoptional
Which statement to return: income statement, balance sheet, cash flow, or all three. Default all Values: all, income, balance, cashflow.

Request

curl -X GET "https://api.zapi.ink/v1/finance:investing/financials?query=AAPL&pairId=6408&period=both&statement=all" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "count": 24,
  "pairId": 6408,
  "period": "both",
  "symbol": "AAPL",
  "summary": "Apple Inc. reported earnings results for the third quarter and nine months ended June 27, 2026. For the third quarter, the company reported revenue was USD 109,417 million compared…",
  "provider": "investing",
  "statement": "all",
  "statements": {
    "annual": {
      "income": [
        {
          "date": "Sep 27, 2025",
          "netIncome": 112010,
          "periodEnd": "2025-09-27",
          "timestamp": 1758931200,
          "grossProfit": 195201,
          "totalRevenue": 416161,
          "operationIncome": 133050
        }
      ],
      "balance": [
        {
          "date": "Sep 27, 2025",
          "periodEnd": "2025-09-27",
          "timestamp": 1758931200,
          "totalAssets": 359241,
          "totalEquity": 73733,
          "totalLiabilities": 285508
        }
      ],
      "cashflow": [
        {
          "date": "Sep 27, 2025",
          "financing": -120686,
          "investing": 15195,
          "netChange": 5991,
          "operating": 111482,
          "periodEnd": "2025-09-27",
          "timestamp": 1758931200
        }
      ]
    },
    "quarterly": {
      "income": [
        {
          "date": "Jun 27, 2026",
          "netIncome": 29789,
          "periodEnd": "2026-06-27",
          "timestamp": 1782518400,
          "grossProfit": 54770,
          "totalRevenue": 109417,
          "operationIncome": 35695
        }
      ],
      "balance": [
        {
          "date": "Jun 27, 2026",
          "periodEnd": "2026-06-27",
          "timestamp": 1782518400,
          "totalAssets": 383266,
          "totalEquity": 107520,
          "totalLiabilities": 275746
        }
      ],
      "cashflow": [
        {
          "date": "Jun 27, 2026",
          "financing": -32640,
          "investing": -7757,
          "netChange": -6028,
          "operating": 34369,
          "periodEnd": "2026-06-27",
          "timestamp": 1782518400
        }
      ]
    }
  }
}
GET
Dividends Calendar/v1/finance:investing/dividends-calendar
3 params

Who goes ex-dividend on which day, how much, and when it pays.

Parameters

countrystringoptional
Listing country. Accepts US, EU, GB, JP, CN, DE, FR, CA, AU, CH, IT, ES, ID, IN, BR, RU, KR, HK, SG, NZ, MX, ZA, TR, SA. Default US
dateFromstringoptional
First ex-dividend date to include, YYYY-MM-DD. Defaults to today
dateTostringoptional
Last ex-dividend date to include, YYYY-MM-DD. Defaults to seven days after dateFrom. At most 31 days apart

Request

curl -X GET "https://api.zapi.ink/v1/finance:investing/dividends-calendar?country=US&dateFrom=2026-08-12&dateTo=2026-08-19" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "count": 381,
  "items": [
    {
      "url": "https://www.investing.com/equities/target-dividends",
      "exDate": "2026-08-12",
      "symbol": "TGT",
      "company": "Target Corporation",
      "country": "United States",
      "payDate": "2026-09-01",
      "dividend": 1.16,
      "frequency": "Quarterly",
      "shortName": "Target",
      "payTimestamp": 1788220800,
      "yieldPercent": 3.05
    },
    {
      "url": "https://www.investing.com/equities/singapore-airlines-ltd-dividends",
      "exDate": "2026-08-12",
      "symbol": "SINGY",
      "company": "Singapore Airlines Ltd",
      "country": "United States",
      "payDate": "2026-09-17",
      "dividend": 0.276621,
      "frequency": "Semi-Annual",
      "shortName": "Singapore Airlines",
      "payTimestamp": 1789603200,
      "yieldPercent": 4.02
    },
    {
      "url": "https://www.investing.com/equities/singapore-airlines-ltd-dividends",
      "exDate": "2026-08-12",
      "symbol": "SINGY",
      "company": "Singapore Airlines Ltd",
      "country": "United States",
      "payDate": "2026-09-17",
      "dividend": 0.086613,
      "frequency": "Semi-Annual",
      "shortName": "Singapore Airlines",
      "payTimestamp": 1789603200,
      "yieldPercent": 4.02
    }
  ],
  "total": 381,
  "dateTo": "2026-08-19",
  "country": "US",
  "dateFrom": "2026-08-12",
  "provider": "investing"
}
GET
FX Cross Rates/v1/finance:investing/fx-cross-rates
2 params

The cross-rate grid, flattened into one row per currency pair.

Parameters

basestringoptional
Keep only rows quoting this base currency, as a three-letter code. Omit for the whole grid
quotestringoptional
Keep only the counter currency, as a three-letter code. Omit for every counter currency

Request

curl -X GET "https://api.zapi.ink/v1/finance:investing/fx-cross-rates?base=USD&quote=JPY" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "base": "USD",
  "count": 1,
  "items": [
    {
      "base": "USD",
      "rate": 159.32,
      "quote": "JPY",
      "pairId": 3,
      "symbol": "USD/JPY"
    }
  ],
  "quote": "JPY",
  "total": 42,
  "provider": "investing",
  "currencies": [
    "AUD",
    "CAD",
    "CHF",
    "EUR",
    "GBP",
    "JPY"
  ]
}

Related APIs

More in finance

Pluang

financepluang

Data pasar Pluang lintas aset: order book, running trade, tradebook dan ringkasan broker per saham IDX, plus saham Amerika, emas, kripto, sinyal analis dan berita.

1.7M1.7M calls so far1dResponses cached for 1d
Busy: 10+ calls so far

IDX (Bursa Efek Indonesia)

financeidx

Data Bursa Efek Indonesia: ringkasan saham & indeks, top movers, broker, emiten, laporan keuangan, berita, dan passthrough ke ratusan endpoint /primary/.

756.2K756.2K calls so far1dResponses cached for 1d
Busy: 10+ calls so far

TradingView

financetradingview

Screener, charts, technical indicators, fundamentals, news and the macro calendar across 16 markets — Indonesian equities, US equities, crypto, forex and futures.

341.4K341.4K calls so far1dResponses cached for 1d
Busy: 10+ calls so far

Stockbit

financestockbit

Data saham IDX dari Stockbit: harga, chart intraday, profil emiten, diskusi komunitas, dan kamus investasi.

115.5K115.5K calls so far1dResponses cached for 1d
Busy: 10+ calls so far

Binance Futures

financebinance-futures

USD-M perpetual futures market data: funding, premium index, open interest, long/short ratios, candles and depth.

40.3K40.3K calls so far10mResponses cached for 10m
Busy: 10+ calls so far

Yahoo Finance

financeyahoo-finance

Global quotes, fundamentals, statements, options, earnings, ownership and analyst coverage. Jakarta listings via the .JK suffix.

32.4K32.4K calls so far5mResponses cached for 5m
Busy: 10+ calls so far
zapi.

One key, one response shape. We keep the scrapers working.

Get an API key
ProductBrowse APIsPricingDocsMCP server
DevelopersSDK on npmGitHubOpenAPI specllms.txt
SupportReport an issueDiscord
LegalTermsPrivacyCookiesAUPRefunds
© 2026 ZapiPublic web data, one API.
zapi.