PriceFeed Rates API

Latest, converted and historical rates

GitHub OpenAPI

Operations 3

GET /api/v1/rates/latest Latest aggregated rates #
GET /api/v1/rates/convert Convert an amount between two assets #
GET /api/v1/rates/history Historical OHLC candles #

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/pricefeed-online:pricefeed-online-rates-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

pricefeed-online-rates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PriceFeed Rates API
  version: 1.0.0
  description: Reliable crypto, fiat and precious-metal exchange rates — aggregated from multiple sources with a weighted median, outlier rejection and per-source transparency. Real-time and historical, served from one clean REST API.
  contact:
    name: PriceFeed
    url: https://pricefeed.online
  license:
    name: Terms of Use
    url: https://pricefeed.online/terms
servers:
- url: https://pricefeed.online
  description: Production
security:
- {}
- ApiKeyAuth: []
tags:
- name: Rates
  description: Latest, converted and historical rates
paths:
  /api/v1/rates/latest:
    get:
      tags:
      - Rates
      summary: Latest aggregated rates
      description: Without parameters returns every active pair. With `base` (+ optional `quotes`) returns that base against the requested quotes. With `source` returns the price from a single exchange instead of the median.
      parameters:
      - name: base
        in: query
        required: false
        schema:
          type: string
        example: BTC
      - name: quotes
        in: query
        required: false
        schema:
          type: string
        description: Comma-separated quote currencies. Default USD.
        example: USD,EUR,UAH
      - name: source
        in: query
        required: false
        schema:
          type: string
        description: Return a single source's price (direct pairs only), e.g. `binance`.
        example: binance
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/LatestByBase'
                - $ref: '#/components/schemas/LatestAllPairs'
                - $ref: '#/components/schemas/LatestBySource'
        '404':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
      operationId: getApiV1RatesLatest
      x-operation-id-source: derived
  /api/v1/rates/convert:
    get:
      tags:
      - Rates
      summary: Convert an amount between two assets
      parameters:
      - name: from
        in: query
        required: true
        schema:
          type: string
        example: BTC
      - name: to
        in: query
        required: true
        schema:
          type: string
        example: UAH
      - name: amount
        in: query
        required: false
        schema:
          type: number
          default: 1
        example: 0.05
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Convert'
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
      operationId: getApiV1RatesConvert
      x-operation-id-source: derived
  /api/v1/rates/history:
    get:
      tags:
      - Rates
      summary: Historical OHLC candles
      parameters:
      - name: base
        in: query
        required: true
        schema:
          type: string
        example: BTC
      - name: quote
        in: query
        required: false
        schema:
          type: string
          default: USD
        example: USD
      - name: period
        in: query
        required: false
        schema:
          type: string
          enum:
          - 1d
          - 7d
          - 30d
          - 90d
          default: 7d
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/History'
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
      operationId: getApiV1RatesHistory
      x-operation-id-source: derived
components:
  schemas:
    Error:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: object
          properties:
            code:
              type: string
              example: PAIR_NOT_FOUND
            message:
              type: string
              example: Requested currency pair [BTC/XYZ] is not available.
    LatestBySource:
      type: object
      properties:
        success:
          type: boolean
        base:
          type: string
        quote:
          type: string
        source:
          type: string
          example: binance
        price:
          type: number
        bid:
          type: number
          nullable: true
        ask:
          type: number
          nullable: true
        change_24h:
          type: number
          nullable: true
        volume_24h:
          type: number
          nullable: true
        deviation_percent:
          type: number
          nullable: true
        is_outlier:
          type: boolean
        age_seconds:
          type: integer
          nullable: true
        updated_at:
          type: string
          format: date-time
          nullable: true
    Convert:
      type: object
      properties:
        success:
          type: boolean
        from:
          type: string
        to:
          type: string
        amount:
          type: number
        rate:
          type: number
        result:
          type: number
        meta:
          type: object
          properties:
            stale:
              type: boolean
            via:
              type: string
              nullable: true
              description: Bridge asset for derived pairs, e.g. USDT
            updated_at:
              type: string
              format: date-time
    LatestByBase:
      type: object
      properties:
        success:
          type: boolean
        base:
          type: string
          example: BTC
        rates:
          type: object
          additionalProperties:
            type: number
          example:
            USD: 104250.12
            EUR: 96480.55
            UAH: 4329815.4
        meta:
          type: object
          properties:
            source:
              type: string
              example: aggregated
            source_count:
              type: integer
              example: 4
            stale:
              type: boolean
            updated_at:
              type: string
              format: date-time
    History:
      type: object
      properties:
        success:
          type: boolean
        base:
          type: string
        quote:
          type: string
        period:
          type: string
          example: 7d
        interval:
          type: string
          example: 1h
        points:
          type: array
          items:
            type: object
            properties:
              timestamp:
                type: string
                format: date-time
              open:
                type: number
              high:
                type: number
              low:
                type: number
              close:
                type: number
    LatestAllPairs:
      type: object
      properties:
        success:
          type: boolean
        rates:
          type: array
          items:
            type: object
            properties:
              pair:
                type: string
                example: BTC/USD
              base:
                type: string
              quote:
                type: string
              price:
                type: number
              spread_percent:
                type: number
                nullable: true
              change_24h:
                type: number
                nullable: true
              source_count:
                type: integer
              stale:
                type: boolean
              updated_at:
                type: string
                format: date-time
  responses:
    Error:
      description: Error response
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'Optional. Without a key: 60 req/min per IP. With a key: 120 req/min.'