---
title: Convert and Get Crypto Prices API
slug: convert-and-get-crypto-prices-api
url: https://apyhub.com/corsair96/service/convert-and-get-crypto-prices-api
provider: corsair96
categories: [Finance]
tags: [crypto-prices, spot-prices, market-data, digital-assets, price-feed]
auth: api_key
version: 1.0.0
service_type: sync
endpoints: 2
atoms: 50-60
mcp: true
---

# Convert and Get Crypto Prices API

Get live spot prices for supported crypto symbols in USD, EUR, GBP, BTC, or ETH. Returns price, 24h change, and market cap by symbol.

## Endpoints

| Method | URL | Description | Atoms |
| --- | --- | --- | --- |
| GET | `https://api.eu.apyhub.com/corsair96/convert-and-get-crypto-prices-api/crypto/prices` | What it does Returns spot prices for one or more symbols quoted in a selected currency. The request… | 60 |
| GET | `https://api.eu.apyhub.com/corsair96/convert-and-get-crypto-prices-api/crypto/convert` | What it does Converts an amount from one coin or fiat currency to another and returns the converted… | 50 |

## Endpoint reference

### Spot prices

`GET https://api.eu.apyhub.com/corsair96/convert-and-get-crypto-prices-api/crypto/prices` · 60 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `vs` | query | string | no | One of: usd, eur, gbp, btc, eth. Default: `usd`. |
| `symbols` | query | string | no | Default: `BTC`. |

#### Quickstart

Fetch spot prices for the default quote currency (`usd`) and symbol (`BTC`).

```bash
curl -X GET "https://api.eu.apyhub.com/corsair96/convert-and-get-crypto-prices-api/crypto/prices?vs=usd&symbols=BTC" \
  -H "apy-token: $APY_TOKEN"
```

#### What you'll get back

Returns a JSON object with required `vs`, `source`, and `prices` fields. `vs` is the quote currency used, `source` is the price provider string, and `prices` is an object keyed by symbol, where each value includes a required `price` number and optional `change24h` and `marketCap` fields.

```json
{
  "vs": "usd",
  "source": "cryptocompare",
  "prices": {
    "BTC": {
      "price": 65000,
      "change24h": 1.25,
      "marketCap": 1270000000000
    }
  }
}
```

### Convert between coins and fiats

`GET https://api.eu.apyhub.com/corsair96/convert-and-get-crypto-prices-api/crypto/convert` · 50 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `to` | query | string | yes |  |
| `from` | query | string | yes |  |
| `amount` | query | number | no | Default: `1`. |

#### Quickstart

Convert 1 unit from USD to EUR with a simple GET request.

```bash
curl -X GET "https://api.eu.apyhub.com/corsair96/convert-and-get-crypto-prices-api/crypto/convert?from=USD&to=EUR&amount=1" \
  -H "apy-token: $APY_TOKEN"
```

#### What you'll get back

Returns a JSON object with `from`, `to`, `amount`, `result`, `usdPerFrom`, and `usdPerTo` fields. `from` and `to` are currency codes, `amount` is the input amount, `result` is the converted value, and `usdPerFrom` / `usdPerTo` are the USD exchange rates used.

```json
{
  "from": "USD",
  "to": "EUR",
  "amount": 1,
  "result": 0.92,
  "usdPerFrom": 1,
  "usdPerTo": 1.087
}
```

## About

## What it does
Crypto Prices Converter gives you live spot prices and conversion results for supported cryptocurrencies and fiat currencies. Send a quote currency and one or more symbols to get current prices back, or pass a source currency, target currency, and amount to calculate a conversion.

The spot prices endpoint accepts `vs` as `usd`, `eur`, `gbp`, `btc`, or `eth`, plus an optional `symbols` query string. The response includes the requested `vs`, a `source` string, and a `prices` object keyed by symbol. Each symbol entry returns `price`, with optional `change24h` and `marketCap` values when available.

The conversion endpoint takes required `from` and `to` query parameters, plus an optional `amount`. The response returns `from`, `to`, `amount`, `result`, `usdPerFrom`, and `usdPerTo`, which makes it useful for displaying exchange values or normalising balances across assets.

Use Crypto Prices Converter when you need current pricing in a trading dashboard, a portfolio view, a checkout flow, or an internal finance tool that compares coin values without maintaining your own rate feed.

## Usage

Base URL: `https://api.eu.apyhub.com` (default region — see
`GET https://apyhub.com/api/public/regions` for the rest).

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/corsair96/service/convert-and-get-crypto-prices-api
