{
  "x402Version": 2,
  "id": 5906,
  "slug": "5906",
  "resource": "https://402utils.com/v1/phone-check",
  "description": "Validate and normalize a phone number with full Google libphonenumber metadata: strict validity against each national numbering plan, E.164 / international / national formats, country detection (correct across shared codes like +1 and +44) and line type (mobile, fixed_line, toll_free, voip…) where the plan distinguishes it. Pass ?country=FR to parse national formats. Local. ?attest=1 → Ed25519-signed.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xc55A2D530b53CBaD1001e4AfD4720B7E71f9C291",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "phone": "+442079460958"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "country": "GB",
            "e164": "+442079460958",
            "international": "+44 20 7946 0958",
            "national": "020 7946 0958",
            "possible": true,
            "type": "fixed_line",
            "valid": true
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "description": "Query params. `phone` required; `country` helps parse national formats.",
                "properties": {
                  "attest": {
                    "description": "Set to 1 for an Ed25519-signed attestation of the result (audit trail).",
                    "type": "string"
                  },
                  "country": {
                    "description": "ISO alpha-2 default country for national input.",
                    "type": "string"
                  },
                  "phone": {
                    "description": "The number, E.164 (+33612345678) or national.",
                    "type": "string"
                  }
                },
                "required": [
                  "phone"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "attestation": {
                    "description": "Present only with ?attest=1. Ed25519 signature over the canonical result; verify against /.well-known/402utils-attestation.json.",
                    "properties": {
                      "alg": {
                        "const": "Ed25519",
                        "type": "string"
                      },
                      "payload": {
                        "properties": {
                          "endpoint": {
                            "type": "string"
                          },
                          "kid": {
                            "description": "Key id — matches a key in the .well-known document.",
                            "type": "string"
                          },
                          "resultSha256": {
                            "description": "SHA-256 of the canonical JSON of the result (attestation excluded).",
                            "type": "string"
                          },
                          "ts": {
                            "format": "date-time",
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "sig": {
                        "description": "base64url Ed25519 signature over the canonical JSON of payload.",
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "country": {
                    "description": "Detected ISO alpha-2; absent when undeterminable.",
                    "type": "string"
                  },
                  "e164": {
                    "type": "string"
                  },
                  "international": {
                    "type": "string"
                  },
                  "national": {
                    "type": "string"
                  },
                  "possible": {
                    "description": "Length-plausibility (looser than valid).",
                    "type": "boolean"
                  },
                  "type": {
                    "description": "mobile | fixed_line | fixed_line_or_mobile | toll_free | premium_rate | voip | … — absent when the plan does not distinguish.",
                    "type": "string"
                  },
                  "valid": {
                    "description": "Strict validity per the national numbering plan.",
                    "type": "boolean"
                  }
                },
                "required": [
                  "valid"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "402utils.com",
  "lastUpdated": "2026-08-24T00:46:19.422Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-24T00:46:18.034Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "402utils.com",
    "manifest_name": "402utils.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}