← Agent Data Hub · Search endpoints · /llms.txt

Lending interest rate (%) by Country — History since 1960 (World Bank)

Lending interest rate (%) for any country or region (ISO-2 code), with the latest value, change vs. previous year and the yearly history (default last 10 years, up to 1960). Indicator FR.INR.LEND.

Call it (no API key)

GET https://api.agentdatahub.de/api/v1/call/wb-lending-interest-rate?country=DE&years=10&compact=1

Full metadata: verbose=1 · Markdown: format=llm · Only some fields: add &fields=a,b.c · MCP: tool call_api with {"apiId":"wb-lending-interest-rate"}

How to fetch it

curl:

curl -s 'https://api.agentdatahub.de/api/v1/call/wb-lending-interest-rate?country=DE&years=10&compact=1'

Python (standard library only):

import json, urllib.request

url = "https://api.agentdatahub.de/api/v1/call/wb-lending-interest-rate?country=DE&years=10&compact=1"
with urllib.request.urlopen(url, timeout=30) as r:
    data = json.load(r)
print(json.dumps(data, indent=2)[:2000])

Google Sheets:

This endpoint answers in JSON. Any recorded series loads as a table with =IMPORTDATA("https://api.agentdatahub.de/api/v1/series/<id>?format=csv") (Excel: Data → From Web); find ids with /api/v1/series?q=….

Parameters

countryISO-2 country or World Bank region code, e.g. DE, US, CN, EU, 1W (world), or a country group for a table of all members (G20, WORLD, EU27, OECD) (default: DE)
yearsNumber of most recent years to return, 1-70 (default: 10)
periodOnly with a country group: latest (default, newest value of every member, the period on each row), common (all rows the newest period at least 80 % of the covered members have; the others stand in missing with their newest value) or one period such as 2024 or 2025-03 (all rows that period)
topOnly with a country group: rank the members and return the first N, 1-50; every row gets its rank, equal values share one (period defaults to common then)
orderOnly with a country group: desc (default, highest is rank 1) or asc (lowest is rank 1)

Example response (live, compact)

{
  "apiId": "wb-lending-interest-rate",
  "trust": "checked",
  "data_freshness": "live",
  "data": {
    "error": "No data for FR.INR.LEND in DE"
  },
  "report": "Does a value disagree with its source? `report_issue` reports it (no account, no reply).",
  "source": "World Bank World Development Indicators",
  "source_url": "https://data.worldbank.org/indicator/FR.INR.LEND",
  "license": "World Bank CC-BY 4.0 Open Data",
  "licence_status": "green"
}

Source & license

SourceWorld Bank World Development Indicators
LicenseWorld Bank CC-BY 4.0 Open Data
Source URLhttps://data.worldbank.org/indicator/FR.INR.LEND
Termshttps://www.worldbank.org/en/about/legal/terms-of-use-for-datasets
CategoryFinance & Markets › Macro Indicators (World Bank, full history) · more: wb-life-expectancy · wb-manufacturing-share · wb-market-cap-listed-gdp