openapi: 3.1.0 info: title: Interzoid Live Currency Exchange Rates API description: > This API provides live currency exchange rates for various currencies using reliable data sources. The response includes the currency symbol, name, country, and the exchange rate against a standard reference currency. It can also be used in batch/bulk mode (see documentation). 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 Live Currency Exchange Rates API Documentation](https://www.interzoid.com/apis/live-currency-exchange-rates). 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/live-currency-exchange-rates servers: - url: https://api.interzoid.com description: Production server tags: - name: Currency Exchange Rates description: Retrieve live currency exchange rates for various currencies. paths: /getcurrencyrate: get: tags: - Currency Exchange Rates summary: Get Live Currency Exchange Rate description: > This method retrieves the live exchange rate for a specified currency. The response includes details such as the currency name, symbol, country, and the exchange rate. **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: symbol in: query required: true description: The currency symbol for which the exchange rate is requested. schema: type: string examples: symbol: summary: Currency Symbol Example value: "EUR" responses: '200': description: Successful response containing currency exchange rate details. content: application/json: schema: type: object properties: Symbol: type: string description: The currency symbol. Name: type: string description: The full name of the currency. Country: type: string description: The country or region using the currency. Rate: type: string description: The live exchange rate of the currency. Code: type: string description: Response status code. Credits: type: integer description: Remaining credits for your API license. examples: - summary: Successful response example value: Symbol: "EUR" Name: "Euro" Country: "European Union" Rate: "0.872" Code: "Success" Credits: 7910 '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 currency symbol 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: []