Fair Fuel Finder — Health

Ping API (types)
This page checks PHP, database connectivity, table counts, data recency, and configuration. It does not call the external API unless you click Ping API (one request, safely paced).
Runtime
PHP8.1.34 (litespeed)
TimezoneAustralia/Melbourne
Extension: curlyes
Extension: pdo_mysqlyes
DB connectionyes
Configuration
API base URLhttps://api.fuel.service.vic.gov.au/open-data/v1
x-consumer-id91d••••••••••••••••••••••••••754
Min seconds between calls7
Ensure your API key is present for the importer. Required headers per docs: User-Agent, x-consumer-id, x-transactionid.
Database status Counts & recency
TableRows
brands141
fuel_types11
stations1,887
prices_latest8,045
price_history7,449,298
agg_state_daily3,356
agg_brand_daily98,008
user_favourites25
Last price_updated_at2026-11-02 23:54:25 (1 day ago)
Last captured_at2026-11-04 01:30:24 (6 seconds ago)
Latest state aggregate2026-11-02
Latest brand aggregate2026-11-02
If counts are zero, run the importer and check your API key / headers.
API ping result
OK — retrieved fuel types list.
fuelTypes count: 11
This makes a single GET to /fuel/reference-data/types using headers and pacing recommended in the docs.
Cron examples
FAIRFUEL_CONSUMER_ID=YOUR_REAL_KEY
7 * * * * /usr/bin/php /var/www/fuel/cron/pull_fuel_data.php >> /var/log/fairfuel_pull.log 2>&1
22 0 * * * /usr/bin/php /var/www/fuel/cron/aggregate_nightly.php >> /var/log/fairfuel_agg.log 2>&1
Put the key line before the jobs so the importer sees it in cron.