{
  "x402Version": 2,
  "name": "Pinloft API",
  "description": "Address to latitude/longitude with US Census county, tract and block FIPS codes and districts in every result (up to 5 addresses per call), plus reverse geocoding. No per-field upcharge for the Census codes.",
  "homepage": "https://pinloft.cybermaxtools.com",
  "provider": "CyberMax",
  "openapi": "https://pinloft.cybermaxtools.com/openapi.json",
  "facilitator": "https://facilitator.payai.network",
  "resources": [
    {
      "url": "https://pinloft.cybermaxtools.com/x402/api/geocode",
      "resource": "https://pinloft.cybermaxtools.com/x402/api/geocode",
      "method": "GET",
      "type": "http",
      "x402Version": 2,
      "description": "Pinloft: Address to latitude/longitude with US Census county, tract and block FIPS codes.",
      "mimeType": "application/json",
      "serviceName": "Pinloft",
      "tags": [
        "geocoding",
        "address",
        "maps",
        "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://pinloft.cybermaxtools.com/x402/api/geocode",
          "description": "Pinloft: Address to latitude/longitude with US Census county, tract and block FIPS codes.",
          "mimeType": "application/json",
          "payTo": "0x858be21474ECA228a41Cc9aa335E9aa7CCf70fCA",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "GET",
              "discoverable": true,
              "queryParams": {
                "address": {
                  "type": "string",
                  "description": "Up to 5 addresses separated by | (or repeat the parameter)"
                },
                "districts": {
                  "type": "boolean",
                  "default": false,
                  "description": "Add districts for US matches"
                },
                "country": {
                  "type": "string",
                  "default": "auto",
                  "description": "\"auto\" (default), \"US\" or ISO-2 codes like \"de,at\" to steer non-US lookups"
                },
                "language": {
                  "type": "string",
                  "default": "en",
                  "description": "Language for OpenStreetMap names (default en)"
                }
              }
            },
            "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": {
                      "address": {
                        "type": "string",
                        "description": "Up to 5 addresses separated by | (or repeat the parameter)"
                      },
                      "districts": {
                        "type": "boolean",
                        "default": false,
                        "description": "Add districts for US matches"
                      },
                      "country": {
                        "type": "string",
                        "default": "auto",
                        "description": "\"auto\" (default), \"US\" or ISO-2 codes like \"de,at\" to steer non-US lookups"
                      },
                      "language": {
                        "type": "string",
                        "default": "en",
                        "description": "Language for OpenStreetMap names (default en)"
                      }
                    },
                    "required": [
                      "address"
                    ]
                  }
                },
                "required": [
                  "type",
                  "method"
                ]
              },
              "output": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string"
                  },
                  "example": {
                    "type": "object"
                  }
                }
              }
            },
            "required": [
              "input"
            ]
          }
        }
      }
    },
    {
      "url": "https://pinloft.cybermaxtools.com/x402/api/reverse",
      "resource": "https://pinloft.cybermaxtools.com/x402/api/reverse",
      "method": "GET",
      "type": "http",
      "x402Version": 2,
      "description": "Pinloft: Address to latitude/longitude with US Census county, tract and block FIPS codes.",
      "mimeType": "application/json",
      "serviceName": "Pinloft",
      "tags": [
        "geocoding",
        "address",
        "maps",
        "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://pinloft.cybermaxtools.com/x402/api/reverse",
          "description": "Pinloft: Address to latitude/longitude with US Census county, tract and block FIPS codes.",
          "mimeType": "application/json",
          "payTo": "0x858be21474ECA228a41Cc9aa335E9aa7CCf70fCA",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "GET",
              "discoverable": true,
              "queryParams": {
                "lat": {
                  "type": "number",
                  "description": "Latitude (with lon)"
                },
                "lon": {
                  "type": "number",
                  "description": "Longitude (with lat)"
                },
                "coords": {
                  "type": "string",
                  "description": "Or up to 5 \"lat,lon\" pairs separated by |"
                }
              }
            },
            "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 (with lon)"
                      },
                      "lon": {
                        "type": "number",
                        "description": "Longitude (with lat)"
                      },
                      "coords": {
                        "type": "string",
                        "description": "Or up to 5 \"lat,lon\" pairs separated by |"
                      }
                    }
                  }
                },
                "required": [
                  "type",
                  "method"
                ]
              },
              "output": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string"
                  },
                  "example": {
                    "type": "object"
                  }
                }
              }
            },
            "required": [
              "input"
            ]
          }
        }
      }
    }
  ]
}