# Coinpaprika API

> Crypto market data from Coinpaprika's public pages: top coins, one coin, market totals, exchanges and their trading pairs.

Category: Finance & Crypto. Region: Global. 5 endpoints at `https://api.hoshime.com/v1/coinpaprika/<endpoint>`, `GET` with query parameters, answering `{data, meta}` (see https://hoshime.com/docs/responses.md). Reference: https://hoshime.com/docs/platforms/coinpaprika
## GET /v1/coinpaprika/coin

One cryptocurrency by Coinpaprika id: market data in USD, supplies, all-time high, and its tags and links.

Scope: `social:read` · Units: 1 · Cached: 2 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | Coinpaprika coin id such as btc-bitcoin, or a coinpaprika.com coin URL. (e.g. btc-bitcoin) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `athAt` (string), `athPriceUsd` (string), `changePercent1h` (number (double)), `changePercent1y` (number (double)), `changePercent24h` (number (double)), `changePercent30d` (number (double)), `changePercent7d` (number (double)), `circulatingSupply` (string), `hashAlgorithm` (string), `id` (string), `logoUrl` (string), `marketCapUsd` (string), `maxSupply` (string), `name` (string), `openSource` (boolean), `priceUsd` (string), `proofType` (string), `rank` (integer (int64)), `sourceCodeUrl` (string), `startedAt` (string), `symbol` (string), `tags` (string[]), `totalSupply` (string), `type` (string), `updatedAt` (string), `url` (string), `volume24hUsd` (string), `websiteUrl` (string), `whitepaperUrl` (string)

```bash
curl "https://api.hoshime.com/v1/coinpaprika/coin?id=btc-bitcoin" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/coinpaprika/tickers

The top 100 cryptocurrencies by market cap with price, volume and changes in USD.

Scope: `social:read` · Units: 1 · Cached: 2 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `athAt` (string), `athPriceUsd` (string), `changePercent1h` (number (double)), `changePercent1y` (number (double)), `changePercent24h` (number (double)), `changePercent30d` (number (double)), `changePercent7d` (number (double)), `circulatingSupply` (string), `id` (string), `logoUrl` (string), `marketCapUsd` (string), `maxSupply` (string), `name` (string), `priceUsd` (string), `rank` (integer (int64)), `symbol` (string), `totalSupply` (string), `updatedAt` (string), `url` (string), `volume24hUsd` (string)

```bash
curl "https://api.hoshime.com/v1/coinpaprika/tickers" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/coinpaprika/global

Total crypto market cap, 24h volume, Bitcoin dominance and the number of coins and exchanges.

Scope: `social:read` · Units: 1 · Cached: 5 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `btcDominancePercent` (number (double)), `coinCount` (integer (int64)), `exchangeCount` (integer (int64)), `marketCapChangePercent24h` (number (double)), `marketCapUsd` (string), `updatedAt` (string), `volume24hUsd` (string)

```bash
curl "https://api.hoshime.com/v1/coinpaprika/global" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/coinpaprika/exchanges

Crypto exchanges ranked by adjusted 24h volume, with markets, currencies and confidence score.

Scope: `social:read` · Units: 1 · Cached: 10 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `confidence` (number (double)), `currencyCount` (integer (int64)), `id` (string), `marketCount` (integer (int64)), `name` (string), `types` (string[]), `updatedAt` (string), `url` (string), `volume24hUsd` (string), `volume30dUsd` (string), `volume7dUsd` (string), `volumeRank` (integer (int64)), `websiteUrl` (string)

```bash
curl "https://api.hoshime.com/v1/coinpaprika/exchanges" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/coinpaprika/exchangeMarkets

Trading pairs of one crypto exchange by Coinpaprika id: price, 24h volume and trust score.

Scope: `social:read` · Units: 1 · Cached: 5 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | Coinpaprika exchange id such as binance, or a coinpaprika.com exchange URL. (e.g. binance) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `limit` | integer | no | Items per page, 1 to 200. (default 50) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `baseId` (string), `category` (string), `pair` (string), `priceUsd` (string), `quoteId` (string), `trustScore` (string), `updatedAt` (string), `url` (string), `volume24hUsd` (string)

```bash
curl "https://api.hoshime.com/v1/coinpaprika/exchangeMarkets?id=binance" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
