Api Endpoint

Saylor Innovations Data Desk

UK postcode lookup - latitude, longitude, ward, district, constituency, region and LSOA for any full UK postcode from Ordnance Survey open data

Open interactive test console

Offering

Provider
saylorinnovations.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Location And Travel
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://saylorinnovations.com/api/uk/postcode/:postcode
MIME type
Not provided
First seen
2026-10-16T01:59:13.392Z
Last seen
Tags
uk postcode lookup, postcode to coordinates, postcode to constituency, ward and district by postcode, lsoa lookup

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.01 USDC
Atomic price: 10000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "10000",
    "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7"
  }
]

Observed health

Status
Reachable
Latest latency
78 ms
Average latency
338 ms
HTTP status
400
Last checked
Reachability
100% over 11 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "method": {
      "enum": [
        "GET",
        "POST",
        "PUT",
        "PATCH",
        "DELETE",
        "HEAD"
      ],
      "type": "string"
    },
    "pathParams": {
      "properties": {
        "postcode": {
          "description": "Full UK postcode in the path, e.g. SW1A2AA",
          "type": "string"
        }
      },
      "required": [
        "postcode"
      ],
      "type": "object"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "pathParams"
  ],
  "type": "object"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET",
            "POST",
            "PUT",
            "PATCH",
            "DELETE",
            "HEAD"
          ],
          "type": "string"
        },
        "pathParams": {
          "properties": {
            "postcode": {
              "description": "Full UK postcode in the path, e.g. SW1A2AA",
              "type": "string"
            }
          },
          "required": [
            "postcode"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "pathParams"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "codes": {
              "description": "Codes assigned to the record",
              "type": "object"
            },
            "constituency": {
              "type": [
                "string",
                "null"
              ]
            },
            "country": {
              "description": "Country name",
              "type": "string"
            },
            "county": {
              "description": "County",
              "type": [
                "string",
                "null"
              ]
            },
            "district": {
              "type": [
                "string",
                "null"
              ]
            },
            "eastings": {
              "type": [
                "number",
                "null"
              ]
            },
            "incode": {
              "type": [
                "string",
                "null"
              ]
            },
            "lat": {
              "description": "Latitude in decimal degrees",
              "type": [
                "number",
                "null"
              ]
            },
            "lon": {
              "description": "Longitude in decimal degrees",
              "type": [
                "number",
                "null"
              ]
            },
            "lsoa": {
              "type": [
                "string",
                "null"
              ]
            },
            "msoa": {
              "type": [
                "string",
                "null"
              ]
            },
            "nhs_region": {
              "description": "Nhs region",
              "type": [
                "string",
                "null"
              ]
            },
            "northings": {
              "type": [
                "number",
                "null"
              ]
            },
            "outcode": {
              "type": [
                "string",
                "null"
              ]
            },
            "parish": {
              "type": [
                "string",
                "null"
              ]
            },
            "postcode": {
              "type": "string"
            },
            "quality": {
              "type": [
                "number",
                "null"
              ]
            },
            "region": {
              "description": "Region",
              "type": [
                "string",
                "null"
              ]
            },
            "source": {
              "description": "Data source the values come from",
              "type": "string"
            },
            "ward": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "postcode",
            "lat",
            "lon"
          ],
          "type": "object"
        },
        "type": {
          "const": "json",
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}