← Agent Data Hub · All datasets · /llms.txt

Oil rents (% of GDP)

Oil rents (% of GDP) — World: 1.3625 % of GDP in 2021 (previous: 0.7101 % of GDP in 2020). Source: World Bank World Development Indicators, code NY.GDP.PETR.RT.ZS.

Data, no API key: GET https://api.agentdatahub.de/api/v1/series/wb.NY.GDP.PETR.RT.ZS.1W?_from=2000&format=csv (CSV; JSON without format=csv) · every country in one table: /tables/wb.NY.GDP.PETR.RT.ZS/WORLD (CSV).

Oil rents (% of GDP): 248 series, annual data from 1970 to 2021 (10,818 data points, unit: % of GDP). Free JSON or CSV over a REST API and MCP, no API key, updated automatically.

Tools: public holidays · FX rate on a day · purchasing power · AI model prices · VAT rates and minimum wages · licence of each publisher

About this indicator

Oil rents are the difference between the value of crude oil production at regional prices and total costs of production.

Definition: World Bank, from The Changing Wealth of Nations, World Bank (WB), uri: https://www.worldbank.org/en/publication/changing-wealth-of-nations/data, note: World …, source.

Recent values: Oil rents (% of GDP) — 1W

PeriodValue (% of GDP)
20211.3625
20200.7101
20191.346
20181.5652
20171.1041
20160.831
20150.9873
20142.1216
20132.416
20122.6614
20112.7905
20102.0455

Read from the archive when this page was served (2026-12-03 17:30 UTC). Full history: the address above.

Get the data (no API key)

Range: _from/_to (year, YYYY-MM or date) · Resample: resample=D|W|M|Q|A with agg=mean|last|min|max|sum · MCP: tool get_series with {"id":"wb.NY.GDP.PETR.RT.ZS.1W"} · Python, Google Sheets and curl to copy: /api/v1/series/wb.NY.GDP.PETR.RT.ZS.1W/snippets · more kits: /build

Tables across country groups

One period across members, highest first: World (all countries) (ranking) · European Union (ranking) · Group of Twenty (ranking) · OECD (members) (ranking) · Euro area (ranking). Also as .csv and .json, e.g. /tables/wb.NY.GDP.PETR.RT.ZS/WORLD.json.

Several countries over time, one row per period and one column per country: /tables/wb.NY.GDP.PETR.RT.ZS/US,DE,FR.csv?from=2010 (up to 30 comma-separated codes; from, to, last; also .json).

All series, latest value (248)

Series address: https://api.agentdatahub.de/api/v1/series/wb.NY.GDP.PETR.RT.ZS.{code}, e.g. /api/v1/series/wb.NY.GDP.PETR.RT.ZS.1W; add ?format=csv for CSV.

Place / seriesCodeLatest (% of GDP), 2021
ArgentinaAR1.5444
AustraliaAU0.2642
BrazilBR2.6045
CanadaCA2.8298
ChinaCN0.3086
FranceFR0.0071
GermanyDE0.014
IndiaIN0.3256
IndonesiaID0.766
ItalyIT0.077
JapanJP0.00223
MexicoMX2.0659
RussiaRU9.6716
Saudi ArabiaSA23.6863
South AfricaZA0.396
South KoreaKR0.0283
TürkiyeTR0.138
United KingdomGB0.4161
United StatesUS0.6115

Not in this table: 214 more series and 15 regions and income groups. All countries with values: /tables/wb.NY.GDP.PETR.RT.ZS/WORLD (also .csv, .json). Every series: GET /api/v1/series?prefix=wb.NY.GDP.PETR.RT.ZS.&limit=500

Source & license

Source: World Bank World Development Indicators · License: World Bank CC-BY 4.0 Open Data · Terms: https://www.worldbank.org/en/about/legal/terms-of-use-for-datasets · Last update: 2026-12-02 21:19:06 UTC · Checked: 2026-12-02 (oldest of its series) · Publisher page

Value wrong? Report it

Please no personal data. No account, no reply; the report is kept for 12 months to fix errors (privacy).