Sources › Finance › Investing › Quote

Investing Quote API

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

InvestingGET /quoteAll plans1 Zap

Request

GET
https://api.zapi.ink/v1/finance:investing/quote

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 30 seconds.

Parameters

NameTypeInRequiredDescription
querystringqueryYesSimbol atau nama instrumen (saham, index, crypto, forex, komoditas). Contoh: AAPL, bitcoin, EUR/USD Example: AAPL
pairIdnumberqueryNoPair ID internal langsung (override pencarian). Kalau diisi, parameter `query` tidak dipakai untuk resolve. Example: 6408

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/finance:investing/quote?query=AAPL&pairId=6408" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/finance:investing/quote?query=AAPL&pairId=6408", {
  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:investing/quote",
    params={"query":"AAPL","pairId":"6408"},
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Example response

200 OK · application/json
{
  "project": "finance:investing",
  "data": {
    "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
  },
  "timestamp": "2026-06-14T07:37:04Z"
}

Frequently asked questions

How do I call the Investing Quote API?

Send a GET request to https://api.zapi.ink/v1/finance:investing/quote?query=AAPL with your Zapi key in the x-api-key header. Parameters — required: query; optional: pairId. The response is JSON in the { project, data, timestamp } envelope.

What does the Investing Quote API return?

Quote real-time instrumen (harga, perubahan, range, PE, EPS, dividen). The example response has the fields eps, low, url, beta, high, last, name, open.

Is the Investing Quote 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 Investing Quote 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 "investing" and endpoint "quote".

What other Investing API endpoints are there?

It has 15 endpoints. Besides Quote: Search, Technical, Historical, News, Article, Calendar, and 8 more.