Price feed API
Free, public JSON endpoints for today's Indian agri-commodity prices
We publish the same numbers that drive the price dashboard as open JSON. There is no key and no signup for reading the data. Responses allow cross-origin requests, so they can be fetched from a browser, a spreadsheet or a script. Send an ordinary User-Agent header: the site's bot protection turns away some default library agents.
Endpoints
| Endpoint | Method | Cache | What it returns |
|---|---|---|---|
/prices/live_prices.json | GET, HEAD | 5 min | Today's feed: the reviewed date, the USD/INR rate and every commodity item. |
/prices/history.json | GET, HEAD | 5 min | The stored daily series behind the trend charts, one array of points per commodity. |
Live feed — GET /prices/live_prices.json
Top-level fields:
last_reviewed— ISO date the feed was last reviewed, e.g."2026-09-19".usd_inr— the USD↔INR conversion rate used for the per-tonne figures.source— where the numbers come from.items— an array of commodity price objects.
Each entry in items:
name— commodity name, e.g."Kabuli Chana".grade— the traded grade, e.g."Whole".usd_per_mt— price per metric tonne in US dollars.pct_change— change over one week in percent, to one decimal place. Only markets that reported in both weeks are compared, so a change in which markets report does not show up as a price move.inr_per_quintal— price per quintal (100 kg) in Indian rupees.markets— number of mandis reporting.as_of— ISO date this item's price is for.
History — GET /prices/history.json
An object keyed by commodity slug (the same slug used in the price-page URLs, e.g. "kabuli-chana", "toor", "toor-dal"). Each value is an array of daily points, oldest first:
["2026-08-15", 7500, 786]
─────────── ──── ───
date INR USD
/quintal /MT
Each series holds up to 120 daily points, about four months, oldest first; the same series backs the spark-lines and charts on each price page.
Refresh cadence and reliability
The feed is reviewed and published daily. Both endpoints serve live data from the edge with a graceful fallback to the copy built into the site, so a transient storage miss still returns the last good data rather than an error. The HTML pages themselves carry data-p markers and are rewritten from the same live feed at request time, so the pages and the JSON never disagree.
Terms
Prices are indicative Indian mandi prices, provided for information. They are not a binding offer and not a substitute for a written quotation for your specification and volume. For a firm quote, use the contact page. If you build on this feed, a link back to tgkagro.com is appreciated. The machine-readable index of this site is at /llms.txt.