List the series of central bank policy rates
curl --request GET \
--url https://api.darvas.app/v1/macro/interest-rates/banks \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/macro/interest-rates/banks"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.darvas.app/v1/macro/interest-rates/banks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"resource": "interest_rates",
"banks": [
"FED",
"ECB"
]
}{
"error": "VALIDATION_ERROR",
"message": "Send ticker or cik"
}{
"error": "UNAUTHORIZED",
"message": "The API key is not valid"
}{
"error": "PLAN_REQUIRED",
"message": "The account of this key has no active data API plan"
}{
"error": "NOT_FOUND",
"message": "No company has this ticker or CIK"
}{
"error": "RATE_LIMITED",
"message": "Too many requests"
}{
"error": "INTERNAL_ERROR",
"message": "Something went wrong"
}{
"error": "UNAVAILABLE",
"message": "The data service is unavailable"
}Interest Rates
Supported Central Bank Codes Directory API
List all 31 central bank identifiers (FED, ECB, BOE, BOJ, CBRT and more) with country codes and policy rate descriptions for the Interest Rates API.
List the series of central bank policy rates
curl --request GET \
--url https://api.darvas.app/v1/macro/interest-rates/banks \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/macro/interest-rates/banks"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.darvas.app/v1/macro/interest-rates/banks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"resource": "interest_rates",
"banks": [
"FED",
"ECB"
]
}{
"error": "VALIDATION_ERROR",
"message": "Send ticker or cik"
}{
"error": "UNAUTHORIZED",
"message": "The API key is not valid"
}{
"error": "PLAN_REQUIRED",
"message": "The account of this key has no active data API plan"
}{
"error": "NOT_FOUND",
"message": "No company has this ticker or CIK"
}{
"error": "RATE_LIMITED",
"message": "Too many requests"
}{
"error": "INTERNAL_ERROR",
"message": "Something went wrong"
}{
"error": "UNAVAILABLE",
"message": "The data service is unavailable"
}Overview
banks lists the symbols to pass as bank. bank_details gives each bank’s name, the first date Darvas holds and its BIS series.
| Coverage | Details |
|---|---|
| Banks | All 31 BIS central bank codes accepted by Interest Rates and Rates Snapshot |
| Fields | banks symbol list and bank_details with name, first date and BIS series |
| Credits | One credit per call that returns data, however many rows it lists |
| MCP tool | list_interest_rates_series on the data API MCP server |
Example
curl -H "X-API-KEY: $DARVAS_API_KEY" \
"https://api.darvas.app/v1/macro/interest-rates/banks"
Authorizations
apiKeybearerKey
Response
List the series of central bank policy rates: one page.
The banks of the central bank policy rates.