zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
On this page
  • Playground
  • Code examples
  • Full reference
  • Related APIs
Finance/Investing
Logo Investing

Investing

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

Endpoints
16
Requests
43.8k
Updated
3 months ago
For LLMs
llms.txt
Endpoint health21 hours ago
  • searchpassing, 0.3s
  • quoteslow, 0.4s
  • technicalpassing, 0.1s
  • historicalpassing, 0.1s
  • newspassing, 0.3s
+ 11 more endpointsShow less
  • articlepassing, 0.8s
  • analysispassing, 0.3s
  • calendarpassing, 0.2s
  • market-tablepassing, 0.3s
  • earnings-calendarfailed the last check
  • economic-calendarpassing, 0.7s
  • market-holidayspassing, 0.1s
  • indicator-historypassing, 0.3s
  • financialspassing, 0.1s
  • dividends-calendarpassing, 3.3s
  • fx-cross-ratespassing, 0.3s
15/16 passingdaily 01:00 WIB

Playground

16 endpoints
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 examples

Search
zpi-sdkrecommended
// 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);
Full SDK reference →
request.sh
curl -X GET "https://api.zpi.web.id/v1/finance:investing/search?q=apple&type=all" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Full reference

16 endpoints · plain text
GETSearch/v1/finance:investing/searchCari 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.zpi.web.id/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"
    }
  ]
}
GETQuote/v1/finance:investing/quoteQuote 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.zpi.web.id/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
}
GETTechnical/v1/finance:investing/technicalRingkasan 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.zpi.web.id/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"
    }
  ]
}
GETHistorical/v1/finance:investing/historicalData 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.zpi.web.id/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"
}
GETNews/v1/finance:investing/newsBerita 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.zpi.web.id/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
}
GETArticle/v1/finance:investing/articleIsi 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.zpi.web.id/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"
}
GETAnalysis/v1/finance:investing/analysisArtikel 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.zpi.web.id/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
}
GETCalendar/v1/finance:investing/calendarKalender 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.zpi.web.id/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"
}
GETMarket Table/v1/finance:investing/market-tableA 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.zpi.web.id/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
}
GETEarnings Calendar/v1/finance:investing/earnings-calendarEvery 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.zpi.web.id/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"
}
GETEconomic Calendar/v1/finance:investing/economic-calendarScheduled 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.zpi.web.id/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
}
GETMarket Holidays/v1/finance:investing/market-holidaysWhich 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.zpi.web.id/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"
}
GETIndicator History/v1/finance:investing/indicator-historyThe 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.zpi.web.id/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
}
GETFinancials/v1/finance:investing/financialsIncome 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.zpi.web.id/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
        }
      ]
    }
  }
}
GETDividends Calendar/v1/finance:investing/dividends-calendarWho 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.zpi.web.id/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"
}
GETFX Cross Rates/v1/finance:investing/fx-cross-ratesThe 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.zpi.web.id/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

finance/pluang

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.

1M calls·1d cache

IDX (Bursa Efek Indonesia)

finance/idx

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

441.7K calls·1d cache

TradingView

finance/tradingview

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

205.3K calls·1d cache

Stockbit

finance/stockbit

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

95.2K calls·1d cache

Bybit

finance/bybit

Bybit v5 market data: candles, 5-minute open interest and account ratios with cursor pagination, funding history and instrument specs.

22.3K calls·10m cache

Binance Futures

finance/binance-futures

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

34.8K calls·10m cache
Browse APIsPricingDocsMCP serverGet an API key
zapi.One key, one response shape.
TermsPrivacyCookiesAUPRefunds© 2026