Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Central bank interest rates for G10 countries
GET https://api.marketdataset.ai/macro/rates
country
US
EU
GB
JP
CH
AU
NZ
CA
NO
SE
start_date
end_date
limit
100
500
cursor
curl "https://api.marketdataset.ai/macro/rates?country=US&limit=12" \ -H "X-API-KEY: sk_your_key"
import requests response = requests.get( "https://api.marketdataset.ai/macro/rates", params={"country": "US", "limit": 12}, headers={"X-API-KEY": "sk_your_key"}, ) print(response.json())
{ "rates": [ { "country": "US", "bank_name": "Federal Reserve", "rate": 5.33, "effective_date": "2024-09-01", "change": -0.25 }, { "country": "US", "bank_name": "Federal Reserve", "rate": 5.58, "effective_date": "2024-08-01", "change": 0.0 } ], "next_page_url": null, "meta": { "request_id": "req_abc123", "credits_used": 0.01, "credits_remaining": 49.99 } }
rate
5.33
effective_date
change