← All docs

REST API

Call the Addresso API directly from any language or platform. Authenticate with a Bearer token, search addresses, and pay only for what you use.

3 endpoints

Postcode, Address & Account

1 credit

Per API call

50 max

Results per request

Authentication

Every request requires a valid API key passed as a Bearer token. Create keys from your API Keys dashboard. Keys begin with ak_.

Header
Authorization: Bearer ak_your_api_key_here

Postcode Lookup

Retrieve every delivery point at a UK postcode. Returns the full PAF record for each address.

GET/api/postcodes/:postcode

Path parameters

postcodestringrequired

UK postcode. Spaces are optional — both SW1A1AA and SW1A 1AA work.

Example

bash
curl -H "Authorization: Bearer ak_your_key" \
  "https://addresso.co.uk/api/postcodes/SW1A1AA"

Flexible address search using free-text queries, structured filters, or both combined. At least one search parameter is required.

GET/api/addresses

Query parameters

qstring

Free-text search. Automatically detects postcodes. Otherwise each word is matched across all address fields.

postcodestring

Filter by exact postcode (normalised automatically).

townstring

Filter by exact town (case-insensitive).

streetstring

Filter by street name (partial match).

building_namestring

Filter by building name (partial match).

building_numberstring

Filter by exact building number.

organisationstring

Filter by organisation name (partial match).

limitnumber

Maximum results to return. Default and maximum is 50.

Free-text search

bash
curl -H "Authorization: Bearer ak_your_key" \
  "https://addresso.co.uk/api/addresses?q=10+Downing+Street"

Structured filters

bash
curl -H "Authorization: Bearer ak_your_key" \
  "https://addresso.co.uk/api/addresses?town=London&street=Downing"

Combined search

bash
curl -H "Authorization: Bearer ak_your_key" \
  "https://addresso.co.uk/api/addresses?q=Westminster&postcode=SW1A+1AA"

Account Status

Check your account's current credit balance and organisation details. This endpoint does not consume any credits.

GET/api/account

Example

bash
curl -H "Authorization: Bearer ak_your_key" \
  "https://addresso.co.uk/api/account"

Response fields

company.namestring

Your organisation name.

credits.balancenumber

Total credits available across all active batches.

credits.earliest_expirystring|null

ISO 8601 timestamp of the earliest credit batch expiry, or null if no credits remain.

Response Codes

200

OK

Request completed successfully. The response body contains the matching addresses.

400

Bad Request

Missing or invalid parameters. For address search, at least one search parameter is required.

401

Unauthorized

Missing, invalid, or revoked API key. Check your Authorization header.

402

Payment Required

Insufficient credits. Top up on the Billing page.

Address Fields

Every address object in the response contains the following fields.

FieldDescription
postcodeUK postcode (space-separated)
townTown
streetStreet name
secondary_streetSecondary street name
building_numberBuilding number
building_nameBuilding name
sub_buildingFlat, unit, or sub-building identifier
organisationOrganisation at this address
departmentDepartment within the organisation
localityVillage or neighbourhood
sub_localitySub-locality
po_boxPO Box number
udprnUnique Delivery Point Reference Number
postcode_typeS (small user) or L (large user)
delivery_point_suffixRoyal Mail delivery point suffix
formatted_addressComma-separated one-line summary of the address
latitudeLatitude of the postcode centroid (ONS)
longitudeLongitude of the postcode centroid (ONS)