The Board

Developer reference

Fixed deposit rates API

A read-only JSON API for published Sri Lankan bank and finance-company fixed-deposit rates.

Transport

HTTPS / JSON

Access

Read-only

Freshness

Published daily

Request conventions

Send query parameters as URL-encoded values and include Accept: application/json. Successful responses return JSON. Decimal fields such as rates are JSON strings, preserving the source precision.

curl -H "Accept: application/json" "BASE_URL/compare?tenure_months=12&variant=general&payout_type=maturity"

Response codes

ParameterValuesPurpose
200OKThe request completed successfully
404Not FoundThe requested institution does not exist
422Validation ErrorA required parameter is missing or a supplied value is invalid
500Server ErrorAn unexpected service error occurred
GET/health
Confirms that the read service and its database connection are available.
{"status":"ok"}
GET/institutions
Lists institutions tracked by the service, with their licence class and — where recorded — credit rating. Rating fields are null until one has been entered.
ParameterValuesPurpose
typebank | nbfiOptionally restrict results by institution type
active_onlytrue | falseReturn active institutions only; defaults to true
[{"id":"institution_id","name":"Institution name","type":"bank","website":"https://...","active":true,"license_type":"licensed_commercial_bank","credit_rating":"AA-(lka)","rating_agency":"Fitch Ratings Lanka","rating_updated":"2026-10-01"}]
GET/rates/current
Returns the currently published offers. Decimal values are returned as strings to preserve source precision.
ParameterValuesPurpose
institution_idstringFilter to one institution
typebank | nbfiFilter by institution type
variantgeneral | senior_citizen | women | digital | minorFilter customer eligibility
tenure_monthsnumberFilter maturity in months
payout_typematurity | monthly | quarterly | annualFilter interest payout schedule
[{"institution_id":"...","institution_name":"...","product_variant":"general","tenure_months":"12.00","rate_pa":"10.500","payout_type":"maturity","min_deposit":"10000","currency":"LKR","scraped_at":"2026-09-13T00:00:00Z","source_url":"https://..."}]
GET/rates/history/{'{institution_id}'}
Returns append-only rate changes, newest first. A direction is initial, up, down, or flat.
ParameterValuesPurpose
institution_idstring, requiredPath ID of the tracked institution
variantgeneral | senior_citizen | women | digital | minorFilter customer eligibility
tenure_monthsnumberFilter maturity in months
payout_typematurity | monthly | quarterly | annualFilter interest payout schedule
limit1-1000Maximum records; defaults to 200
offsetinteger >= 0Pagination offset
[{"institution_id":"...","tenure_months":"12.00","prev_rate_pa":"10.250","new_rate_pa":"10.500","direction":"up","changed_at":"2026-09-13T00:00:00Z"}]
GET/rates/changes
Market-wide feed of rate cuts and raises across every institution, newest first. First-time recordings (initial) are not changes and are left out.
ParameterValuesPurpose
sinceYYYY-MM-DDOnly changes on or after this date
typebank | nbfiFilter by institution type
directionup | downOnly raises or only cuts
institution_idstringFilter to one institution
limit1-1000Maximum records; defaults to 200
offsetinteger >= 0Pagination offset
[{"institution_id":"...","institution_name":"...","institution_type":"bank","product_variant":"general","tenure_months":"12.00","payout_type":"maturity","prev_rate_pa":"9.500","new_rate_pa":"9.000","direction":"down","changed_at":"2026-10-01T00:45:00Z"}]
GET/compare
Returns comparable current offers for one set of terms. Use this endpoint to build rankings or calculate market position.
ParameterValuesPurpose
tenure_monthsnumber, requiredMaturity to compare
variantgeneral | senior_citizen | women | digital | minorDefaults to general
payout_typematurity | monthly | quarterly | annualDefaults to maturity
typebank | nbfiOptionally restrict results by institution type
[{"institution_id":"...","institution_name":"...","institution_type":"nbfi","tenure_months":"12.00","rate_pa":"10.500","payout_type":"maturity"}]
GET/summary
Returns min, median, maximum, average, and tracked-institution count for each matching market group.
ParameterValuesPurpose
typebank | nbfiOptionally restrict the market group
variantgeneral | senior_citizen | women | digital | minorFilter customer eligibility
tenure_monthsnumberFilter maturity in months
payout_typematurity | monthly | quarterly | annualFilter interest payout schedule
[{"institution_type":"bank","product_variant":"general","tenure_months":"12.00","payout_type":"maturity","institution_count":12,"min_rate_pa":"8.500","median_rate_pa":"9.750","max_rate_pa":"11.000","avg_rate_pa":"9.810"}]
GET/summary/history
The /summary figures over time: one row per day per institution type, oldest first. Use it to chart how the median has moved.
ParameterValuesPurpose
tenure_monthsnumber, requiredMaturity to chart
variantgeneral | senior_citizen | women | digital | minorDefaults to general
payout_typematurity | monthly | quarterly | annualDefaults to maturity
typebank | nbfiOptionally restrict the market group
sinceYYYY-MM-DDOnly snapshots on or after this date
[{"snapshot_date":"2026-10-01","institution_type":"bank","product_variant":"general","tenure_months":"12.00","payout_type":"maturity","institution_count":18,"min_rate_pa":"6.750","median_rate_pa":"10.000","max_rate_pa":"10.500","avg_rate_pa":"9.319"}]
GET/freshness
When each institution's published rates were last confirmed against its own website. is_stale turns true once that is more than stale_after_days ago — treat those rates as possibly out of date.
ParameterValuesPurpose
institution_idstringFilter to one institution
[{"institution_id":"...","name":"Institution name","type":"bank","last_published_at":"2026-10-01T00:45:00Z","last_checked_at":"2026-10-04T00:45:00Z","last_verified_at":"2026-10-04T00:45:03Z","days_since_verified":0,"stale_after_days":3,"is_stale":false}]
GET/reports/best-rates
Returns each institution's single highest current offer, ordered from highest to lowest.
ParameterValuesPurpose
typebank | nbfiOptionally restrict results by institution type
limit1-100Maximum institutions; defaults to 20
[{"institution_id":"...","name":"Institution name","type":"bank","best_rate_pa":"11.000","best_tenure_months":"12.00","best_payout_type":"maturity","last_changed_at":"2026-09-13T00:00:00Z","trend":"up"}]

Data use

Rates are published from institution source material and may change without notice. Confirm the final rate and eligibility requirements with the institution before depositing. This data is informational and is not financial advice.