Retourne les prix day-ahead pour demain (J+1) ainsi que les statistiques agrégées.
Les prix sont publiés par EPEX SPOT vers 13h CET ; avant cela, l'API renvoie un 404.
Sans param turpe → spot brut. Avec turpe → enrichi avec calcul HT/TTC en €/kWh.
Paramètres (tous optionnels)
| Paramètre | Défaut | Description |
|---|---|---|
| segment | C5 |
Segment tarifaire, C5 (BT ≤ 36 kVA) · C4 (BT > 36 kVA). |
| turpe | - | Option TURPE acheminement. Active le calcul HT/TTC. C5 : CU · CU4 · MUDT · LU · MU4C4 : CU · LU |
| profil | particulier |
Profil client (détermine l'accise), particulier (0,03085 €/kWh) · pro (0,02658 €/kWh). Forcé à pro pour C4. |
| display | TTC |
Mode d'affichage, HT · TTC (avec TVA 20%). Forcé à HT pour C4. |
| offre | standard |
Offre Sobry, standard (+0) · soflex (+0,010 €/kWh) · socap (+0,015 €/kWh). |
Exemples
# Spot brut curl https://api.sobry.co/v1/prices/tomorrow # Pricing complet C5 / particulier / TTC / SoFlex / CU4 curl "https://api.sobry.co/v1/prices/tomorrow?segment=C5&turpe=CU4&profil=particulier&display=TTC&offre=soflex"
const params = new URLSearchParams({
segment: 'C5',
turpe: 'CU4',
profil: 'particulier',
display: 'TTC',
offre: 'soflex'
});
const res = await fetch(`https://api.sobry.co/v1/prices/tomorrow?${params}`);
const data = await res.json();
console.log(`Moyenne spot demain : ${data.statistics.average} €/MWh`);
if (data.pricing_metadata) {
console.log(`Premier prix TTC : ${data.prices[0].price_ttc_eur_kwh} €/kWh`);
}import requests
r = requests.get('https://api.sobry.co/v1/prices/tomorrow', params={
'segment': 'C5',
'turpe': 'CU4',
'profil': 'particulier',
'display': 'TTC',
'offre': 'soflex',
})
data = r.json()
print(f"Moyenne spot demain : {data['statistics']['average']} €/MWh")
if 'pricing_metadata' in data:
print(f"Premier prix TTC : {data['prices'][0]['price_ttc_eur_kwh']} €/kWh")Réponse avec pricing activé
{
"success": true,
"date": "2026-05-19",
"timezone": "Europe/Paris (CET)",
"count": 96,
"statistics": {
"min": 32.50,
"max": 108.30,
"average": 65.20,
"median": 63.10
},
"pricing_metadata": {
"enabled": true,
"segment": "C5",
"turpe_option": "CU4",
"profil": "particulier",
"display": "TTC",
"offre": "soflex",
"tva_rate": 0.20,
"accise_eur_kwh": 0.03085,
"offer_adder_eur_kwh": 0.010,
"cee_capa_eur_kwh": 0.010,
"turpe_source": "table interne Sobry C5 (c€/kWh → €/kWh)",
"formula_ht": "spot_price_eur_kwh + turpe_eur_kwh + accise_eur_kwh + offer_eur_kwh + cee_capa_eur_kwh",
"formula_ttc": "price_ht_eur_kwh × (1 + TVA 20%)",
"units": { "spot_price": "€/MWh", "all_other_prices": "€/kWh" }
},
"prices": [
{
"timestamp": "2026-05-19T00:00:00+02:00",
"spot_price": 45.32,
"spot_price_eur_kwh": 0.04532,
"turpe_eur_kwh": 0.0116,
"accise_eur_kwh": 0.03085,
"offer_eur_kwh": 0.010,
"cee_capa_eur_kwh": 0.010,
"price_ht_eur_kwh": 0.10777,
"price_ttc_eur_kwh": 0.12932
}
// … 96 points en quarter_hourly
]
}