Free open data

Free JSON and CSV for developers, researchers and journalists. No API key, no sign-up, CORS enabled. Licensed CC BY 4.0: use it for anything, including commercial apps, as long as you link back to this page.

South Africa official fuel prices

Inland and coastal prices for 93 and 95 petrol and 500ppm and 50ppm diesel, per month, with the official effective date and source. Plus inland 95 history from October 2023. Updated every month when the new price is announced.

https://kustomcode.xyz/open-data/fuel-prices.json

Generic OBD-II fault codes

Generic (SAE J2012) fault codes with their standard name, the system they belong to and a link to a plain-English guide.

https://kustomcode.xyz/open-data/obd-codes.json

Example

fetch('https://kustomcode.xyz/open-data/fuel-prices.json')
  .then((r) => r.json())
  .then((d) => console.log(d.monthly[0].inland.petrol95));

Attribution

Please show: Data: Kustomcode (kustomcode.xyz/open-data) with a link. Fuel prices come from the official monthly announcement; each month lists its source. Fault code names are the generic SAE J2012 names.

Want a widget instead of raw data? See the fuel price box and the fault code lookup box. Need an app built on top of it? Get a fixed quote.