openapi: 3.1.0 info: title: Translate to Any Language API description: > This API translates text from one language to any specified target language using advanced translation algorithms and AI models. 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 [Translate to Any Language API Documentation](https://www.interzoid.com/apis/translate-to-any). You can also try this API [interactively](https://try.interzoid.com) or in high-speed [batch mode](https://batch.interzoid.com). 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/translate-to-any servers: - url: https://api.interzoid.com description: Production server tags: - name: Text Translation description: Translates text to any specified target language. paths: /translatetoany: get: operationId: translateToAny tags: - Text Translation summary: Translate Text to Any Language description: > Translates the provided text to the specified target language. 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: "fh5hs7*****" - name: text in: query required: true description: The text to be translated. schema: type: string examples: text: summary: Text Example value: "Japan" - name: to in: query required: true description: The target language for translation (e.g., Portuguese). schema: type: string examples: targetLanguage: summary: Target Language Example value: "Portuguese" responses: '200': description: Successful response containing the translated text. content: application/json: schema: type: object properties: Result: type: string description: The translated text in the target language. Credits: type: integer description: Remaining credits for your API license. Code: type: string description: Response code, "Success" if the call is successful. examples: success: value: Result: "Japão" Credits: -9962 Code: "Success" '400': description: Bad request (e.g., missing or invalid parameters). content: text/plain: schema: type: string examples: error: value: "Invalid license key or text 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: []