NewConnect Claude, Gemini, ChatGPT, and other AI agents to API Ninjas via our MCP server →
Interest Rate API

Central Bank of Colombia Interest Rate API

Colombia's central bank, Banco de la República (BanRep), sets the monetary policy rate, the benchmark for Colombian peso (COP) short-term interest rates. Its rate is among the highest in Latin America, and each decision moves the peso and local government bond yields. The Central Bank of Colombia Interest Rate API delivers the current and historical policy rate through two simple REST endpoints.

The Central Bank of Colombia Interest Rate API allows you to:

  • Get the current BanRep policy interest rate
  • Fetch historical BanRep rate data over any time range
  • Access rate data refreshed hourly through two simple REST endpoints
Online
(4.4)

From 3,856 users

1,000+

Application used this API in the last 28 days.

API Status

Online - All Systems Operational

API Response Times

Average
P50
P75
P90
P95
328ms370ms381ms718ms999ms

Didn't find what you were looking for? Suggest an improvement


/v2/interestrate GETPremium only

https://api.api-ninjas.com/v2/interestrate

Returns the current Central Bank of Colombia interest rate, including the rate name and the date the rate was last updated.


Parameters

  • rate  required

    Name of the interest rate to retrieve. Use central_bank_co for the Central Bank of Colombia. See the full list of supported rates.

Headers

  • X-Api-Key  required

    API Key associated with your account.

Response

A JSON object with the following fields or an error if the request is unsuccessful.

  • rate_name

    The name of the interest rate (e.g. Central Bank of Colombia).

  • rate_pct

    The interest rate value as a percentage.

  • last_updated

    The date the rate applies to (MM-DD-YYYY format).

Live Demo

Live demo
Query parameters
rate

Get a free API key to get started — no credit card required.

Headers
X-Api-KeyLog in or sign up to get your API key
GET
https://api.api-ninjas.com/v2/interestrate?rate=central_bank_co
Sample response
{
"rate_name": "Central Bank of Colombia",
"rate_pct": 12.25,
"last_updated": "10-01-2026"
}

Code Examples

curl -X GET "https://api.api-ninjas.com/v2/interestrate?rate=central_bank_co" \ -H "X-Api-Key: YOUR_API_KEY"

If your programming language is not listed above, you can still make API calls by using any HTTP request library and following the documentation above.


/v2/interestratehistorical GETPremium only

https://api.api-ninjas.com/v2/interestratehistorical

Returns historical Central Bank of Colombia interest rates, oldest first, up to 100 per call. You can specify a time range to retrieve data from. When there is more data in the range, the response includes a next cursor: pass it back as the page parameter to get the following page.

Parameters

  • rate  required

    Use central_bank_co for the Central Bank of Colombia.

  • start_date  optional

    Start date for the data range (inclusive) in YYYY-MM-DD format, e.g. 2025-01-01. Dates are in UTC.

  • end_date  optional

    End date for the data range (inclusive) in YYYY-MM-DD format. Dates are in UTC.

  • start_time  optional

    Start time for the data range, specified as a UNIX timestamp in seconds. Alternative to start_date; do not set both.

  • end_time  optional

    End time for the data range, specified as a UNIX timestamp in seconds. Alternative to end_date; do not set both.

  • page  optional

    Pagination cursor. Pass the next value from a previous response to get the following page.

Headers

  • X-Api-Key  required

    API Key associated with your account.

Response

A JSON object with the following fields or an error if the request is unsuccessful.

  • name

    The name of the interest rate (e.g. Central Bank of Colombia).

  • data

    Array of historical rate data objects, oldest first, each containing timestamp (UNIX timestamp in seconds), date (the date the rate applies to, YYYY-MM-DD) and rate_pct (interest rate as a percentage).

  • next

    Cursor for the next page of data points, or null when there are no more.

Live Demo

Live demo
Query parameters
rate
start_time
end_time

Get a free API key to get started — no credit card required.

Headers
X-Api-KeyLog in or sign up to get your API key
GET
https://api.api-ninjas.com/v2/interestratehistorical?rate=central_bank_co&start_time=1735689600
Sample response
{
"name": "Central Bank of Colombia",
"data": [
{
"timestamp": 1746144000,
"date": "2025-05-02",
"rate_pct": 9.25
},
{
"timestamp": 1769990400,
"date": "2026-02-02",
"rate_pct": 10.25
},
{
"timestamp": 1775001600,
"date": "2026-04-01",
"rate_pct": 11.25
},
{
"timestamp": 1782864000,
"date": "2026-07-01",
"rate_pct": 12
},
{
"timestamp": 1790812800,
"date": "2026-10-01",
"rate_pct": 12.25
}
],
"next": null
}

Code Examples

curl -X GET "https://api.api-ninjas.com/v2/interestratehistorical?rate=central_bank_co&start_time=1735689600" \ -H "X-Api-Key: YOUR_API_KEY"

Frequently Asked Questions

  • Yes, but you must have a premium subscription. Commercial use of the Interest Rate API is not permitted on the free tier. See our pricing page to choose a plan that fits your needs.
  • Sign up for a free account to instantly get your API key, then pass it in the X-Api-Key header on every request. The documentation above includes ready-to-run examples in cURL, Python, JavaScript, Node.js, and more.
  • Your API requests will simply be denied once you hit your monthly quota — you will never be charged more than the plan you signed up for. To increase your quota, you can upgrade your plan any time on our pricing page.
  • The API responds with a standard HTTP status code and a JSON error message describing the problem. See our error codes reference for the full list of codes and how to resolve each one, or contact support if you need help.
  • The API covers current central bank policy rates for over 35 countries, Federal Reserve and ECB policy corridor rates, plus major benchmark and prime rates, including SOFR, EURIBOR, ESTER, SONIA, SARON, TONAR, CORRA, EFFR, and Livret A, all queried via the rate parameter on the /v2/interestrate endpoint. For LIBOR-specific tooling see the LIBOR API, and explore the full API catalog for related finance data.
  • A request to /v2/interestrate returns a JSON object with rate_name (the name of the rate), rate_pct (the rate value as a percentage), and last_updated (the date the rate applies to, in MM-DD-YYYY format). See error codes for the response when a request is unsuccessful.
  • Use the /v2/interestratehistorical endpoint with the same rate parameter plus an optional date range, either start_date and end_date in YYYY-MM-DD format or start_time and end_time UNIX timestamps (in seconds); it returns up to 100 data points per call as a data array of objects with timestamp, date (YYYY-MM-DD) and rate_pct. The history endpoint and most rates need a premium plan; free accounts get a small selection of current rates that changes weekly. See our pricing page for access details.
  • Rates are refreshed hourly, making the API suitable for finance dashboards, mortgage and loan calculators, and macroeconomic monitoring tools. Pair it with the Mortgage Rate API, Inflation API, or Exchange Rate API for richer financial applications.