openapi: 3.1.0 info: title: Get Country Name Standard API description: > This API standardizes country names using specialized algorithms and AI models, returning a consistent country name based on input data. 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 Country Name Standardization API Documentation](https://www.interzoid.com/apis/standardize-country-data). 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/standardize-country-data servers: - url: https://api.interzoid.com description: Production server tags: - name: Country Name Standardization description: Standardizes country names for consistency across datasets. paths: /getcountrystandard: get: operationId: getCountryStandard tags: - Country Name Standardization summary: Standardize Country Name description: > Returns a standardized country name based on the provided country input using advanced algorithms and AI. Include your API key (license) in the request. Register for an API key at 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: "dh8dj2f*****" - name: country in: query required: true description: The country name or code to standardize. schema: type: string examples: country: summary: Country Input Example value: "uae" - name: algorithm in: query required: true description: The standardization algorithm and AI model used to process the country name. schema: type: string examples: algorithm: summary: Algorithm Example value: "ai-medium" responses: '200': description: Successful response containing the standardized country name. content: application/json: schema: type: object properties: CountryStandard: type: string description: The standardized country name. Code: type: string description: Response code, "Success" if the call is successful. Credits: type: integer description: Remaining credits for your API license. examples: success: value: CountryStandard: "United Arab Emirates" Code: "Success" Credits: 474284 '400': description: Bad request (e.g., missing or invalid parameters). content: text/plain: schema: type: string examples: error: value: "Invalid license key or country name missing." '402': description: API key not found. content: text/plain: schema: type: string examples: error: value: "API key not found." '403': description: Insufficient API credits remaining. content: text/plain: schema: type: string examples: error: value: "Insufficient API credits remaining." '405': description: Method not allowed. content: text/plain: schema: type: string examples: error: value: "Method not allowed." '429': description: Rate limits reached. content: text/plain: schema: type: string examples: error: value: "Rate limits reached." '500': description: Internal server error. content: text/plain: schema: type: string examples: error: value: "Internal server error." components: securitySchemes: apiKeyAuth: type: apiKey name: license in: query schemas: {} security: - apiKeyAuth: []