Unbnd logoUnbnd

China Fuel Price REST API

All endpoints below. Responses are cached on the edge when possible.

Endpoints

GET/api/fuel-price

All provinces. Returns current, previous, latestUpdated, previousUpdated.

GET/api/fuel-price/:province

Single province (path param, e.g. 北京). Same shape with one province in current/previous.

GET/api/fuel-price/:province/promo

Query: fuelType (b92|b95|b98|b0), amount, bonus. Returns recharge promo result.

Response example (GET /api/fuel-price)

{
  "current": [
    {
      "province": "Beijing",
      "b92": 8.12,
      "b95": 8.71,
      "b98": 9.39,
      "b0": 7.34
    }
  ],
  "previous": [],
  "latestUpdated": 1700000000000,
  "previousUpdated": 0
}
Playground

Send requests and view responses.

RequestGET /api/fuel-price
Response
No response yet. Choose endpoint and send a request.