Request
https://api.zapi.ink/v1/finance:investing/searchSend 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 2 minutes.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| q | string | query | Yes | Kata kunci pencarian instrumen/berita Example: apple |
| type | enum: all | quotes | news | articles | query | No | Bagian hasil yang dikembalikan (default all) Example: all |
Code examples
curl -X GET "https://api.zapi.ink/v1/finance:investing/search?q=apple&type=all" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/finance:investing/search?q=apple&type=all", { method: "GET", headers: { "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" }, }); const data = await res.json(); console.log(data);
import requests res = requests.get( "https://api.zapi.ink/v1/finance:investing/search", params={"q":"apple","type":"all"}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "finance:investing", "data": { "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" }, { "id": 4741023, "url": "https://www.investing.com/news/stock-market-news/mag-7-mangos-spacex-forces-name-rethink-on-wall-streets-techstock-moniker-4741023", "image": "https://i-invdn-com.investing.com/trkd-images/LYNXMPEM5C09W_L.jpg", "title": "Mag 7? MANGOS? SpaceX forces name rethink on Wall Street’s tech-stock moniker" }, { "id": 4739346, "url": "https://www.investing.com/news/economy-news/hedge-funds-sold-broader-tech-ahead-of-spacex-ipo-jpmorgan-data-shows-4739346", "image": "https://i-invdn-com.investing.com/trkd-images/LYNXMPEM5B0QU_L.jpg", "title": "Hedge funds sold broader tech ahead of SpaceX IPO, JPMorgan data shows" }, { "id": 4739803, "url": "https://www.investing.com/news/company-news/healthcare-triangle-closes-36m-convertible-note-offering-93CH-4739803", "image": "https://i-invdn-com.investing.com/news/LYNXNPEB6R0AQ_S.jpg", "title": "Healthcare Triangle closes $3.6M convertible note offering" }, { "id": 4741019, "url": "https://www.investing.com/news/company-news/tata-iphone-parts-plant-warned-over-wastewater-pollution--reuters-4741019", "image": "https://i-invdn-com.investing.com/news/moved_small-LYNXMPEK8O0ML_L.jpg", "title": "Tata iPhone parts plant warned over wastewater pollution - Reuters" } ], "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" }, { "url": "https://www.investing.com/crypto/bunny/apple-usd", "name": "dog with apple in mouth US Dollar", "type": "FX - XT.COM", "pairId": 1225435, "symbol": "APPLE/USD", "country": "dog_with_apple_in_mouth", "exchange": "XT.COM" }, { "url": "https://www.investing.com/equities/apple-computer-inc?cid=986251", "name": "Apple Inc", "type": "Stock - Switzerland", "pairId": 986251, "symbol": "AAPLUSD", "country": "Switzerland", "exchange": "Switzerland" }, { "url": "https://www.investing.com/equities/apple-computer-inc?cid=963008", "name": "Apple Inc", "type": "Stock - Xetra", "pairId": 963008, "symbol": "AAPL", "country": "Germany", "exchange": "Xetra" }, { "url": "https://www.investing.com/equities/apple-computer-inc?cid=993325", "name": "Apple Inc", "type": "Stock - Switzerland", "pairId": 993325, "symbol": "AAPL", "country": "Switzerland", "exchange": "Switzerland" }, { "url": "https://www.investing.com/equities/apple-computer-inc?cid=1202722", "name": "Apple Inc", "type": "Stock - London", "pairId": 1202722, "symbol": "0R2V", "country": "UK", "exchange": "London" }, { "url": "https://www.investing.com/equities/apple-hospitality-reit-inc", "name": "Apple Hospitality REIT Inc", "type": "Stock - NYSE", "pairId": 959642, "symbol": "APLE", "country": "USA", "exchange": "NYSE" }, { "url": "https://www.investing.com/etfs/aapy", "name": "Kurv Yield Premium Strategy Apple ETF", "type": "ETF - NYSE", "pairId": 1215129, "symbol": "AAPY", "country": "USA", "exchange": "NYSE" } ], "articles": [ { "id": 200182160, "url": "https://www.investing.com/analysis/aapl-(apr-11)-200182160", "title": "Apple Consolidates" }, { "id": 200282090, "url": "https://www.investing.com/analysis/apple-confusion-200282090", "title": "Apple Confusion" }, { "id": 200412540, "url": "https://www.investing.com/analysis/adams-apple-200412540", "title": "Adam’s Apple" }, { "id": 200367514, "url": "https://www.investing.com/analysis/apple-technicals-200367514", "title": "Apple Technicals" }, { "id": 260813, "url": "https://www.investing.com/analysis/rotten-apple-260813", "title": "Rotten Apple?" } ] }, "timestamp": "2026-06-14T07:37:04Z" }
Frequently asked questions
How do I call the Investing Search API?
Send a GET request to https://api.zapi.ink/v1/finance:investing/search?q=apple with your Zapi key in the x-api-key header. Parameters — required: q; optional: type. The response is JSON in the { project, data, timestamp } envelope.
What does the Investing Search API return?
Cari instrumen (saham/forex/crypto/komoditas) + berita. The example response has the fields news, query, quotes, articles. Each item in news has fields such as id, url, image, title.
Is the Investing Search 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 Search 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 "search".
What other Investing API endpoints are there?
It has 15 endpoints. Besides Search: Quote, Technical, Historical, News, Article, Calendar, and 8 more.
