Market mortgage rates
GET /v1/market/mortgage-ratesAverage UK mortgage rates from the Bank of England: 2-year fixed, 3-year fixed at 75% LTV, and the standard variable rate.
Same call over MCP
Bank of England mortgage ratesmortgage_ratesAuthenticate with an API key from the API & MCP Hub. The same call is available as an MCP tool at the same price.
Reference
What GET /v1/market/mortgage-rates returns
This is the BoE's published market average — an input to an appraisal, not a quote. It carries no applicant, product or lender, so do not present it as a rate someone can get. Pair it with a yield figure or an appraisal (site_appraisal) rather than quoting it alone.
No parameters: it is one national series.
Request
Calling GET /v1/market/mortgage-rates
curl "https://api.marketcode.ai/v1/market/mortgage-rates" \
-H "Authorization: Bearer $MARKETCODE_API_KEY"Send your API key as a Bearer token. Every response carries credits_charged and credits_remaining.
Inputs
Parameters
This endpoint takes no path or query parameters.
Response
What GET /v1/market/mortgage-rates returns for a real request
curl "https://api.marketcode.ai/v1/market/mortgage-rates" \
-H "Authorization: Bearer $MARKETCODE_API_KEY"{
"data": {
"fixed_rate_2_year": {
"date": "2026-07-31",
"avg_interest_rate": "4.79%"
},
"fixed_rate_3_year": {
"date": "2026-07-31",
"avg_interest_rate": "4.68%"
},
"variable_rate": {
"date": "2026-07-31",
"avg_interest_rate": "6.60%"
},
"source": "bank_of_england",
"execution_time_ms": 5.210638046264648
},
"credits_charged": 0
}A real response, captured from production and trimmed: arrays to three items, long strings shortened, volatile keys dropped.
Response
Response fields
| Field | Type | Example |
|---|---|---|
| data | object | |
| data.fixed_rate_2_year | object | |
| data.fixed_rate_2_year.date | string | 2026-07-31 |
| data.fixed_rate_2_year.avg_interest_rate | string | 4.79% |
| data.fixed_rate_3_year | object | |
| data.fixed_rate_3_year.date | string | 2026-07-31 |
| data.fixed_rate_3_year.avg_interest_rate | string | 4.68% |
| data.variable_rate | object | |
| data.variable_rate.date | string | 2026-07-31 |
| data.variable_rate.avg_interest_rate | string | 6.60% |
| data.source | string | bank_of_england |
| data.execution_time_ms | number | 5.210638046264648 |
| credits_charged | integer | 0 |
Fields observed in the example response above; a field the example did not exercise is not listed.
Price and licence
What it costs, and where the data comes from
Market mortgage rates is free over MCP and over REST, and the two surfaces share one credit balance. Free calls need a signed-in account or an API key and appear in your usage, but they never touch your balance.
Credits are granted on sign-up and bought in packs; the pricing page lists every call.
Sources
- Bank of England
Quoted household interest rates
Bank of England data terms; free to reuse with attribution · UK
Related
Endpoints used with Market mortgage rates
- Site appraisal dossier5 credits
site_appraisalEverything known about ONE site, assembled and judged — the site dossier.Named in the description - Local Housing Allowance rateFree
lha_rateLocal Housing Allowance for a postcode and bedroom category — the ceiling on housing benefit, and therefore the effective rent floor for a benefit-funded tenancy. Nothing else in this API tells you what the state will pay for a property.Same category
FAQ
Questions about Market mortgage rates
How much does `mortgage_rates` cost?
+
Market mortgage rates is free over MCP and over REST, and the two surfaces share one credit balance. Free calls need a signed-in account or an API key and appear in your usage, but they never touch your balance.
How do I authenticate?
+
Send your API key as a Bearer token in the Authorization header. Keys are created in the API & MCP Hub, shown once and revocable. Every response carries the credits charged and your remaining balance.
Is there an MCP version?
+
Yes. The mortgage_rates tool on the MarketCode MCP server is the same call at the same price, signed in with OAuth rather than a key, so Claude, ChatGPT, Codex and Cursor can run it in a conversation.
Where does the data come from?
+
Read from Bank of England quoted household interest rates.
Does `mortgage_rates` change anything?
+
No. The tool is annotated read-only on the server, so it never writes to your data or ours and an assistant can call it without a confirmation step.
Try Market mortgage rates on a real address.
30-minute call. We'll provision a key and walk through the endpoint on your use case.