Endpoints
Base URL
/v1 endpoints. Local development uses http://api.catchment.app.local:3002/v1.
Authentication and access
Enabled external organisations can use the API. Membership of an internal organisation is not required. API access is opt-in; a plan or package alone does not enable it.
Requests
A postcode request can mix catchment and authority keys. Catchment values stay in
values; authority values stay in local_authority.values. Neither section describes the other geography.
Responses
Missing values are not zero. Care counts preserve genuine zeros; existing demographic and housing metrics retain their own null policies. A valid request with unavailable metrics returns
200, with null values and status: "unavailable". A service failure returns 500 rather than being presented as unavailable data.
Credits
These credits are separate from PICSy Analyst credit. They are a trial usage allowance, not a payment or subscription charge.
Requests that complete credit accounting return
credits.used and credits.remaining, mirrored by X-Credits-Used and X-Credits-Remaining. Authentication failures, rate-limit failures and accounting failures may omit these fields. Free endpoints remain available at a zero credit balance, subject to access and rate limits.
Client-supplied idempotency keys are not supported. A new attempt is a new request. If transport or accounting fails, settlement can be uncertain; include the original request ID when reporting a credit discrepancy.
Rate limits
The rate limit and credit balance are separate. Rate limiting is per key; credits are shared across the organisation.
Errors
The OpenAPI reference defines the JSON error fields. Credits remain optional on error responses because authentication or accounting may not have completed.
Coverage and periods
Catchment and cell metrics cover Great Britain where the necessary source data is available. Postcodes in Northern Ireland have no precomputed catchment. Area mappings support output areas across Great Britain, LSOAs/MSOAs in England and Wales, and data zones/intermediate zones in Scotland. Authority occupancy covers English reporting areas only. Districts can resolve to parent counties. Each occupancy category uses its latest published source month; missing or suppressed authority values stay unavailable. No older month or England average is substituted. Council fees use the latest usable financial year independently for residential and nursing care; funding bases can differ between sources and nations.period_basis in the metric catalogue identifies source-period, current published, mixed population/supply, latest-financial-year or latest-reporting-month values. It does not make all datasets current-year observations. projection_year affects supported population inputs and derived demand; existing beds, quoted fees, planning and authority observations are not projected.
Private residential and nursing fees are separate. Five years of historical private fees is not provided. Individual metric availability and the organisation’s current permitted keys are returned by GET /v1/metrics.