openapi: 3.1.0 info: title: Interzoid Global Telephone Info API description: > This API retrieves demographic information about global telephone numbers, including location (country, city, region/province). To use this API, you need an API key. Register for an API key at [Interzoid Registration](https://www.interzoid.com/register-api-account). For more information about this API, visit the [Interzoid Global Telephone Info API Documentation](https://www.interzoid.com/apis/global-telephone-info). version: 1.0.0 contact: name: Interzoid Support url: https://www.interzoid.com email: support@interzoid.com externalDocs: description: API home page and documentation url: https://www.interzoid.com/apis/global-telephone-info servers: - url: https://api.interzoid.com description: Production server tags: - name: Global Telephone Info description: Provides detailed metadata for global telephone numbers. paths: /getglobalphoneinfo: get: tags: - Global Telephone Info summary: Retrieve Global Telephone Information description: > This method retrieves detailed information about a telephone number, including location (country, city, region/province). **Note**: You must include your API key as the `license` parameter in the request. If you do not have an API key, you can register for one at [Interzoid Registration](https://www.interzoid.com/register-api-account). parameters: - name: license in: query required: true description: > Your API license key. Register for an API key at [Interzoid Registration](https://www.interzoid.com/register-api-account). schema: type: string examples: license: summary: API Key Example value: "r2d7df664a7c4ef6h8k" - name: telephone in: query required: true description: The telephone number for which the information is retrieved. schema: type: string examples: telephone: summary: Telephone Number Example value: "+4906979550" responses: '200': description: Successful response containing telephone metadata. content: application/json: schema: type: object properties: Country: type: string description: The country where the telephone number is registered. Locale: type: string description: The regional locale of the telephone number. City: type: string description: The city associated with the telephone number. Organization: type: string description: The organization or carrier related to the telephone number. Code: type: string description: Status code indicating success. Credits: type: string description: Remaining credits for your API license. examples: - summary: Successful response example value: Country: "Germany" Locale: "Lower Saxony" City: "Hanover" Organization: "Frankfurt Marriott Reservations" Code: "Success" Credits: "19997878" '400': description: Bad request (e.g., missing or invalid parameters). content: application/json: schema: type: object properties: Code: type: integer description: Response code. Message: type: string description: Error message. examples: - summary: Missing or invalid parameters value: Code: 400 Message: "Invalid license key or telephone number missing." '402': description: API key not found. content: application/json: schema: type: object properties: Code: type: integer description: Response code. Message: type: string description: Error message. examples: - summary: API key not found value: Code: 402 Message: "API key not found." '403': description: Insufficient API credits remaining. content: application/json: schema: type: object properties: Code: type: integer description: Response code. Message: type: string description: Error message. examples: - summary: Insufficient credits value: Code: 403 Message: "Insufficient API credits remaining." '405': description: Method not allowed. content: application/json: schema: type: object properties: Code: type: integer description: Response code. Message: type: string description: Error message. examples: - summary: Wrong HTTP method value: Code: 405 Message: "Method not allowed." '429': description: Rate limits reached. content: application/json: schema: type: object properties: Code: type: integer description: Response code. Message: type: string description: Error message. examples: - summary: Rate limit reached value: Code: 429 Message: "Rate limits reached." '500': description: Internal server error. content: application/json: schema: type: object properties: Code: type: integer description: Response code. Message: type: string description: Error message. examples: - summary: Server error value: Code: 500 Message: "Internal server error." components: securitySchemes: apiKeyAuth: type: apiKey name: license in: query schemas: ResponseError: type: object properties: Code: type: integer description: Response code. Message: type: string description: Error message. security: - apiKeyAuth: []