{ "openapi": "3.1.0", "info": { "title": "Interzoid Get Global Phone Number Information API", "description": "This API provides geographic information for a global telephone number, including city and country information, primary languages spoken, and mobile device identification.", "contact": { "name": "API Support", "url": "https://www.interzoid.com", "email": "support@interzoid.com" }, "version": "1.0.0" }, "jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema", "servers": [ { "url": "https://api.interzoid.com", "variables": {} } ], "paths": { "/getglobalnumberinfo": { "get": { "tags": [ "Global Phone Number Information" ], "summary": "getglobalnumberinfo", "description": "Get demographic information for a global telephone number, including city and country information, primary languages spoken, and mobile device identification.", "operationId": "getglobalnumberinfo", "parameters": [ { "name": "license", "in": "query", "description": "Your Interzoid license API key. Register at www.interzoid.com/register-api-account", "required": true, "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "intlnumber", "in": "query", "description": "International number (with country code) to retrieve information for", "required": true, "style": "form", "explode": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Global telephone demographic information", "headers": {}, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GetglobalnumberinfoResponse" } } } }, "400": { "description": "bad request - insufficient parameters", "headers": {}, "content": {} }, "402": { "description": "credits exhausted", "headers": {}, "content": {} }, "403": { "description": "invalid license API key", "headers": {}, "content": {} }, "404": { "description": "telephone number not found", "headers": {}, "content": {} }, "405": { "description": "method not allowed", "headers": {}, "content": {} }, "500": { "description": "internal server error", "headers": {}, "content": {} } }, "deprecated": false }, "parameters": [] } }, "components": { "schemas": { "GetglobalnumberinfoResponse": { "title": "GetglobalnumberinfoResponse", "type": "object", "properties": { "Country": { "type": "string" }, "Region": { "type": "string" }, "PrimaryCity": { "type": "string" }, "PrimaryLanguage": { "type": "string" }, "Language2": { "type": "string" }, "Language3": { "type": "string" }, "Mobile": { "type": "string" }, "Wealth": { "type": "string" }, "Code": { "type": "string" }, "Credits": { "type": "string" } } } } }, "tags": [ { "name": "Global Phone Number Information", "description": "" } ], "externalDocs": { "description": "API home page and documentation", "url": "https://www.interzoid.com/apis/global-telephone-validation-demographics" } }