← Agent Data Hub · Search endpoints · /llms.txt
Crude oil production (including lease condensate), total petroleum and other liquids production, petroleum consumption and refined products consumption for every country and the world, in thousand barrels per day, every year since 1980, from the U.S. Energy Information Administration (public domain). Proved oil reserves are not included (the EIA no longer publishes them). Options for series: country: WLD, AE, AL, AO, AR, AT, AU, AZ, BB, BD, BG, BH, BJ, BN, BO, BR, BY, BZ, CA, CD, CG, CI, CL, CM, CN, CO, CU, CZ, DE, DK, DZ, EC, EG, ES, FR, GA, GB, GE, GH, GQ, GR, GT, GY, HR, HU, ID, IL, IN, IQ, IR, IT, JO, JP, KG, KW, KZ, LT, LY, MA, MM, MN, MR, MX, MY, NE, NG, NL, NO, NZ, OM, PE, PG, PH, PK, PL, QA, RO, RS, RU, SA, SD, SE, SI, SK, SN, SR, SS, SY, TD, TH, TJ, TL, TM, TN, TR, TT, UA, US, UZ, VE, VN, YE, ZA, TW, BA, BE, CH, CR, CY, DO, EE, ET, FI, HN, IE, JM, KE, KH, KP, KR, LB, LK, LV, MG, MK, MT, MU, MW, MZ, NI, PA, PT, PY, RW, SG, SL, SO, SV, SZ, TZ, UY, ZM, ZW, AW, HK, MQ, PR, VI, AF, AG, AM, BF, BI, BS, BT, BW, CF, CV, DJ, DM, ER, FJ, FM, GD, GM, GN, GW, HT, IS, KI, KM, KN, LA, LC, LR, LS, LU, MD, ME, ML, MV, NA, NP, NR, SB, SC, ST, TG, TO, UG, VC, VU, WS, AS, BM, CK, KY, EH, FK, FO, GI, GP, GL, GF, GU, MO, MS, NC, NU, PS, PF, RE, SH, PM, TC, VG; measure: crude-oil-production, liquids-production, consumption, refined-products-consumption.
GET https://api.agentdatahub.de/api/v1/call/oil-production-consumption-by-country?country=WLD&measure=crude-oil-production&compact=1
Full metadata: verbose=1 · Markdown: format=llm · Only some fields: add &fields=a,b.c · MCP: tool call_api with {"apiId":"oil-production-consumption-by-country"}
curl:
curl -s 'https://api.agentdatahub.de/api/v1/call/oil-production-consumption-by-country?country=WLD&measure=crude-oil-production&compact=1'
Python (standard library only):
import json, urllib.request
url = "https://api.agentdatahub.de/api/v1/call/oil-production-consumption-by-country?country=WLD&measure=crude-oil-production&compact=1"
with urllib.request.urlopen(url, timeout=30) as r:
data = json.load(r)
print(json.dumps(data, indent=2)[:2000])
Google Sheets:
=IMPORTDATA("https://api.agentdatahub.de/api/v1/history/oil-production-consumption-by-country?country=WLD&measure=crude-oil-production&_order=desc&_limit=500&format=csv")
The recorded history of this call as CSV, newest first. Excel: Data → From Web with the same address.
country | Country or territory (ISO-2 code or name), or WLD for the world (required; several comma-separated to compare, up to 10 series): WLD, AE, AL, AO, AR, AT, AU, AZ, BB, BD, BG, BH, BJ, BN, BO, BR, BY, BZ, CA, CD, CG, CI, CL, CM, CN, CO, CU, CZ, DE, DK, DZ, EC, EG, ES, FR, GA, GB, GE, GH, GQ, GR, GT, GY, HR, HU, ID, IL, IN, IQ, IR, IT, JO, JP, KG, KW, KZ, LT, LY, MA, MM, MN, MR, MX, MY, NE, NG, NL, NO, NZ, OM, PE, PG, PH, PK, PL, QA, RO, RS, RU, SA, SD, SE, SI, SK, SN, SR, SS, SY, TD, TH, TJ, TL, TM, TN, TR, TT, UA, US, UZ, VE, VN, YE, ZA, TW, BA, BE, CH, CR, CY, DO, EE, ET, FI, HN, IE, JM, KE, KH, KP, KR, LB, LK, LV, MG, MK, MT, MU, MW, MZ, NI, PA, PT, PY, RW, SG, SL, SO, SV, SZ, TZ, UY, ZM, ZW, AW, HK, MQ, PR, VI, AF, AG, AM, BF, BI, BS, BT, BW, CF, CV, DJ, DM, ER, FJ, FM, GD, GM, GN, GW, HT, IS, KI, KM, KN, LA, LC, LR, LS, LU, MD, ME, ML, MV, NA, NP, NR, SB, SC, ST, TG, TO, UG, VC, VU, WS, AS, BM, CK, KY, EH, FK, FO, GI, GP, GL, GF, GU, MO, MS, NC, NU, PS, PF, RE, SH, PM, TC, VG |
measure | crude-oil-production (default), liquids-production, consumption, refined-products-consumption (required; several comma-separated to compare, up to 10 series): crude-oil-production, liquids-production, consumption, refined-products-consumption |
series | Optional full series key as returned by /ask (instead of the parameters above), comma-separated for several |
from | Optional start YYYY, YYYY-MM or YYYY-MM-DD |
to | Optional end YYYY, YYYY-MM or YYYY-MM-DD |
last | Number of most recent periods when no from/to is given, 1-500 (default: 13) |
group | Optional country group instead of country (EU27, EA, OECD, G7, G20, a continent): one row per member, newest value each |
period | Only with group: latest (default) or common (one period across members) |
{
"apiId": "oil-production-consumption-by-country",
"trust": "checked",
"data_freshness": "cached",
"data": {
"country": "WLD",
"measure": "crude-oil-production",
"series": "World — Crude oil including lease condensate production (thousand barrels per day, yearly)",
"unit": "thousand barrels per day",
"frequency": "A",
"latest": {
"period": "2025",
"value": 84462.56
},
"history": [
{
"period": "2013",
"value": 76817.11
},
{
"period": "2014",
"value": 78631.56
},
{
"period": "2015",
"value": 80938.15
},
{
"period": "2016",
"value": 80986.64
},
{
"period": "2017",
"value": 81204.71
},
{
"period": "2018",
"value": 82927.6
},
{
"period": "2019",
"value": 82050.29
},
{
"period": "2020",
"value": 75816.52
},
{
"period": "2021",
"value": 77008.55
},
{
"period": "2022",
"value": 80918.71
},
{
"period": "2023",
"value": 82086.78
},
{
"period": "2024",
"value": 81958.2
},
{
"period": "2025",
"value": 84462.56
}
],
"available": {
"from": "1973",
"to": "2025",
"points": 53
},
"note": "World total of the EIA.",
"verification": {
"checked_at": "2026-12-01T04:50:38.622Z",
"checks": []
},
"source": {
"publisher": "U.S. Energy Information Administration (EIA)",
"licence": "Public domain (U.S. government publication); EIA asks for an acknowledgment with the publication date",
"licence_url": "https://www.eia.gov/about/copyrights_reuse.php",
"source_url": "https://www.eia.gov/international/data/world",
"source_url_level": "dataset",
"series_title": "Crude oil including lease condensate production, World, Annual"
},
"attribution": "Source: U.S. Energy Information Administration, International Energy Statistics"
},
"source": "U.S. Energy Information Administration (EIA)",
"source_url": "https://www.eia.gov/international/data/world",
"license": "Public domain (U.S. government publication); EIA asks for an acknowledgment with the publication date",
"licence_status": "yellow",
"as_of": "2025",
"checked": "2026-12-01"
}
Recorded history available: /api/v1/history/oil-production-consumption-by-country?country=WLD&measure=crude-oil-production
| Source | U.S. Energy Information Administration (EIA) |
| License | Public domain (U.S. government publication); EIA asks for an acknowledgment with the publication date |
| Source URL | https://www.eia.gov/about/copyrights_reuse.php |
| Terms | https://www.eia.gov/about/copyrights_reuse.php |
| Category | Energy & Climate › Energy by Country (EIA) · more: primary-energy-by-country · us-retail-fuel-prices · world-air-quality |