Hermès Revenu — API Prix Carburant France avatar

Hermès Revenu — API Prix Carburant France

Under maintenance

Pricing

Pay per usage

Go to Apify Store
Hermès Revenu — API Prix Carburant France

Hermès Revenu — API Prix Carburant France

Under maintenance

API REST des prix de carburants en France. Données officielles ~9800 stations, mise à jour quotidienne.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Travel Monitor Lab

Travel Monitor Lab

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

🚗 L'API REST ultime pour les prix des carburants en France.

Données officielles du Ministère de l'Économie, mises à jour quotidiennement. Plus de 9 800 stations-service géolocalisées avec tous les prix : Gazole, SP95, SP98, E10, E85, GPLc.

🇫🇷 Pourquoi cette API ?

  • Données officielles : source gouvernementale (data.economie.gouv.fr)
  • 9 800+ stations dans toute la France (métropole + DOM-TOM)
  • Mise à jour quotidienne automatique
  • Géolocalisation WGS84 de chaque station
  • 6 types de carburant : Gazole, SP95, SP98, E10, E85, GPLc
  • Filtres puissants : ville, code postal, département, enseigne, prix max
  • Interface Swagger interactive ( /docs )
  • 100% gratuit pour démarrer (100 appels/jour)

🔧 Utilisation rapide

# Health check
curl https://TON-URL/health
# Statistiques nationales
curl https://TON-URL/v1/stats -H "X-API-Key: VOTRE_CLE"
# Stations à Paris avec Gazole < 2€
curl "https://TON-URL/v1/stations?ville=Paris&carburant=gazole&prix_max=2.0" -H "X-API-Key: VOTRE_CLE"
# Les 5 stations les moins chères en SP98
curl "https://TON-URL/v1/stations?carburant=sp98&limit=5" -H "X-API-Key: VOTRE_CLE"

📡 Endpoints disponibles

MéthodeEndpointDescription
GET/healthÉtat du service
GET/v1/stationsListe des stations (filtrable)
GET/v1/stations/{id}Une station par son ID
GET/v1/statsStatistiques nationales
GET/admin/usageVotre consommation API
GET/docsDocumentation interactive Swagger

📋 Paramètres de filtrage

ParamètreTypeExempleDescription
villestringParisFiltrer par ville
code_postalstring75001Filtrer par code postal
departementstring75Filtrer par département
enseignestringTotalFiltrer par enseigne
carburantstringgazoleType de carburant
prix_maxfloat1.90Prix maximum
limitinteger50Résultats max (défaut: 100)
offsetinteger100Pagination

💰 Tarifs

TierPrix / moisAppels / jourUsage
🆓 Free0 €100Découverte
🚀 Starter9 €1 000Projets perso
💼 Pro29 €10 000Startups
🏢 Enterprise99 €100 000Entreprises

🔑 Authentification

Incluez votre clé API dans l'en-tête HTTP :

$X-API-Key: hermes_xxx...

📊 Exemple de réponse

{
"total_stations": 9780,
"total_with_gazole": 9605,
"avg_prix_gazole": 2.041,
"avg_prix_sp95": 2.029,
"avg_prix_sp98": 2.072,
"by_departement": {
"75": { "stations": 46, "avg_gazole": 2.158 },
"13": { "stations": 172, "avg_gazole": 2.047 }
}
}

🛠 Architecture technique

Pipeline (cron 6h) → FastAPI → SQLite (auth) → Dashboard HTML
└── XML officiel → Nettoyage → Enrichissement IA (optionnel)

Technologies : Python 3.13, FastAPI, Uvicorn, SQLite, OpenAI (optionnel)


Développé par Artur Rodrigues Adaga — Hermès Agent