{ "openapi": "3.1.0", "info": { "title": "Interzoid Country Data Standardization API", "description": "This API provides a standard for country name for the purposes of standardizing country name data, improving query results, analytics, and data merging.", "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": { "/getcountrystandard": { "get": { "tags": [ "Country Name Standardization" ], "summary": "getcountrystandard", "description": "Gets a pre-selected country name standard for various permutations of a given country name.", "operationId": "getcountrystandard", "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": "country", "in": "query", "description": "Country name from which to retrieve the standardized version", "required": true, "style": "form", "explode": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Standardized country name data", "headers": {}, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GetcountrystandardResponse" } } } }, "400": { "description": "bad request - insufficient parameters", "headers": {}, "content": {} }, "402": { "description": "credits exhausted", "headers": {}, "content": {} }, "403": { "description": "invalid license API key", "headers": {}, "content": {} }, "405": { "description": "method not allowed", "headers": {}, "content": {} }, "500": { "description": "internal server error", "headers": {}, "content": {} } }, "deprecated": false }, "parameters": [] } }, "components": { "schemas": { "GetcountrystandardResponse": { "title": "GetcountrystandardResponse", "type": "object", "properties": { "CountryStandard": { "type": "string" }, "Code": { "type": "string" }, "Credits": { "type": "string" } } } } }, "tags": [ { "name": "Country Name Standardization", "description": "" } ], "externalDocs": { "description": "API home page and documentation", "url": "https://www.interzoid.com/apis/standardize-country-data" } }