{
  "x402Version": 2,
  "id": 35631,
  "slug": "35631",
  "resource": "https://agentsvc.io/api/v1/proxy/postal-code",
  "description": "Postal codes for 70 countries (GeoNames via zippopotam.us): postal code to place names, state and coordinates, or city + state to all its postal codes. For GB, CA and IE only the outward part (e.g. SW1A) is resolved. Params: country (ISO2, required), postal_code, or city + state (state abbreviation, e.g. CA, BY).",
  "type": "http",
  "serviceName": "Postal Code Lookup",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791462963/bazaar-icons/243ff0b79dbee242.png",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2500",
      "amountUsd": 0.0025,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "5JzPS5qpEwUM1vTC9GG7uqvwJdHzbEwfoPHf2Ki977tg",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "2500",
      "amountUsd": 0.0025,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "2500",
      "amountUsd": 0.0025,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "2500",
      "amountUsd": 0.0025,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "data": {
            "properties": {
              "country": {
                "type": "string"
              },
              "found": {
                "type": "boolean"
              },
              "places": {
                "items": {
                  "properties": {
                    "lat": {
                      "type": "number"
                    },
                    "lon": {
                      "type": "number"
                    },
                    "place": {
                      "type": "string"
                    },
                    "state": {
                      "type": "string"
                    },
                    "state_code": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": "array"
              },
              "postal_code": {
                "type": "string"
              },
              "source": {
                "type": "string"
              }
            },
            "required": [
              "country",
              "found"
            ],
            "type": "object"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success",
          "data"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "category": "data",
      "info": {
        "input": {
          "body": {
            "country": "DE",
            "postal_code": "80331"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "country": "DE",
              "found": true,
              "places": [
                {
                  "lat": 48.1345,
                  "lon": 11.571,
                  "place": "München",
                  "state": "Bayern",
                  "state_code": "BY"
                }
              ],
              "postal_code": "80331",
              "source": "zippopotam.us (GeoNames)"
            },
            "success": true
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "city": {
                    "type": "string"
                  },
                  "country": {
                    "description": "ISO 3166-1 alpha-2",
                    "type": "string"
                  },
                  "postal_code": {
                    "type": "string"
                  },
                  "state": {
                    "description": "State abbreviation, required with city",
                    "type": "string"
                  }
                },
                "required": [
                  "country"
                ]
              },
              "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": {
                  "data": {
                    "properties": {
                      "country": {
                        "type": "string"
                      },
                      "found": {
                        "type": "boolean"
                      },
                      "places": {
                        "items": {
                          "properties": {
                            "lat": {
                              "type": "number"
                            },
                            "lon": {
                              "type": "number"
                            },
                            "place": {
                              "type": "string"
                            },
                            "state": {
                              "type": "string"
                            },
                            "state_code": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "postal_code": {
                        "type": "string"
                      },
                      "source": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "country",
                      "found"
                    ],
                    "type": "object"
                  },
                  "success": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "success",
                  "data"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      },
      "tags": [
        "postal-code",
        "zip",
        "geocoding",
        "address",
        "places",
        "zip-code",
        "postcode-lookup"
      ]
    },
    "builder-code": {
      "info": {
        "a": "bc_q6wi3opd"
      }
    }
  },
  "tags": [
    "postal-code",
    "zip",
    "geocoding",
    "address",
    "places",
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "agentsvc.io",
  "lastUpdated": "2026-10-11T11:57:19.04Z",
  "quality": {
    "calls30d": 11,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-11T11:57:18.799Z"
  },
  "metadata": {
    "serviceName": "Postal Code Lookup",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791462963/bazaar-icons/243ff0b79dbee242.png",
    "extensions": {
      "bazaar": {
        "category": "data",
        "info": {
          "input": {
            "body": {
              "country": "DE",
              "postal_code": "80331"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "data": {
                "country": "DE",
                "found": true,
                "places": [
                  {
                    "lat": 48.1345,
                    "lon": 11.571,
                    "place": "München",
                    "state": "Bayern",
                    "state_code": "BY"
                  }
                ],
                "postal_code": "80331",
                "source": "zippopotam.us (GeoNames)"
              },
              "success": true
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "city": {
                      "type": "string"
                    },
                    "country": {
                      "description": "ISO 3166-1 alpha-2",
                      "type": "string"
                    },
                    "postal_code": {
                      "type": "string"
                    },
                    "state": {
                      "description": "State abbreviation, required with city",
                      "type": "string"
                    }
                  },
                  "required": [
                    "country"
                  ]
                },
                "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": {
                    "data": {
                      "properties": {
                        "country": {
                          "type": "string"
                        },
                        "found": {
                          "type": "boolean"
                        },
                        "places": {
                          "items": {
                            "properties": {
                              "lat": {
                                "type": "number"
                              },
                              "lon": {
                                "type": "number"
                              },
                              "place": {
                                "type": "string"
                              },
                              "state": {
                                "type": "string"
                              },
                              "state_code": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "postal_code": {
                          "type": "string"
                        },
                        "source": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "country",
                        "found"
                      ],
                      "type": "object"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "success",
                    "data"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        },
        "tags": [
          "postal-code",
          "zip",
          "geocoding",
          "address",
          "places",
          "zip-code",
          "postcode-lookup"
        ]
      },
      "builder-code": {
        "info": {
          "a": "bc_q6wi3opd"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "agentsvc.io",
    "manifest_name": "agentsvc.io",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "data": {
        "country": "string",
        "found": true,
        "places": [
          {
            "lat": 0,
            "lon": 0,
            "place": "string",
            "state": "string",
            "state_code": "string"
          }
        ],
        "postal_code": "string",
        "source": "string"
      },
      "success": true
    },
    "type": "string"
  }
}