{
  "x402Version": 2,
  "name": "Ziplore API",
  "description": "US ZIP code API from public-domain Census data: city, state, county FIPS, coordinates, time zone and ACS demographics, radius search, nearest ZIP and distance, answered in milliseconds at the edge.",
  "homepage": "https://ziplore.cybermaxtools.com",
  "provider": "CyberMax",
  "openapi": "https://ziplore.cybermaxtools.com/api/openapi.json",
  "facilitator": "https://facilitator.payai.network",
  "resources": [
    {
      "url": "https://ziplore.cybermaxtools.com/x402/api/zip",
      "resource": "https://ziplore.cybermaxtools.com/x402/api/zip",
      "method": "GET",
      "type": "http",
      "x402Version": 2,
      "description": "Ziplore: US ZIP code data from public-domain Census data: city, county FIPS, coordinates, time zone, demographics.",
      "mimeType": "application/json",
      "serviceName": "Ziplore",
      "tags": [
        "zip",
        "postal",
        "census",
        "location"
      ],
      "accepts": [
        {
          "scheme": "exact",
          "network": "eip155:8453",
          "amount": "2000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "payTo": "0x858be21474ECA228a41Cc9aa335E9aa7CCf70fCA",
          "maxTimeoutSeconds": 120,
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ],
      "acceptsV1": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "2000",
          "resource": "https://ziplore.cybermaxtools.com/x402/api/zip",
          "description": "Ziplore: US ZIP code data from public-domain Census data: city, county FIPS, coordinates, time zone, demographics.",
          "mimeType": "application/json",
          "payTo": "0x858be21474ECA228a41Cc9aa335E9aa7CCf70fCA",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "GET",
              "discoverable": true,
              "queryParams": {
                "zip": {
                  "type": "string",
                  "description": "Up to 10 ZIPs, comma separated"
                },
                "demographics": {
                  "type": "boolean",
                  "default": true,
                  "description": "Include Census demographics (default true)"
                },
                "nearby": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 5,
                  "default": 0,
                  "description": "Also list the N closest ZIPs per record (0-5)"
                }
              }
            },
            "output": {
              "type": "object",
              "description": "JSON result (see the OpenAPI spec at /openapi.json)"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ],
      "extensions": {
        "bazaar": {
          "info": {
            "input": {
              "type": "http",
              "method": "GET",
              "queryParams": {}
            },
            "output": {
              "type": "json",
              "example": {}
            }
          },
          "schema": {
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "type": "object",
            "properties": {
              "input": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "http"
                  },
                  "method": {
                    "type": "string",
                    "enum": [
                      "GET"
                    ]
                  },
                  "queryParams": {
                    "type": "object",
                    "properties": {
                      "zip": {
                        "type": "string",
                        "description": "Up to 10 ZIPs, comma separated"
                      },
                      "demographics": {
                        "type": "boolean",
                        "default": true,
                        "description": "Include Census demographics (default true)"
                      },
                      "nearby": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 5,
                        "default": 0,
                        "description": "Also list the N closest ZIPs per record (0-5)"
                      }
                    },
                    "required": [
                      "zip"
                    ]
                  }
                },
                "required": [
                  "type",
                  "method"
                ]
              },
              "output": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string"
                  },
                  "example": {
                    "type": "object"
                  }
                }
              }
            },
            "required": [
              "input"
            ]
          }
        }
      }
    },
    {
      "url": "https://ziplore.cybermaxtools.com/x402/api/radius",
      "resource": "https://ziplore.cybermaxtools.com/x402/api/radius",
      "method": "GET",
      "type": "http",
      "x402Version": 2,
      "description": "Ziplore: US ZIP code data from public-domain Census data: city, county FIPS, coordinates, time zone, demographics.",
      "mimeType": "application/json",
      "serviceName": "Ziplore",
      "tags": [
        "zip",
        "postal",
        "census",
        "location"
      ],
      "accepts": [
        {
          "scheme": "exact",
          "network": "eip155:8453",
          "amount": "2000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "payTo": "0x858be21474ECA228a41Cc9aa335E9aa7CCf70fCA",
          "maxTimeoutSeconds": 120,
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ],
      "acceptsV1": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "2000",
          "resource": "https://ziplore.cybermaxtools.com/x402/api/radius",
          "description": "Ziplore: US ZIP code data from public-domain Census data: city, county FIPS, coordinates, time zone, demographics.",
          "mimeType": "application/json",
          "payTo": "0x858be21474ECA228a41Cc9aa335E9aa7CCf70fCA",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "GET",
              "discoverable": true,
              "queryParams": {
                "zip": {
                  "type": "string",
                  "description": "Center ZIP (or give lat + lon)"
                },
                "lat": {
                  "type": "number",
                  "description": "Center latitude"
                },
                "lon": {
                  "type": "number",
                  "description": "Center longitude"
                },
                "miles": {
                  "type": "number",
                  "minimum": 0.1,
                  "maximum": 25,
                  "description": "Radius in miles (0.1-25)"
                },
                "limit": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 50,
                  "default": 25,
                  "description": "Max results (1-50, default 25)"
                },
                "minPopulation": {
                  "type": "integer",
                  "minimum": 0,
                  "description": "Skip ZIPs with fewer residents"
                }
              }
            },
            "output": {
              "type": "object",
              "description": "JSON result (see the OpenAPI spec at /openapi.json)"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ],
      "extensions": {
        "bazaar": {
          "info": {
            "input": {
              "type": "http",
              "method": "GET",
              "queryParams": {}
            },
            "output": {
              "type": "json",
              "example": {}
            }
          },
          "schema": {
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "type": "object",
            "properties": {
              "input": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "http"
                  },
                  "method": {
                    "type": "string",
                    "enum": [
                      "GET"
                    ]
                  },
                  "queryParams": {
                    "type": "object",
                    "properties": {
                      "zip": {
                        "type": "string",
                        "description": "Center ZIP (or give lat + lon)"
                      },
                      "lat": {
                        "type": "number",
                        "description": "Center latitude"
                      },
                      "lon": {
                        "type": "number",
                        "description": "Center longitude"
                      },
                      "miles": {
                        "type": "number",
                        "minimum": 0.1,
                        "maximum": 25,
                        "description": "Radius in miles (0.1-25)"
                      },
                      "limit": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 50,
                        "default": 25,
                        "description": "Max results (1-50, default 25)"
                      },
                      "minPopulation": {
                        "type": "integer",
                        "minimum": 0,
                        "description": "Skip ZIPs with fewer residents"
                      }
                    },
                    "required": [
                      "miles"
                    ]
                  }
                },
                "required": [
                  "type",
                  "method"
                ]
              },
              "output": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string"
                  },
                  "example": {
                    "type": "object"
                  }
                }
              }
            },
            "required": [
              "input"
            ]
          }
        }
      }
    },
    {
      "url": "https://ziplore.cybermaxtools.com/x402/api/city",
      "resource": "https://ziplore.cybermaxtools.com/x402/api/city",
      "method": "GET",
      "type": "http",
      "x402Version": 2,
      "description": "Ziplore: US ZIP code data from public-domain Census data: city, county FIPS, coordinates, time zone, demographics.",
      "mimeType": "application/json",
      "serviceName": "Ziplore",
      "tags": [
        "zip",
        "postal",
        "census",
        "location"
      ],
      "accepts": [
        {
          "scheme": "exact",
          "network": "eip155:8453",
          "amount": "2000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "payTo": "0x858be21474ECA228a41Cc9aa335E9aa7CCf70fCA",
          "maxTimeoutSeconds": 120,
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ],
      "acceptsV1": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "2000",
          "resource": "https://ziplore.cybermaxtools.com/x402/api/city",
          "description": "Ziplore: US ZIP code data from public-domain Census data: city, county FIPS, coordinates, time zone, demographics.",
          "mimeType": "application/json",
          "payTo": "0x858be21474ECA228a41Cc9aa335E9aa7CCf70fCA",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "GET",
              "discoverable": true,
              "queryParams": {
                "city": {
                  "type": "string",
                  "description": "City name"
                },
                "state": {
                  "type": "string",
                  "description": "2-letter state code or name"
                },
                "limit": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 50,
                  "default": 25,
                  "description": "Max results (1-50, default 25)"
                }
              }
            },
            "output": {
              "type": "object",
              "description": "JSON result (see the OpenAPI spec at /openapi.json)"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ],
      "extensions": {
        "bazaar": {
          "info": {
            "input": {
              "type": "http",
              "method": "GET",
              "queryParams": {}
            },
            "output": {
              "type": "json",
              "example": {}
            }
          },
          "schema": {
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "type": "object",
            "properties": {
              "input": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "http"
                  },
                  "method": {
                    "type": "string",
                    "enum": [
                      "GET"
                    ]
                  },
                  "queryParams": {
                    "type": "object",
                    "properties": {
                      "city": {
                        "type": "string",
                        "description": "City name"
                      },
                      "state": {
                        "type": "string",
                        "description": "2-letter state code or name"
                      },
                      "limit": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 50,
                        "default": 25,
                        "description": "Max results (1-50, default 25)"
                      }
                    },
                    "required": [
                      "city"
                    ]
                  }
                },
                "required": [
                  "type",
                  "method"
                ]
              },
              "output": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string"
                  },
                  "example": {
                    "type": "object"
                  }
                }
              }
            },
            "required": [
              "input"
            ]
          }
        }
      }
    },
    {
      "url": "https://ziplore.cybermaxtools.com/x402/api/nearest",
      "resource": "https://ziplore.cybermaxtools.com/x402/api/nearest",
      "method": "GET",
      "type": "http",
      "x402Version": 2,
      "description": "Ziplore: US ZIP code data from public-domain Census data: city, county FIPS, coordinates, time zone, demographics.",
      "mimeType": "application/json",
      "serviceName": "Ziplore",
      "tags": [
        "zip",
        "postal",
        "census",
        "location"
      ],
      "accepts": [
        {
          "scheme": "exact",
          "network": "eip155:8453",
          "amount": "2000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "payTo": "0x858be21474ECA228a41Cc9aa335E9aa7CCf70fCA",
          "maxTimeoutSeconds": 120,
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ],
      "acceptsV1": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "2000",
          "resource": "https://ziplore.cybermaxtools.com/x402/api/nearest",
          "description": "Ziplore: US ZIP code data from public-domain Census data: city, county FIPS, coordinates, time zone, demographics.",
          "mimeType": "application/json",
          "payTo": "0x858be21474ECA228a41Cc9aa335E9aa7CCf70fCA",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "GET",
              "discoverable": true,
              "queryParams": {
                "lat": {
                  "type": "number",
                  "description": "Latitude"
                },
                "lon": {
                  "type": "number",
                  "description": "Longitude"
                },
                "count": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 10,
                  "default": 1,
                  "description": "How many ZIPs (1-10)"
                }
              }
            },
            "output": {
              "type": "object",
              "description": "JSON result (see the OpenAPI spec at /openapi.json)"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ],
      "extensions": {
        "bazaar": {
          "info": {
            "input": {
              "type": "http",
              "method": "GET",
              "queryParams": {}
            },
            "output": {
              "type": "json",
              "example": {}
            }
          },
          "schema": {
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "type": "object",
            "properties": {
              "input": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "http"
                  },
                  "method": {
                    "type": "string",
                    "enum": [
                      "GET"
                    ]
                  },
                  "queryParams": {
                    "type": "object",
                    "properties": {
                      "lat": {
                        "type": "number",
                        "description": "Latitude"
                      },
                      "lon": {
                        "type": "number",
                        "description": "Longitude"
                      },
                      "count": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 10,
                        "default": 1,
                        "description": "How many ZIPs (1-10)"
                      }
                    },
                    "required": [
                      "lat",
                      "lon"
                    ]
                  }
                },
                "required": [
                  "type",
                  "method"
                ]
              },
              "output": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string"
                  },
                  "example": {
                    "type": "object"
                  }
                }
              }
            },
            "required": [
              "input"
            ]
          }
        }
      }
    },
    {
      "url": "https://ziplore.cybermaxtools.com/x402/api/distance",
      "resource": "https://ziplore.cybermaxtools.com/x402/api/distance",
      "method": "GET",
      "type": "http",
      "x402Version": 2,
      "description": "Ziplore: US ZIP code data from public-domain Census data: city, county FIPS, coordinates, time zone, demographics.",
      "mimeType": "application/json",
      "serviceName": "Ziplore",
      "tags": [
        "zip",
        "postal",
        "census",
        "location"
      ],
      "accepts": [
        {
          "scheme": "exact",
          "network": "eip155:8453",
          "amount": "2000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "payTo": "0x858be21474ECA228a41Cc9aa335E9aa7CCf70fCA",
          "maxTimeoutSeconds": 120,
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ],
      "acceptsV1": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "2000",
          "resource": "https://ziplore.cybermaxtools.com/x402/api/distance",
          "description": "Ziplore: US ZIP code data from public-domain Census data: city, county FIPS, coordinates, time zone, demographics.",
          "mimeType": "application/json",
          "payTo": "0x858be21474ECA228a41Cc9aa335E9aa7CCf70fCA",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "GET",
              "discoverable": true,
              "queryParams": {
                "from": {
                  "type": "string",
                  "description": "First ZIP"
                },
                "to": {
                  "type": "string",
                  "description": "Second ZIP"
                }
              }
            },
            "output": {
              "type": "object",
              "description": "JSON result (see the OpenAPI spec at /openapi.json)"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ],
      "extensions": {
        "bazaar": {
          "info": {
            "input": {
              "type": "http",
              "method": "GET",
              "queryParams": {}
            },
            "output": {
              "type": "json",
              "example": {}
            }
          },
          "schema": {
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "type": "object",
            "properties": {
              "input": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "http"
                  },
                  "method": {
                    "type": "string",
                    "enum": [
                      "GET"
                    ]
                  },
                  "queryParams": {
                    "type": "object",
                    "properties": {
                      "from": {
                        "type": "string",
                        "description": "First ZIP"
                      },
                      "to": {
                        "type": "string",
                        "description": "Second ZIP"
                      }
                    },
                    "required": [
                      "from",
                      "to"
                    ]
                  }
                },
                "required": [
                  "type",
                  "method"
                ]
              },
              "output": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string"
                  },
                  "example": {
                    "type": "object"
                  }
                }
              }
            },
            "required": [
              "input"
            ]
          }
        }
      }
    }
  ]
}