{"api":{"id":"api_23b98def50c6cda502323116","slug":"mexico-fuel-prices","name":"Mexico Gas Station Prices API","description":"Current regular, premium and diesel pump prices in Mexican pesos at gas stations across Mexico, joined with each station's name, CRE permit number and coordinates, searchable by distance from any point.","kind":"ready_made","visibility":"public","domain":"publicacionexterna.azurewebsites.net","source_url":"https://publicacionexterna.azurewebsites.net/publicaciones/prices","category":"automotive","record_type":"place","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":9,"created_at":"2026-12-06T03:57:27.681Z","updated_at":"2026-12-06T03:57:27.681Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"place_id","type":"string","description":"The regulator's id of the station.","required":true,"coverage":1,"example":"13129"},{"name":"name","type":"string","description":"Registered name of the station's operator.","required":false,"coverage":1,"example":"OPERADORA DE MINIESTACIONES COMBUSERV S.A. DE C.V."},{"name":"cre_permit","type":"string","description":"CRE permit number of the station.","required":false,"coverage":1,"example":"PL/10909/EXP/ES/2015"},{"name":"lat","type":"number","description":"Latitude of the station.","required":false,"coverage":1,"example":19.42713},{"name":"lon","type":"number","description":"Longitude of the station.","required":false,"coverage":1,"example":-99.1392},{"name":"regular_price_mxn","type":"number","description":"Regular gasoline price per litre in Mexican pesos.","required":false,"coverage":1,"example":23.99},{"name":"premium_price_mxn","type":"number","description":"Premium gasoline price per litre in Mexican pesos.","required":false,"coverage":1,"example":28.99},{"name":"diesel_price_mxn","type":"number","description":"Diesel price per litre in Mexican pesos.","required":false,"coverage":0.4,"example":26.99},{"name":"distance_km","type":"number","description":"Distance from the centre point in kilometres, when near is given.","required":false,"coverage":1,"example":0.88}],"inputs":[{"name":"near","type":"string","description":"Centre point as latitude,longitude, for example 19.4326,-99.1332 for Mexico City. Leave empty for the whole country.","example":"19.4326,-99.1332"},{"name":"radius_km","type":"number","description":"Distance from the centre point in kilometres. Default 5.","example":5},{"name":"fuel","type":"string","description":"Only stations that report this fuel: regular, premium or diesel.","example":"regular","enum":["regular","premium","diesel"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"cre_permit":{"description":"CRE permit number of the station.","type":"string"},"diesel_price_mxn":{"description":"Diesel price per litre in Mexican pesos.","type":"number"},"distance_km":{"description":"Distance from the centre point in kilometres, when near is given.","type":"number"},"lat":{"description":"Latitude of the station.","type":"number"},"lon":{"description":"Longitude of the station.","type":"number"},"name":{"description":"Registered name of the station's operator.","type":"string"},"place_id":{"description":"The regulator's id of the station.","type":"string"},"premium_price_mxn":{"description":"Premium gasoline price per litre in Mexican pesos.","type":"number"},"regular_price_mxn":{"description":"Regular gasoline price per litre in Mexican pesos.","type":"number"}},"required":["place_id"],"title":"Mexico Gas Station Prices API","type":"object"},"samples":[{"place_id":"13129","name":"OPERADORA DE MINIESTACIONES COMBUSERV S.A. DE C.V.","cre_permit":"PL/10909/EXP/ES/2015","lat":19.42713,"lon":-99.1392,"regular_price_mxn":23.99,"premium_price_mxn":28.99,"diesel_price_mxn":null,"distance_km":0.88},{"place_id":"8520","name":"ESTACIÓN DE SERVICIO MENORCA S.A. DE C.V.","cre_permit":"PL/6759/EXP/ES/2015","lat":19.42305,"lon":-99.1293,"regular_price_mxn":23.99,"premium_price_mxn":28.99,"diesel_price_mxn":26.99,"distance_km":1.14},{"place_id":"9634","name":"ESTACIÓN DE SERVICIO PARA AUTOS CENTRO S.A. DE C.V.","cre_permit":"PL/8771/EXP/ES/2015","lat":19.42038,"lon":-99.13423,"regular_price_mxn":22.99,"premium_price_mxn":28.49,"diesel_price_mxn":26.99,"distance_km":1.36}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"cre_permit":1,"diesel_price_mxn":0.67,"distance_km":1,"lat":1,"lon":1,"name":1,"place_id":1,"premium_price_mxn":1,"regular_price_mxn":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_23b98def50c6cda502323116/run","openapi":"https://pullrow.dev/v1/apis/api_23b98def50c6cda502323116/openapi.json","contract":"https://pullrow.dev/v1/apis/api_23b98def50c6cda502323116/contract.json","page":"https://pullrow.dev/catalog/mexico-fuel-prices"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["The source lists about 15,000 stations in two national files; every run reads both files in full (about 5 MB) before it filters, so a run takes several seconds whatever the number of records.","Stations carry only the prices they report: many have no premium or no diesel price, so those fields are empty for them. With the fuel input set, only stations that report that fuel are returned.","The source gives the station's name and permit number and coordinates, but no street address, brand, or time of last price update.","Prices are Mexican pesos per litre as the regulator publishes them; the files are refreshed by the regulator during the day.","Results are sorted by distance when near is given, otherwise by place_id. One run returns at most 20,000 records.","Data is the public price publication of the Mexican energy regulator (CRE/CNE); credit the regulator when you republish. Not affiliated with it."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"place_id","label":"Place ID","description":"The regulator's id of the station.","group":"Technical","shown":false,"written":false},{"name":"name","label":"Name","description":"Registered name of the station's operator.","group":"Basics","shown":true,"written":false},{"name":"cre_permit","label":"Cre permit","description":"CRE permit number of the station.","group":"Basics","shown":true,"written":false},{"name":"lat","label":"Latitude","description":"Latitude of the station.","group":"Basics","shown":true,"written":false},{"name":"lon","label":"Longitude","description":"Longitude of the station.","group":"Basics","shown":true,"written":false},{"name":"regular_price_mxn","label":"Regular price MXN","description":"Regular gasoline price per litre in Mexican pesos.","group":"Pay","shown":true,"written":false},{"name":"premium_price_mxn","label":"Premium price MXN","description":"Premium gasoline price per litre in Mexican pesos.","group":"Pay","shown":true,"written":false},{"name":"diesel_price_mxn","label":"Diesel price MXN","description":"Diesel price per litre in Mexican pesos.","group":"Pay","shown":true,"written":false},{"name":"distance_km","label":"Distance (km)","description":"Distance from the centre point in kilometres, when near is given.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"near","label":"Near","help":"Centre point as latitude,longitude, for example 19.4326,-99.1332 for Mexico City. Leave empty for the whole country.","example":"19.4326,-99.1332","written":false},{"name":"radius_km","label":"Radius (km)","help":"Distance from the centre point in kilometres. Default 5.","example":"5","written":false},{"name":"fuel","label":"Fuel","help":"Only stations that report this fuel: regular, premium or diesel.","example":"regular","written":false}]}},"incidents":[]}