{
  "x402Version": 2,
  "id": 13271,
  "slug": "13271",
  "resource": "https://postcode-api-production.up.railway.app/lookup/address",
  "description": "Search UK postcodes by free-text address or place query; returns up to 100 matching postcode records.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xFFc458dB291b4ABcE020fE3de4f91F2770E537b1",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "limit": 10,
            "query": "Buckingham Palace"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 1,
            "query": "Buckingham Palace",
            "results": [
              {
                "admin_county": null,
                "admin_district": "Westminster",
                "admin_ward": "St James's",
                "ccg": "NHS North West London",
                "codes": {
                  "admin_district": "E09000033",
                  "admin_ward": "E05013806"
                },
                "country": "England",
                "date_of_introduction": "198001",
                "european_electoral_region": "London",
                "incode": "1AA",
                "latitude": 51.501009,
                "longitude": -0.141588,
                "lsoa": "Westminster 018C",
                "msoa": "Westminster 018",
                "nuts": "Westminster",
                "outcode": "SW1A",
                "parish": "Westminster, unparished area",
                "parliamentary_constituency": "Cities of London and Westminster",
                "postcode": "SW1A 1AA",
                "primary_care_trust": "Westminster",
                "quality": 1,
                "region": "London"
              }
            ]
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "limit": {
                    "description": "Maximum number of matching postcodes to return (1-100, default 10).",
                    "maximum": 100,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "query": {
                    "description": "Free-text address or place query to match against UK postcodes.",
                    "type": "string"
                  }
                },
                "required": [
                  "query"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "count": {
                    "type": "integer"
                  },
                  "query": {
                    "type": "string"
                  },
                  "results": {
                    "description": "Matching postcode records; each matches the /lookup/postcode result shape.",
                    "items": {
                      "properties": {
                        "admin_county": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "admin_district": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "admin_ward": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "ccg": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "codes": {
                          "type": "object"
                        },
                        "country": {
                          "type": "string"
                        },
                        "date_of_introduction": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "european_electoral_region": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "incode": {
                          "type": "string"
                        },
                        "latitude": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "longitude": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "lsoa": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "msoa": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "nuts": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "outcode": {
                          "type": "string"
                        },
                        "parish": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parliamentary_constituency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "postcode": {
                          "type": "string"
                        },
                        "primary_care_trust": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "quality": {
                          "type": "integer"
                        },
                        "region": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "postcode-api-production.up.railway.app",
  "lastUpdated": "2026-09-14T20:00:54.378Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-09-14T20:00:54.095Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "postcode-api-production.up.railway.app",
    "manifest_name": "postcode-api-production.up.railway.app",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}