Datasets:
reference_date date32 | municipality_code stringlengths 5 5 | municipality stringlengths 3 76 | state stringclasses 32
values | state_code stringclasses 32
values | product stringclasses 3
values | n_stations int64 1 244 | price_mxn_median float64 19.3 31.6 ⌀ | price_mxn_p25 float64 19.2 31.6 ⌀ | price_mxn_p75 float64 19.3 31.6 ⌀ | price_mxn_min float64 13.6 31.2 ⌀ | price_mxn_max float64 19.4 31.7 ⌀ | price_usd_median float64 1.03 1.7 ⌀ | price_usd_p25 float64 1.02 1.7 ⌀ | price_usd_p75 float64 1.03 1.7 ⌀ | price_usd_min float64 0.72 1.68 ⌀ | price_usd_max float64 1.03 1.7 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2026-10-25 | 01001 | Aguascalientes | Aguascalientes | 01 | diesel | 87 | 27 | 26.99 | 27 | 25.99 | 27.99 | 1.4376 | 1.437 | 1.4376 | 1.3838 | 1.4903 |
2026-10-25 | 01001 | Aguascalientes | Aguascalientes | 01 | gasoline | 130 | 23.99 | 23.89 | 23.99 | 22.99 | 24.99 | 1.2773 | 1.272 | 1.2773 | 1.224 | 1.3305 |
2026-10-25 | 01001 | Aguascalientes | Aguascalientes | 01 | gasoline_premium | 131 | 29.04 | 28.715 | 29.685 | 25.53 | 29.99 | 1.5462 | 1.5289 | 1.5805 | 1.3593 | 1.5967 |
2026-10-25 | 01002 | Asientos | Aguascalientes | 01 | diesel | 6 | 26.99 | 26.99 | 26.9975 | 26.99 | 27 | 1.437 | 1.437 | 1.4375 | 1.437 | 1.4376 |
2026-10-25 | 01002 | Asientos | Aguascalientes | 01 | gasoline | 6 | 23.875 | 23.85 | 23.9675 | 23.79 | 23.99 | 1.2712 | 1.2698 | 1.2761 | 1.2666 | 1.2773 |
2026-10-25 | 01002 | Asientos | Aguascalientes | 01 | gasoline_premium | 5 | 28.8 | 28.8 | 28.9 | 27.15 | 28.95 | 1.5334 | 1.5334 | 1.5387 | 1.4455 | 1.5414 |
2026-10-25 | 01003 | Calvillo | Aguascalientes | 01 | diesel | 9 | 26.99 | 26.99 | 27 | 26.99 | 27 | 1.437 | 1.437 | 1.4376 | 1.437 | 1.4376 |
2026-10-25 | 01003 | Calvillo | Aguascalientes | 01 | gasoline | 9 | 23.99 | 23.97 | 23.99 | 23.9 | 24 | 1.2773 | 1.2762 | 1.2773 | 1.2725 | 1.2778 |
2026-10-25 | 01003 | Calvillo | Aguascalientes | 01 | gasoline_premium | 9 | 28.99 | 28.89 | 29.2 | 28.8 | 29.29 | 1.5435 | 1.5382 | 1.5547 | 1.5334 | 1.5595 |
2026-10-25 | 01004 | Cosío | Aguascalientes | 01 | diesel | 2 | null | null | null | null | null | null | null | null | null | null |
2026-10-25 | 01004 | Cosío | Aguascalientes | 01 | gasoline | 2 | null | null | null | null | null | null | null | null | null | null |
2026-10-25 | 01004 | Cosío | Aguascalientes | 01 | gasoline_premium | 2 | null | null | null | null | null | null | null | null | null | null |
2026-10-25 | 01005 | Jesús María | Aguascalientes | 01 | diesel | 29 | 27 | 26.99 | 27 | 25.99 | 27.99 | 1.4376 | 1.437 | 1.4376 | 1.3838 | 1.4903 |
2026-10-25 | 01005 | Jesús María | Aguascalientes | 01 | gasoline | 32 | 23.99 | 23.9475 | 23.99 | 23.49 | 24.99 | 1.2773 | 1.275 | 1.2773 | 1.2507 | 1.3305 |
2026-10-25 | 01005 | Jesús María | Aguascalientes | 01 | gasoline_premium | 32 | 29.24 | 28.99 | 29.585 | 26.99 | 29.99 | 1.5569 | 1.5435 | 1.5752 | 1.437 | 1.5967 |
2026-10-25 | 01006 | Pabellón de Arteaga | Aguascalientes | 01 | diesel | 8 | 26.995 | 26.99 | 27 | 26.99 | 27 | 1.4373 | 1.437 | 1.4376 | 1.437 | 1.4376 |
2026-10-25 | 01006 | Pabellón de Arteaga | Aguascalientes | 01 | gasoline | 8 | 23.99 | 23.925 | 23.99 | 23.7 | 23.99 | 1.2773 | 1.2738 | 1.2773 | 1.2619 | 1.2773 |
2026-10-25 | 01006 | Pabellón de Arteaga | Aguascalientes | 01 | gasoline_premium | 8 | 28.98 | 28.8425 | 29.015 | 28.49 | 29.99 | 1.543 | 1.5357 | 1.5448 | 1.5169 | 1.5967 |
2026-10-25 | 01007 | Rincón de Romos | Aguascalientes | 01 | diesel | 7 | 27 | 27 | 27 | 26.99 | 27.35 | 1.4376 | 1.4376 | 1.4376 | 1.437 | 1.4562 |
2026-10-25 | 01007 | Rincón de Romos | Aguascalientes | 01 | gasoline | 7 | 23.99 | 23.99 | 23.99 | 23.99 | 23.99 | 1.2773 | 1.2773 | 1.2773 | 1.2773 | 1.2773 |
2026-10-25 | 01007 | Rincón de Romos | Aguascalientes | 01 | gasoline_premium | 6 | 28.99 | 28.99 | 28.99 | 28.5 | 29.5 | 1.5435 | 1.5435 | 1.5435 | 1.5174 | 1.5707 |
2026-10-25 | 01008 | San José de Gracia | Aguascalientes | 01 | diesel | 1 | null | null | null | null | null | null | null | null | null | null |
2026-10-25 | 01008 | San José de Gracia | Aguascalientes | 01 | gasoline | 1 | null | null | null | null | null | null | null | null | null | null |
2026-10-25 | 01008 | San José de Gracia | Aguascalientes | 01 | gasoline_premium | 1 | null | null | null | null | null | null | null | null | null | null |
2026-10-25 | 01009 | Tepezalá | Aguascalientes | 01 | diesel | 2 | null | null | null | null | null | null | null | null | null | null |
2026-10-25 | 01009 | Tepezalá | Aguascalientes | 01 | gasoline | 2 | null | null | null | null | null | null | null | null | null | null |
2026-10-25 | 01009 | Tepezalá | Aguascalientes | 01 | gasoline_premium | 2 | null | null | null | null | null | null | null | null | null | null |
2026-10-25 | 01010 | El Llano | Aguascalientes | 01 | diesel | 3 | 27 | 27 | 27.15 | 27 | 27.3 | 1.4376 | 1.4376 | 1.4455 | 1.4376 | 1.4535 |
2026-10-25 | 01010 | El Llano | Aguascalientes | 01 | gasoline | 3 | 23.99 | 23.99 | 24.04 | 23.99 | 24.09 | 1.2773 | 1.2773 | 1.28 | 1.2773 | 1.2826 |
2026-10-25 | 01010 | El Llano | Aguascalientes | 01 | gasoline_premium | 2 | null | null | null | null | null | null | null | null | null | null |
2026-10-25 | 01011 | San Francisco de los Romo | Aguascalientes | 01 | diesel | 8 | 26.995 | 26.9675 | 27 | 26.9 | 27 | 1.4373 | 1.4358 | 1.4376 | 1.4322 | 1.4376 |
2026-10-25 | 01011 | San Francisco de los Romo | Aguascalientes | 01 | gasoline | 9 | 23.99 | 23.89 | 23.99 | 23.85 | 24 | 1.2773 | 1.272 | 1.2773 | 1.2698 | 1.2778 |
2026-10-25 | 01011 | San Francisco de los Romo | Aguascalientes | 01 | gasoline_premium | 9 | 28.99 | 28.99 | 29.54 | 28.75 | 29.68 | 1.5435 | 1.5435 | 1.5728 | 1.5307 | 1.5802 |
2026-10-25 | 02001 | Ensenada | Baja California | 02 | diesel | 42 | 25.39 | 25.38 | 26.99 | 25.25 | 26.99 | 1.3518 | 1.3513 | 1.437 | 1.3444 | 1.437 |
2026-10-25 | 02001 | Ensenada | Baja California | 02 | gasoline | 72 | 22.99 | 22.89 | 23.02 | 21.15 | 24.79 | 1.224 | 1.2187 | 1.2256 | 1.1261 | 1.3199 |
2026-10-25 | 02001 | Ensenada | Baja California | 02 | gasoline_premium | 67 | 27.99 | 27.97 | 28.89 | 25.79 | 29.49 | 1.4903 | 1.4892 | 1.5382 | 1.3731 | 1.5701 |
2026-10-25 | 02002 | Mexicali | Baja California | 02 | diesel | 126 | 25.39 | 25.38 | 26.99 | 24.97 | 27 | 1.3518 | 1.3513 | 1.437 | 1.3295 | 1.4376 |
2026-10-25 | 02002 | Mexicali | Baja California | 02 | gasoline | 217 | 22.29 | 21.95 | 22.98 | 20.19 | 23.99 | 1.1868 | 1.1687 | 1.2235 | 1.075 | 1.2773 |
2026-10-25 | 02002 | Mexicali | Baja California | 02 | gasoline_premium | 202 | 27.19 | 26.655 | 27.99 | 25.19 | 28.99 | 1.4477 | 1.4192 | 1.4903 | 1.3412 | 1.5435 |
2026-10-25 | 02003 | Tecate | Baja California | 02 | diesel | 21 | 25.99 | 25.39 | 26.39 | 25.39 | 26.99 | 1.3838 | 1.3518 | 1.4051 | 1.3518 | 1.437 |
2026-10-25 | 02003 | Tecate | Baja California | 02 | gasoline | 24 | 22.99 | 22.655 | 23.155 | 21.89 | 23.99 | 1.224 | 1.2062 | 1.2328 | 1.1655 | 1.2773 |
2026-10-25 | 02003 | Tecate | Baja California | 02 | gasoline_premium | 24 | 28.89 | 28.3675 | 28.99 | 26.45 | 29.29 | 1.5382 | 1.5104 | 1.5435 | 1.4083 | 1.5595 |
2026-10-25 | 02004 | Tijuana | Baja California | 02 | diesel | 149 | 26.89 | 25.39 | 26.99 | 19.99 | 28.49 | 1.4317 | 1.3518 | 1.437 | 1.0643 | 1.5169 |
2026-10-25 | 02004 | Tijuana | Baja California | 02 | gasoline | 244 | 22.99 | 22.89 | 23.76 | 18.65 | 23.99 | 1.224 | 1.2187 | 1.265 | 0.993 | 1.2773 |
2026-10-25 | 02004 | Tijuana | Baja California | 02 | gasoline_premium | 239 | 28.99 | 28.49 | 28.99 | 20.55 | 29.99 | 1.5435 | 1.5169 | 1.5435 | 1.0941 | 1.5967 |
2026-10-25 | 02005 | Playas de Rosarito | Baja California | 02 | diesel | 11 | 25.39 | 25.38 | 26.94 | 25.35 | 26.99 | 1.3518 | 1.3513 | 1.4344 | 1.3497 | 1.437 |
2026-10-25 | 02005 | Playas de Rosarito | Baja California | 02 | gasoline | 22 | 22.99 | 22.5975 | 22.99 | 22.29 | 23.89 | 1.224 | 1.2032 | 1.224 | 1.1868 | 1.272 |
2026-10-25 | 02005 | Playas de Rosarito | Baja California | 02 | gasoline_premium | 21 | 28.99 | 28.39 | 28.99 | 26.97 | 29.49 | 1.5435 | 1.5116 | 1.5435 | 1.436 | 1.5701 |
2026-10-25 | 02006 | San Quintín | Baja California | 02 | diesel | 15 | 26.97 | 25.945 | 26.98 | 25.39 | 26.99 | 1.436 | 1.3813 | 1.4365 | 1.3518 | 1.437 |
2026-10-25 | 02006 | San Quintín | Baja California | 02 | gasoline | 17 | 24.79 | 24.69 | 24.97 | 23.99 | 25 | 1.3199 | 1.3146 | 1.3295 | 1.2773 | 1.3311 |
2026-10-25 | 02006 | San Quintín | Baja California | 02 | gasoline_premium | 15 | 29.27 | 28.995 | 29.49 | 24.29 | 29.5 | 1.5584 | 1.5438 | 1.5701 | 1.2933 | 1.5707 |
2026-10-25 | 02007 | San Felipe | Baja California | 02 | diesel | 7 | 26.99 | 26.94 | 26.99 | 26.79 | 28.99 | 1.437 | 1.4344 | 1.437 | 1.4264 | 1.5435 |
2026-10-25 | 02007 | San Felipe | Baja California | 02 | gasoline | 8 | 23.99 | 23.965 | 23.99 | 23.79 | 25.49 | 1.2773 | 1.276 | 1.2773 | 1.2666 | 1.3572 |
2026-10-25 | 02007 | San Felipe | Baja California | 02 | gasoline_premium | 7 | 28.99 | 28.445 | 28.99 | 27.99 | 28.99 | 1.5435 | 1.5145 | 1.5435 | 1.4903 | 1.5435 |
2026-10-25 | 03001 | Comondú | Baja California Sur | 03 | diesel | 15 | 27.5 | 27.49 | 27.99 | 27 | 27.99 | 1.4642 | 1.4636 | 1.4903 | 1.4376 | 1.4903 |
2026-10-25 | 03001 | Comondú | Baja California Sur | 03 | gasoline | 24 | 24.09 | 23.99 | 24.19 | 23.97 | 24.5 | 1.2826 | 1.2773 | 1.2879 | 1.2762 | 1.3044 |
2026-10-25 | 03001 | Comondú | Baja California Sur | 03 | gasoline_premium | 20 | 29.14 | 28.74 | 29.59 | 28.35 | 30.5 | 1.5515 | 1.5302 | 1.5755 | 1.5094 | 1.6239 |
2026-10-25 | 03002 | Mulegé | Baja California Sur | 03 | diesel | 15 | 28.59 | 28.395 | 28.945 | 27 | 30.9 | 1.5222 | 1.5119 | 1.5411 | 1.4376 | 1.6452 |
2026-10-25 | 03002 | Mulegé | Baja California Sur | 03 | gasoline | 17 | 24.95 | 24.84 | 24.99 | 24 | 25.5 | 1.3284 | 1.3225 | 1.3305 | 1.2778 | 1.3577 |
2026-10-25 | 03002 | Mulegé | Baja California Sur | 03 | gasoline_premium | 13 | 29.59 | 29.33 | 29.99 | 29 | 30.5 | 1.5755 | 1.5616 | 1.5967 | 1.544 | 1.6239 |
2026-10-25 | 03003 | La Paz | Baja California Sur | 03 | diesel | 48 | 27 | 27 | 27 | 27 | 27.99 | 1.4376 | 1.4376 | 1.4376 | 1.4376 | 1.4903 |
2026-10-25 | 03003 | La Paz | Baja California Sur | 03 | gasoline | 66 | 24.19 | 23.99 | 24.49 | 22.97 | 24.69 | 1.2879 | 1.2773 | 1.3039 | 1.223 | 1.3146 |
2026-10-25 | 03003 | La Paz | Baja California Sur | 03 | gasoline_premium | 65 | 29.49 | 28.99 | 29.69 | 28.15 | 30.5 | 1.5701 | 1.5435 | 1.5808 | 1.4988 | 1.6239 |
2026-10-25 | 03008 | Los Cabos | Baja California Sur | 03 | diesel | 55 | 27.99 | 27.645 | 27.99 | 27 | 27.99 | 1.4903 | 1.4719 | 1.4903 | 1.4376 | 1.4903 |
2026-10-25 | 03008 | Los Cabos | Baja California Sur | 03 | gasoline | 69 | 24.79 | 24.59 | 24.79 | 23.19 | 25.66 | 1.3199 | 1.3092 | 1.3199 | 1.2347 | 1.3662 |
2026-10-25 | 03008 | Los Cabos | Baja California Sur | 03 | gasoline_premium | 66 | 29.89 | 29.715 | 29.99 | 28.29 | 31.36 | 1.5914 | 1.5821 | 1.5967 | 1.5062 | 1.6697 |
2026-10-25 | 03009 | Loreto | Baja California Sur | 03 | diesel | 5 | 27.99 | 27.69 | 27.99 | 27.5 | 28.5 | 1.4903 | 1.4743 | 1.4903 | 1.4642 | 1.5174 |
2026-10-25 | 03009 | Loreto | Baja California Sur | 03 | gasoline | 5 | 24.99 | 24.69 | 24.99 | 24.5 | 24.99 | 1.3305 | 1.3146 | 1.3305 | 1.3044 | 1.3305 |
2026-10-25 | 03009 | Loreto | Baja California Sur | 03 | gasoline_premium | 6 | 29.84 | 29.61 | 29.89 | 28.9 | 29.89 | 1.5888 | 1.5765 | 1.5914 | 1.5387 | 1.5914 |
2026-10-25 | 04001 | Calkiní | Campeche | 04 | diesel | 7 | 27.49 | 27.49 | 27.49 | 27 | 27.49 | 1.4636 | 1.4636 | 1.4636 | 1.4376 | 1.4636 |
2026-10-25 | 04001 | Calkiní | Campeche | 04 | gasoline | 7 | 23.99 | 23.99 | 24.19 | 23.84 | 24.39 | 1.2773 | 1.2773 | 1.288 | 1.2693 | 1.2986 |
2026-10-25 | 04001 | Calkiní | Campeche | 04 | gasoline_premium | 7 | 28.59 | 28.59 | 28.74 | 28.59 | 28.79 | 1.5222 | 1.5222 | 1.5302 | 1.5222 | 1.5329 |
2026-10-25 | 04002 | Campeche | Campeche | 04 | diesel | 34 | 27 | 27 | 27 | 27 | 27 | 1.4376 | 1.4376 | 1.4376 | 1.4376 | 1.4376 |
2026-10-25 | 04002 | Campeche | Campeche | 04 | gasoline | 37 | 23.99 | 23.99 | 23.99 | 23.99 | 24.49 | 1.2773 | 1.2773 | 1.2773 | 1.2773 | 1.3039 |
2026-10-25 | 04002 | Campeche | Campeche | 04 | gasoline_premium | 36 | 28.79 | 28.59 | 28.79 | 28.49 | 28.99 | 1.5329 | 1.5222 | 1.5329 | 1.5169 | 1.5435 |
2026-10-25 | 04003 | Carmen | Campeche | 04 | diesel | 31 | 27 | 27 | 27 | 26.99 | 27.89 | 1.4376 | 1.4376 | 1.4376 | 1.437 | 1.4849 |
2026-10-25 | 04003 | Carmen | Campeche | 04 | gasoline | 34 | 23.99 | 23.99 | 23.99 | 23.39 | 24.49 | 1.2773 | 1.2773 | 1.2773 | 1.2453 | 1.3039 |
2026-10-25 | 04003 | Carmen | Campeche | 04 | gasoline_premium | 32 | 28.79 | 28.54 | 28.815 | 26.98 | 29.02 | 1.5329 | 1.5196 | 1.5342 | 1.4365 | 1.5451 |
2026-10-25 | 04004 | Champotón | Campeche | 04 | diesel | 13 | 27 | 27 | 27 | 27 | 27.89 | 1.4376 | 1.4376 | 1.4376 | 1.4376 | 1.4849 |
2026-10-25 | 04004 | Champotón | Campeche | 04 | gasoline | 13 | 23.99 | 23.89 | 23.99 | 23.79 | 24.49 | 1.2773 | 1.272 | 1.2773 | 1.2666 | 1.3039 |
2026-10-25 | 04004 | Champotón | Campeche | 04 | gasoline_premium | 12 | 28.69 | 28.59 | 28.79 | 28.43 | 28.99 | 1.5276 | 1.5222 | 1.5329 | 1.5137 | 1.5435 |
2026-10-25 | 04005 | Hecelchakán | Campeche | 04 | diesel | 4 | 27 | 27 | 27.1225 | 27 | 27.49 | 1.4376 | 1.4376 | 1.4441 | 1.4376 | 1.4636 |
2026-10-25 | 04005 | Hecelchakán | Campeche | 04 | gasoline | 4 | 23.775 | 23.555 | 23.99 | 23.54 | 23.99 | 1.2659 | 1.2541 | 1.2773 | 1.2533 | 1.2773 |
2026-10-25 | 04005 | Hecelchakán | Campeche | 04 | gasoline_premium | 4 | 28.59 | 28.59 | 28.59 | 28.59 | 28.59 | 1.5222 | 1.5222 | 1.5222 | 1.5222 | 1.5222 |
2026-10-25 | 04006 | Hopelchén | Campeche | 04 | diesel | 4 | 27 | 27 | 27 | 27 | 27 | 1.4376 | 1.4376 | 1.4376 | 1.4376 | 1.4376 |
2026-10-25 | 04006 | Hopelchén | Campeche | 04 | gasoline | 4 | 23.99 | 23.965 | 23.99 | 23.89 | 23.99 | 1.2773 | 1.276 | 1.2773 | 1.272 | 1.2773 |
2026-10-25 | 04006 | Hopelchén | Campeche | 04 | gasoline_premium | 3 | 28.59 | 28.495 | 28.59 | 28.4 | 28.59 | 1.5222 | 1.5172 | 1.5222 | 1.5121 | 1.5222 |
2026-10-25 | 04007 | Palizada | Campeche | 04 | diesel | 1 | null | null | null | null | null | null | null | null | null | null |
2026-10-25 | 04007 | Palizada | Campeche | 04 | gasoline | 1 | null | null | null | null | null | null | null | null | null | null |
2026-10-25 | 04008 | Tenabo | Campeche | 04 | diesel | 2 | null | null | null | null | null | null | null | null | null | null |
2026-10-25 | 04008 | Tenabo | Campeche | 04 | gasoline | 2 | null | null | null | null | null | null | null | null | null | null |
2026-10-25 | 04008 | Tenabo | Campeche | 04 | gasoline_premium | 2 | null | null | null | null | null | null | null | null | null | null |
2026-10-25 | 04009 | Escárcega | Campeche | 04 | diesel | 13 | 27 | 27 | 27 | 27 | 27 | 1.4376 | 1.4376 | 1.4376 | 1.4376 | 1.4376 |
2026-10-25 | 04009 | Escárcega | Campeche | 04 | gasoline | 13 | 23.99 | 23.99 | 23.99 | 23.99 | 24.49 | 1.2773 | 1.2773 | 1.2773 | 1.2773 | 1.3039 |
2026-10-25 | 04009 | Escárcega | Campeche | 04 | gasoline_premium | 12 | 28.59 | 28.59 | 28.89 | 28.56 | 28.99 | 1.5222 | 1.5222 | 1.5382 | 1.5206 | 1.5435 |
2026-10-25 | 04010 | Calakmul | Campeche | 04 | diesel | 5 | 27 | 27 | 27 | 27 | 27 | 1.4376 | 1.4376 | 1.4376 | 1.4376 | 1.4376 |
2026-10-25 | 04010 | Calakmul | Campeche | 04 | gasoline | 5 | 23.99 | 23.99 | 23.99 | 23.98 | 24.39 | 1.2773 | 1.2773 | 1.2773 | 1.2768 | 1.2986 |
2026-10-25 | 04010 | Calakmul | Campeche | 04 | gasoline_premium | 5 | 28.59 | 28.39 | 28.59 | 27.99 | 28.59 | 1.5222 | 1.5116 | 1.5222 | 1.4903 | 1.5222 |
2026-10-25 | 04011 | Candelaria | Campeche | 04 | diesel | 3 | 27 | 27 | 27 | 27 | 27 | 1.4376 | 1.4376 | 1.4376 | 1.4376 | 1.4376 |
2026-10-25 | 04011 | Candelaria | Campeche | 04 | gasoline | 4 | 23.99 | 23.94 | 23.99 | 23.79 | 23.99 | 1.2773 | 1.2746 | 1.2773 | 1.2666 | 1.2773 |
Mexico Fuel Prices by Municipality (daily, CNE)
Retail gasoline (regular and premium) and diesel prices in Mexico, by municipality, product and day, from the price file that every fuel permit holder reports to the national energy commission (CNE, formerly CRE). One row per municipality × product × day with the number of stations and, when there are at least 3 stations, the median, minimum, maximum and quartiles of the pump price in MXN and USD. A second table says, for every day, how complete the capture was and how many rows were rejected. Daily since 2026-10-25: 5 days so far, 29 October 2026 is the latest. The archive grows every day; the official CNE feed only shows the current day and keeps no history, so a day that was not captured cannot be recovered. Updated weekly: the latest day in this build is 2026-10-29.
Palabras clave: precios de gasolina por municipio, precios de la gasolina y el diésel en México, gasolina regular y premium, CNE, Comisión Nacional de Energía, precios por municipio, diésel.
Per-station prices in MXN, USD and EUR: on the Apify Store (
pracadata/mexico-fuel-prices). Pay per row, with an API and MCP for AI agents. See also the Brazilian equivalent,pracadata/brazil-fuel-prices(weekly, ANP).
Read this first: coverage and limitations
- Short history. The series starts on 2026-10-25, the first day this project captured the CNE feed, and has 5 days in this build. There is no earlier history and none can be reconstructed. Do not read trends into a few days of data.
- Prices are reported by the permit holders and are not audited. The CNE publishes what each station reports. Typing errors, stale prices and filler values exist; this dataset only removes the obvious ones (see the next point). Do not use it as an official price reference.
- Rejected rows, counted every day (
fuel_coverage_daily_mx). Per day, in this build: 19 price rows outside 5 to 60 MXN per litre (so far all of them filler values such as0.01or1), 18 to 20 rows from stations that report two different prices for the same product on the same day (n_rejected_duplicate_divergent: the station and product are dropped for that day, because there is no way to know which price is right), and 111 exact duplicate rows that are collapsed into one (n_collapsed_duplicates: nothing is lost, the price stays). The accepted ones are about 37,276 price rows per day from 13,848 stations. - About 0.6% of the stations in the CNE registry could not be placed in a municipality (their coordinates are
0, 0, empty, or far from any municipality: wrong at the source). Almost all of them report no price at all, so among the stations with a price, 4 (0.029%) are missing from the municipality table on the latest day. The municipality is derived by us from the station's coordinates (point in polygon on the INEGI municipal boundaries), not reported by the CNE: a station with wrong coordinates can land in the wrong municipality. - Ciudad de México appears as its 16 alcaldías (the INEGI boundaries split it), each one a municipality here.
- Sale price to the public only (price at the pump, per litre). No purchase price, no taxes breakdown, no other fuels (no LPG, no CNG).
- At least 3 stations to publish a statistic. With fewer, only
n_stationsis filled and the price columns are null. - Mexican pesos, nominal.
price_usd_*converts the MXN price with the ECB euro reference rate of the previous business day (USD/MXN is a cross rate), indicative only; the rate itself is never published.
The day of a price: reference_date
The CNE feed is updated once a day, at 18:00 Mexico City time (UTC-6, Mexico has no daylight saving time since 2022), and shows only the current day. A price file captured between 18:00 on day D and 17:59 on day D+1 belongs to day D: reference_date = date(capture time in UTC-6 − 18 hours). If the capture ran several times in that window, the last version wins. A capture at 07:05 on 26 October is therefore the price of 25 October.
coverage_flag describes the day: complete, partial (fewer stations than 80% of the median of the previous 7 days with data) or gap (a calendar day with no new capture of the file). In this build: 5 complete, 0 partial and 0 gap days. The first days have no history to compare with and are complete.
What is in this repository
| File (config) | Rows | Content |
|---|---|---|
data/fuel_price_municipality_daily_mx.parquet (fuel_price_municipality_daily_mx) |
22,355 | municipality (code, name and state) × product × day, 17 columns, 1,547 municipalities |
data/fuel_coverage_daily_mx.parquet (fuel_coverage_daily_mx) |
5 | one row per day with stations, prices, rejects by reason and coverage_flag, 12 columns |
DATA_DICTIONARY.md |
every column: type, definition, where it is null; products and units | |
manifesto.json |
files, row counts, SHA-256 of each file, date of the data build, sources |
Products: gasoline (regular), gasoline_premium and diesel, all in MXN per litre.
Examples
Median gasoline price by state on the latest day, as the median of the municipality medians (each municipality counts once, whatever its number of stations), in DuckDB:
select state, round(median(price_mxn_median), 2) as gasoline_mxn_per_litre, count(*) as municipalities, sum(n_stations) as stations
from 'hf://datasets/pracadata/mexico-fuel-prices/data/fuel_price_municipality_daily_mx.parquet'
where reference_date = date '2026-10-29' and product = 'gasoline' and price_mxn_median is not null
group by 1 order by 2 desc;
The same in pandas (needs pyarrow and huggingface_hub installed):
import pandas as pd
df = pd.read_parquet("hf://datasets/pracadata/mexico-fuel-prices/data/fuel_price_municipality_daily_mx.parquet")
last = df[(df["reference_date"] == df["reference_date"].max()) & (df["product"] == "gasoline") & df["price_mxn_median"].notna()]
print(last.groupby("state")["price_mxn_median"].median().sort_values(ascending=False).round(2))
from datasets import load_dataset
ds = load_dataset("pracadata/mexico-fuel-prices", "fuel_coverage_daily_mx")
Source and attribution
- Fuente: Comisión Nacional de Energía (CNE), precios reportados por los permisionarios (Acuerdo A/041/2018). The price file the permit holders must report under agreement A/041/2018 of the Comisión Reguladora de Energía, published by the CNE: https://www.cne.gob.mx/ConsultaPrecios/GasolinasyDiesel/GasolinasyDiesel.html.
- Fuente: INEGI, Marco Geoestadístico, diciembre de 2025. Municipal boundaries, names and codes, under the INEGI "Términos de Libre Uso de la Información" (commercial use allowed with credit to INEGI as author): https://www.inegi.org.mx/inegi/terminos.html. The assignment of each station to a municipality is our own derived work, not an INEGI product, and INEGI has not endorsed it.
- Fuente: Banco Central Europeo, euro reference exchange rates (used only for the USD columns): https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html.
- Licence and terms of use. The licence field is
otherbecause this is official public data of the Mexican government, redistributed with attribution. The CNE page publishes no licence or terms of use for the price file. This dataset is unofficial and not affiliated with the CNE or INEGI. Check the source terms for your use. - Takedown / corrections: write to
lucashpissaia@gmail.com. If the CNE or INEGI ask for it, the data is removed. This repository has no personal information: prices are aggregated by municipality; station names, permit holders' names and addresses are not published here.
How to cite
@dataset{mexico_fuel_prices,
title = {Mexico Fuel Prices by Municipality (daily, CNE)},
author = {pracadata},
year = {2026},
url = {https://huggingface.co/datasets/pracadata/mexico-fuel-prices},
note = {Derived from CNE and INEGI public data. Fuente: CNE, precios reportados por los permisionarios (Acuerdo A/041/2018); Fuente: INEGI, Marco Geoestadístico, diciembre de 2025}
}
Terms
- Provided as is, without warranty, from public sources, with the limitations above. Not official; do not use as a regulated price reference without checking the CNE.
- Cite the sources above. If a publisher restricts reuse, the data may be removed from this repository going forward.
- Questions or corrections: open a discussion on this repository. Takedown requests:
lucashpissaia@gmail.com.
- Downloads last month
- -