API

Read the same data that powers this dashboard.

GET/v1/prices/todayNational averages for petrol, diesel and CNG.
GET/v1/prices/statesState-wise prices with daily change deltas.
GET/v1/prices/states/:id/history?range=6MHistorical series for one state.
POST/v1/alertsCreate a target-price alert for a phone number.

Example request

curl https://api.indhan.app/v1/prices/states \
  -H "Authorization: Bearer <your-key>"