UniRate API Currency API

Current exchange rates and conversion operations

Operations 3

GET /api/rates Get api rates #
GET /api/convert Get api convert #
GET /api/currencies Get api currencies #

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/unirateapi-currency-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

unirateapi-currency-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: UniRate Currency API
  description: API for currency conversion and exchange rates with historical data
  version: '1.0'
servers:
- url: https://api.unirateapi.com/
tags:
- name: Currency
  description: Current exchange rates and conversion operations
paths:
  /api/rates:
    get:
      description: Get exchange rates between currencies with optional amount conversion
      responses:
        '200':
          description: Exchange rates retrieved successfully.
          content:
            single_conversion:
              example:
                amount: 100
                base: USD
                to: EUR
                rate: 0.85
                result: 85.0
            all_conversions:
              example:
                amount: 100
                base: USD
                rates:
                  EUR: 0.85
                  GBP: 0.75
                  JPY: 110.25
                results:
                  EUR: 85.0
                  GBP: 75.0
                  JPY: 11025.0
        '401':
          description: Missing or invalid API key
        '404':
          description: Currency not found
        '503':
          description: No exchange rates available
      parameters:
      - name: api_key
        in: query
        required: true
        description: API key for authentication
        schema:
          type: string
      - name: amount
        in: query
        description: Amount to convert (optional)
        schema:
          type: number
          default: 1
      - name: from
        in: query
        description: Base currency code (optional)
        schema:
          type: string
          default: USD
      - name: to
        in: query
        description: The currency to convert to (optional). If not specified, returns rates for all currencies.
        schema:
          type: string
      - name: format
        in: query
        description: The format of the response (optional).
        schema:
          type: string
          enum:
          - json
          - xml
          - csv
          - tsv
          default: json
      - name: callback
        in: query
        description: The name of the JSONP callback function (optional). Only used when format is 'json'. Must be alphanumeric with underscores.
        schema:
          type: string
      tags:
      - Currency
      summary: Get api rates
      x-summary-source: derived
      operationId: getApiRates
      x-operation-id-source: derived
  /api/convert:
    get:
      description: Convert amount between currencies
      responses:
        '200':
          description: Currency converted successfully.
          content:
            single_conversion:
              example:
                amount: 100.0
                from: USD
                to: EUR
                result: 85.0
            all_conversions:
              example:
                amount: 100.0
                from: USD
                results:
                  EUR: 85.0
                  GBP: 75.0
        '400':
          description: Invalid request parameters
        '401':
          description: Missing or invalid API key
        '404':
          description: Currency not found
        '503':
          description: No exchange rates available
      parameters:
      - name: api_key
        in: query
        required: true
        description: API key for authentication
        schema:
          type: string
      - name: amount
        in: query
        description: Amount to convert (optional)
        schema:
          type: number
          default: 1
      - name: from
        in: query
        description: Base currency code (optional)
        schema:
          type: string
          default: USD
      - name: to
        in: query
        description: The currency to convert to.
        required: true
        schema:
          type: string
      - name: format
        in: query
        description: The format of the response (optional).
        schema:
          type: string
          enum:
          - json
          - xml
          - csv
          - tsv
          default: json
      - name: callback
        in: query
        description: The name of the JSONP callback function (optional). Only used when format is 'json'. Must be alphanumeric with underscores.
        schema:
          type: string
      tags:
      - Currency
      summary: Get api convert
      x-summary-source: derived
      operationId: getApiConvert
      x-operation-id-source: derived
  /api/currencies:
    get:
      description: List all available currencies
      responses:
        '200':
          description: A list of available currencies.
          content:
            currencies:
              example:
                currencies:
                - USD
                - EUR
                - GBP
                count: 3
        '401':
          description: Missing or invalid API key
        '503':
          description: No exchange rates available
      parameters:
      - name: api_key
        in: query
        required: true
        description: API key for authentication
        schema:
          type: string
      - name: format
        in: query
        description: The format of the response (optional).
        schema:
          type: string
          enum:
          - json
          - xml
          - csv
          - tsv
          default: json
      - name: callback
        in: query
        description: The name of the JSONP callback function (optional). Only used when format is 'json'. Must be alphanumeric with underscores.
        schema:
          type: string
      tags:
      - Currency
      summary: Get api currencies
      x-summary-source: derived
      operationId: getApiCurrencies
      x-operation-id-source: derived