Metals-API Conversion API

Currency and metal conversion endpoints.

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/metals-api-conversion-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 email required.

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

OpenAPI Specification

metals-api-conversion-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Metals Analytics Conversion API
  description: Metals-API provides a free, simple, and lightweight JSON API for current and historical precious metals rates and currency conversion. It supports real-time and historical data for gold, silver, platinum, palladium, and other metals in 170 world currencies.
  version: '1.0'
  contact:
    name: Metals-API
    url: https://metals-api.com/
  license:
    name: Proprietary
    url: https://metals-api.com/terms
servers:
- url: https://metals-api.com/api
  description: Production
security:
- accessKey: []
tags:
- name: Conversion
  description: Currency and metal conversion endpoints.
paths:
  /convert:
    get:
      summary: Convert between currencies and metals
      description: Convert any amount from one currency or metal to another.
      operationId: convert
      tags:
      - Conversion
      parameters:
      - name: from
        in: query
        required: true
        description: Source currency or metal symbol.
        schema:
          type: string
      - name: to
        in: query
        required: true
        description: Target currency or metal symbol.
        schema:
          type: string
      - name: amount
        in: query
        required: true
        description: Amount to convert.
        schema:
          type: number
      - name: date
        in: query
        description: Optional historical date in YYYY-MM-DD format.
        schema:
          type: string
          format: date
      responses:
        '200':
          description: Conversion result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConvertResponse'
components:
  schemas:
    ConvertResponse:
      type: object
      properties:
        success:
          type: boolean
        query:
          type: object
          properties:
            from:
              type: string
            to:
              type: string
            amount:
              type: number
        info:
          type: object
          properties:
            timestamp:
              type: integer
            rate:
              type: number
        result:
          type: number
  securitySchemes:
    accessKey:
      type: apiKey
      in: query
      name: access_key