{
  "components": {
    "callbacks": {},
    "examples": {},
    "headers": {},
    "links": {},
    "parameters": {},
    "pathItems": {},
    "requestBodies": {},
    "responses": {},
    "schemas": {},
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "",
    "title": "HLR Lookup",
    "version": "1",
    "x-aisa-capabilities": {
      "idempotency": "Idempotency-Key",
      "max_price": "X-AISA-Max-Price-USD",
      "quote": {
        "header": "X-AISA-Cost-Mode",
        "value": "quote"
      }
    },
    "x-aisa-catalogs": {
      "hlrlookup": {
        "description": "",
        "title": "HLR Lookup",
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          }
        },
        "x-aisa-document": {
          "facts_hash": "3d553c72f33888941c907d73c1c25e7b273458fe0d2449fdae0e82bb609b82fd",
          "generator_version": "3",
          "protocol_version": "1",
          "schema_version": "1"
        },
        "x-aisa-plans": {
          "builder": 1.0,
          "display_plan": "payg",
          "payg": 1.0,
          "similarweb_payg": 1.0,
          "team": 1.0,
          "version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"
        }
      }
    },
    "x-aisa-configured-paths": [
      "/apis/v1/hlrlookup/people-phone-network",
      "/apis/v1/hlrlookup/people-phone-verify"
    ],
    "x-aisa-document": {
      "composer_version": "31",
      "facts_hash": "3d553c72f33888941c907d73c1c25e7b273458fe0d2449fdae0e82bb609b82fd",
      "generator_version": "3",
      "protocol_version": "1",
      "response_pending": [],
      "schema_version": "1",
      "public_projection": {
        "version": "4",
        "source_document_hash": "sha256:dc2c5c90b9e6534bff7d6bc8f333a1cb83b5e0752d54cea9aa99ffdc94b3ee02"
      },
      "document_hash": "sha256:efedd07c50615688147a94f34dca1ccd12051e2a0d27f1ab6235af26185c3e10"
    },
    "x-aisa-plans": {
      "builder": 1.0,
      "display_plan": "payg",
      "payg": 1.0,
      "similarweb_payg": 1.0,
      "team": 1.0,
      "version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"
    },
    "x-aisa-provider": "hlrlookup"
  },
  "jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
  "openapi": "3.1.0",
  "paths": {
    "/apis/v1/hlrlookup/people-phone-network": {
      "post": {
        "description": "Answers arrive in results[0]: current_network_details and is_ported. live_status is NOT_AVAILABLE_NETWORK_ONLY because this route does not check the line; use hlrlookup.people.phone.verify for that. For +1 numbers telephone_number_type is omitted. NO_COVERAGE, BAD_FORMAT and per-result errors are free.\n\n> **请求示例待验证。** 此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式，请替换为自己的参数。正式调用前，可用免费的报价模式（`X-AISA-Cost-Mode: quote`）查看预估费用。",
        "operationId": "hlrlookup.people-phone-network",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "cache_days_global": {
                    "description": "0 never reads the shared cache, so the lookup is live.",
                    "enum": [
                      0
                    ],
                    "maximum": 0,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "cache_days_private": {
                    "description": "0 never reads this account's cache, so the lookup is live.",
                    "enum": [
                      0
                    ],
                    "maximum": 0,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "input_format": {
                    "description": "ISO3 country code when telephone_number is in national format, e.g. GBR.",
                    "enum": [
                      "GBR"
                    ],
                    "minLength": 1,
                    "type": "string"
                  },
                  "output_format": {
                    "description": "Format of formatted_telephone_number: E164, PLUS_E164, NATIONAL, or an ISO3 country code.",
                    "type": "string"
                  },
                  "save_to_cache": {
                    "description": "The result is cached only for this account, never shared.",
                    "enum": [
                      "PRIVATE"
                    ],
                    "minLength": 1,
                    "type": "string"
                  },
                  "telephone_number": {
                    "description": "International E.164 digits without the leading +, or a national number with input_format.",
                    "maxLength": 32,
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "cache_days_global",
                  "cache_days_private",
                  "input_format",
                  "save_to_cache",
                  "telephone_number"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "properties": {
                    "results": {
                      "items": {
                        "additionalProperties": true,
                        "properties": {
                          "credits_spent": {
                            "type": "integer"
                          },
                          "current_network": {
                            "type": "string"
                          },
                          "current_network_details": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "detected_telephone_number": {
                            "type": "string"
                          },
                          "error": {
                            "type": "string"
                          },
                          "formatted_telephone_number": {
                            "type": "string"
                          },
                          "is_ported": {
                            "type": "string"
                          },
                          "live_status": {
                            "type": "string"
                          },
                          "mms_email": {
                            "type": "string"
                          },
                          "original_network": {
                            "type": "string"
                          },
                          "original_network_details": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "request_parameters": {
                            "additionalProperties": true,
                            "properties": {
                              "cache_days_global": {
                                "type": "integer"
                              },
                              "cache_days_private": {
                                "type": "integer"
                              },
                              "get_landline_status": {
                                "type": "string"
                              },
                              "get_ported_date": {
                                "type": "string"
                              },
                              "input_format": {
                                "type": "string"
                              },
                              "output_format": {
                                "type": "string"
                              },
                              "save_to_cache": {
                                "type": "string"
                              },
                              "telephone_number": {
                                "type": "string"
                              },
                              "usa_status": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "sms_email": {
                            "type": "string"
                          },
                          "telephone_number_type": {
                            "type": "string"
                          },
                          "timestamp": {
                            "type": "string"
                          },
                          "uuid": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Observed successful JSON response. This partial structure comes from successful probe or sampled requests; fields and types may vary. No field is guaranteed to be present. Last observed: 2026-11-14.",
            "x-aisa-response-observation": {
              "completeness": "observed",
              "last_observed": "2026-11-14",
              "origins": [
                "probe"
              ]
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Find which network serves a phone number",
        "tags": [
          "HLR Lookup"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "hlrlookup",
        "x-aisa-category": "people",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/hlrlookup/hlrlookup-people-phone-network",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "ea9e8e76ee32ed833180645446d74573ab11bf41c941bd52ec330d042b3ef9f4",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-14",
            "origins": [
              "probe"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "results": {
                  "items": {
                    "additionalProperties": true,
                    "properties": {
                      "credits_spent": {
                        "type": "integer"
                      },
                      "current_network": {
                        "type": "string"
                      },
                      "current_network_details": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "detected_telephone_number": {
                        "type": "string"
                      },
                      "error": {
                        "type": "string"
                      },
                      "formatted_telephone_number": {
                        "type": "string"
                      },
                      "is_ported": {
                        "type": "string"
                      },
                      "live_status": {
                        "type": "string"
                      },
                      "mms_email": {
                        "type": "string"
                      },
                      "original_network": {
                        "type": "string"
                      },
                      "original_network_details": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "request_parameters": {
                        "additionalProperties": true,
                        "properties": {
                          "cache_days_global": {
                            "type": "integer"
                          },
                          "cache_days_private": {
                            "type": "integer"
                          },
                          "get_landline_status": {
                            "type": "string"
                          },
                          "get_ported_date": {
                            "type": "string"
                          },
                          "input_format": {
                            "type": "string"
                          },
                          "output_format": {
                            "type": "string"
                          },
                          "save_to_cache": {
                            "type": "string"
                          },
                          "telephone_number": {
                            "type": "string"
                          },
                          "usa_status": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "sms_email": {
                        "type": "string"
                      },
                      "telephone_number_type": {
                        "type": "string"
                      },
                      "timestamp": {
                        "type": "string"
                      },
                      "uuid": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.003304,
          "estimate_source": "profile_seed"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "open_query": true,
          "request_wins": false
        },
        "x-aisa-review": {
          "request": "reviewed_source",
          "response": "observed",
          "status": "unreviewed"
        },
        "x-aisa-runtime-operation": {
          "method": "POST",
          "operation_id": "hlrlookup.people-phone-network",
          "path": "/apis/v1/hlrlookup/people-phone-network"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "mixed",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/hlrlookup/people-phone-verify": {
      "post": {
        "operationId": "hlrlookup.people-phone-verify",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": true,
                "properties": {
                  "cache_days_global": {
                    "enum": [
                      0
                    ],
                    "maximum": 0,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "cache_days_private": {
                    "enum": [
                      0
                    ],
                    "maximum": 0,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "input_format": {
                    "enum": [
                      "GBR"
                    ],
                    "minLength": 1,
                    "type": "string"
                  },
                  "save_to_cache": {
                    "enum": [
                      "PRIVATE"
                    ],
                    "minLength": 1,
                    "type": "string"
                  },
                  "telephone_number": {
                    "maxLength": 32,
                    "minLength": 1,
                    "type": "string"
                  },
                  "usa_status": {
                    "enum": [
                      "NO"
                    ],
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "cache_days_global",
                  "cache_days_private",
                  "input_format",
                  "save_to_cache",
                  "telephone_number",
                  "usa_status"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "properties": {
                    "results": {
                      "items": {
                        "additionalProperties": true,
                        "properties": {
                          "credits_spent": {
                            "type": "integer"
                          },
                          "current_network": {
                            "type": "string"
                          },
                          "current_network_details": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "detected_telephone_number": {
                            "type": "string"
                          },
                          "error": {
                            "type": "string"
                          },
                          "formatted_telephone_number": {
                            "type": "string"
                          },
                          "is_ported": {
                            "type": "string"
                          },
                          "live_status": {
                            "type": "string"
                          },
                          "mms_email": {
                            "type": "string"
                          },
                          "original_network": {
                            "type": "string"
                          },
                          "original_network_details": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "request_parameters": {
                            "additionalProperties": true,
                            "properties": {
                              "cache_days_global": {
                                "type": "integer"
                              },
                              "cache_days_private": {
                                "type": "integer"
                              },
                              "get_landline_status": {
                                "type": "string"
                              },
                              "get_ported_date": {
                                "type": "string"
                              },
                              "input_format": {
                                "type": "string"
                              },
                              "output_format": {
                                "type": "string"
                              },
                              "save_to_cache": {
                                "type": "string"
                              },
                              "telephone_number": {
                                "type": "string"
                              },
                              "usa_status": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "sms_email": {
                            "type": "string"
                          },
                          "telephone_number_type": {
                            "type": "string"
                          },
                          "timestamp": {
                            "type": "string"
                          },
                          "uuid": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Observed successful JSON response. This partial structure comes from successful probe or sampled requests; fields and types may vary. No field is guaranteed to be present. Last observed: 2026-11-14.",
            "x-aisa-response-observation": {
              "completeness": "observed",
              "last_observed": "2026-11-14",
              "origins": [
                "probe"
              ]
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Check if a phone number is live",
        "tags": [
          "HLR Lookup"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "hlrlookup",
        "x-aisa-category": "people",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/hlrlookup/hlrlookup-people-phone-verify",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "045a88992e5bc7fc4a87fc6716123d31b26b3b8f07cea69e23210e3cf7314bed",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-14",
            "origins": [
              "probe"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "results": {
                  "items": {
                    "additionalProperties": true,
                    "properties": {
                      "credits_spent": {
                        "type": "integer"
                      },
                      "current_network": {
                        "type": "string"
                      },
                      "current_network_details": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "detected_telephone_number": {
                        "type": "string"
                      },
                      "error": {
                        "type": "string"
                      },
                      "formatted_telephone_number": {
                        "type": "string"
                      },
                      "is_ported": {
                        "type": "string"
                      },
                      "live_status": {
                        "type": "string"
                      },
                      "mms_email": {
                        "type": "string"
                      },
                      "original_network": {
                        "type": "string"
                      },
                      "original_network_details": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "request_parameters": {
                        "additionalProperties": true,
                        "properties": {
                          "cache_days_global": {
                            "type": "integer"
                          },
                          "cache_days_private": {
                            "type": "integer"
                          },
                          "get_landline_status": {
                            "type": "string"
                          },
                          "get_ported_date": {
                            "type": "string"
                          },
                          "input_format": {
                            "type": "string"
                          },
                          "output_format": {
                            "type": "string"
                          },
                          "save_to_cache": {
                            "type": "string"
                          },
                          "telephone_number": {
                            "type": "string"
                          },
                          "usa_status": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "sms_email": {
                        "type": "string"
                      },
                      "telephone_number_type": {
                        "type": "string"
                      },
                      "timestamp": {
                        "type": "string"
                      },
                      "uuid": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.013216,
          "estimate_source": "profile_seed"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "open_query": true,
          "request_wins": false
        },
        "x-aisa-review": {
          "request": "runtime_binding",
          "response": "observed",
          "status": "unreviewed"
        },
        "x-aisa-runtime-operation": {
          "method": "POST",
          "operation_id": "hlrlookup.people-phone-verify",
          "path": "/apis/v1/hlrlookup/people-phone-verify"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "mixed",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        },
        "description": "> **请求示例待验证。** 此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式，请替换为自己的参数。正式调用前，可用免费的报价模式（`X-AISA-Cost-Mode: quote`）查看预估费用。"
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ]
}
