Address Lookup
Use for UK address lookup. Send keyword as a full postcode, outward code, local authority name, or free-text address. Set address to any truthy value to force full-text address search. Returns status and data; each result is an address, postcode, first_postcode, or authority item.
query Parameters
keywordSearch term. Determines the search strategy: full postcode (e.g. 'SW1A 1AA'), outward code (e.g. 'SW1A'), local authority name (e.g. 'BRISTOL'), or free-text address (e.g. '10 Downing Street'). Special characters other than letters, digits, spaces, commas, hyphens, apostrophes, and periods are stripped.
addressWhen present (any truthy value), forces Typesense full-text address search regardless of keyword format.
limitMax results to return. Typesense default: 7; postcode suggestions default: 10.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Responses
List of address, postcode, first_postcode, or authority results
statusAlways "OK" on success.
List of address, postcode, first_postcode, or authority results.
Street Lookup
Use for UK street or location search when the user provides query text. Returns up to 5 Google Places matches with formatted address, latitude and longitude, and the viewport converted to a closed WKT polygon.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Request Body
queryStreet or location text to search in the UK via Google Places Text Search.
Responses
Top Google Places street/location results with WKT viewport polygons
count