← Back to Financial Datasets
GET/macro/interest-rates
Interest Rates (Historical)
Historical interest rates for all major central banks in the world.
Financial Datasets·$0.025 per call
Example code
// Using @orth/sdk - The simplest way to call APIs
// Install: npm install @orth/sdk
import Orthogonal from "@orth/sdk";
const orthogonal = new Orthogonal({
apiKey: process.env.ORTHOGONAL_API_KEY,
});
const output = await orthogonal.run({
api: "financial-datasets",
path: "/macro/interest-rates",
query: {
"bank": "example"
}
});
console.log(output);Query parameters
bankrequired
string
The bank whose interest rates to return. Use the /macro/interest-rates/banks endpoint to get a list of available banks.
start_date
string
The start date of the interest rates to return in YYYY-MM-DD format.
end_date
string
The end date of the interest rates to return in YYYY-MM-DD format.