Request
https://api.zapi.ink/v1/finance:goldprice/newsSend 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 5 minutes.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| page | number | query | No | Nomor halaman, default 1 |
| count | number | query | No | Item per halaman, default 20 (max 50) |
| category | string | query | No | Filter opsional (keyword pada judul/slug, mis. 'fed' atau 'inflation') |
Code examples
curl -X GET "https://api.zapi.ink/v1/finance:goldprice/news?page=&count=&category=" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/finance:goldprice/news?page=&count=&category=", { 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:goldprice/news", params={"page":"","count":"","category":""}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "finance:goldprice", "data": { "page": 1, "count": 5, "items": [ { "url": "https://goldprice.org/news/gold-pulls-back-inflation-pressure-reprices-fed-path", "slug": "gold-pulls-back-inflation-pressure-reprices-fed-path", "image": "https://goldprice.org/sites/default/files/styles/blog_hero_375/public/blog_hero_images/Gold-Price-Recap1_6.jpg?itok=rvvHfSPF", "title": "Gold Pulls Back as Inflation Pressure Reprices the Fed Path", "author": "Matthew Bolden", "publishedAt": "2026-06-12T14:31:49-04:00" }, { "url": "https://goldprice.org/news/jobs-shock-knocks-gold-below-4400-fed-cut-hopes-fade", "slug": "jobs-shock-knocks-gold-below-4400-fed-cut-hopes-fade", "image": "https://goldprice.org/sites/default/files/styles/blog_hero_375/public/blog_hero_images/Gold-Price-Recap1_5.jpg?itok=hGQiYGdB", "title": "Jobs Shock Knocks Gold Below $4,400 as Fed Cut Hopes Fade", "author": "Matthew Bolden", "publishedAt": "2026-06-05T13:42:18-04:00" }, { "url": "https://goldprice.org/news/de-escalation-headlines-weigh-on-gold-ahead-of-memorial-day", "slug": "de-escalation-headlines-weigh-on-gold-ahead-of-memorial-day", "image": "https://goldprice.org/sites/default/files/styles/blog_hero_375/public/blog_hero_images/Gold-Price-Recap%20%281%29_12.jpg?itok=fYRM7OWK", "title": "De-Escalation Headlines Weigh on Gold Ahead of Memorial Day", "author": "Matthew Bolden", "publishedAt": "2026-05-22T15:47:47-04:00" }, { "url": "https://goldprice.org/news/gold-falls-toward-4550-fed-cut-hopes-fade", "slug": "gold-falls-toward-4550-fed-cut-hopes-fade", "image": "https://goldprice.org/sites/default/files/styles/blog_hero_375/public/blog_hero_images/Gold-Price-Recap%20%281%29_11.jpg?itok=NO3uEVUh", "title": "Gold Falls Toward $4,550 as Fed-Cut Hopes Fade", "author": "Matthew Bolden", "publishedAt": "2026-05-15T16:11:03-04:00" }, { "url": "https://goldprice.org/news/gold-rallies-iran-peace-hopes-ease-yields-and-dollar-pressure", "slug": "gold-rallies-iran-peace-hopes-ease-yields-and-dollar-pressure", "image": "https://goldprice.org/sites/default/files/styles/blog_hero_375/public/blog_hero_images/Gold-Price-Recap1_4.jpg?itok=xAifbwQS", "title": "Gold Rallies as Iran Peace Hopes Ease Yields and Dollar Pressure", "author": "Matthew Bolden", "publishedAt": "2026-05-08T14:40:07-04:00" } ], "hasMore": false }, "timestamp": "2026-06-14T06:24:09Z" }
Frequently asked questions
How do I call the GoldPrice News API?
Send a GET request to https://api.zapi.ink/v1/finance:goldprice/news with your Zapi key in the x-api-key header. Parameters — optional: page, count, category. The response is JSON in the { project, data, timestamp } envelope.
What does the GoldPrice News API return?
Daftar berita pasar emas/perak. The example response has the fields page, count, items, hasMore. Each item in items has fields such as url, slug, image, title, author, publishedAt.
Is the GoldPrice News 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 GoldPrice News 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 "goldprice" and endpoint "news".
What other GoldPrice API endpoints are there?
It has 3 endpoints. Besides News: Spot, Performance.
