Skip to content

Free crypto price API

The prices, market data and price history CoinFenla shows, as JSON for your own site, app or script. Free, with no key and no sign-up: show a “Data from CoinFenla” link wherever you show the data.

  • Free for sites and apps
  • No key and no sign-up, and it works from a web page's own code
  • Price history up to a year

Your first request

Every address starts with https://api.coinfenla.com/v1

Ask for the five largest coins, in a terminal or from a web page's code:

In a terminal

curl "https://api.coinfenla.com/v1/coins?size=5"

In JavaScript

const response = await fetch('https://api.coinfenla.com/v1/coins?size=5')
const { coins } = await response.json()
console.log(coins[0].name, coins[0].price)

What you can ask for

Each answer carries what a page of CoinFenla shows, as fresh as the site's own.

The coins, largest first

GET /coins

The coins in market-cap order, as the home page lists them: price, 24h and 7d change, market cap, 24h volume, circulating supply, logo and page, up to 250 a page. Coins whose supply we haven't checked yet have no rank: they come last, busiest first.

What it takes

page
Which page of the list, from 1. total says how many coins the list has; a page past the last has none.
size
Coins per page, from 1 to 250; 100 when left out.
currency
The currency of every price and amount: USD, EUR, GBP, JPY, CNY, INR, AUD or CHF; USD when left out. Other currencies use the day's rate, which the answer names.

Example request

https://api.coinfenla.com/v1/coins?size=2

Example answer (the values are examples)
{
  "currency": "USD",
  "now": "2026-11-13T09:41:30Z",
  "page": 1,
  "size": 2,
  "total": 600,
  "coins": [
    {
      "slug": "bitcoin",
      "name": "Bitcoin",
      "symbol": "BTC",
      "logo": "https://cdn.coinfenla.com/coin-logos/small/bitcoin.png?v=1",
      "rank": 1,
      "price": 101234.56789,
      "change24h": -1.3421,
      "change7d": 2.80637,
      "marketCap": 2019629628140,
      "volume24h": 41234567890,
      "circulatingSupply": 19950000,
      "supplyChecked": true,
      "updatedAt": "2026-11-13T09:41:03Z",
      "url": "https://www.coinfenla.com/price/bitcoin"
    },
    {
      "slug": "ethereum",
      "name": "Ethereum",
      "symbol": "ETH",
      "logo": "https://cdn.coinfenla.com/coin-logos/small/ethereum.png?v=1",
      "rank": 2,
      "price": 3456.789012,
      "change24h": 0.8125,
      "change7d": -3.10422,
      "marketCap": 417234567890,
      "volume24h": 18765432109,
      "circulatingSupply": 120700000,
      "supplyChecked": true,
      "updatedAt": "2026-11-13T09:41:05Z",
      "url": "https://www.coinfenla.com/price/ethereum"
    }
  ],
  "rate": null
}

One coin

GET /coins/{slug}

Everything the list gives for one coin, plus how it trades, its all-time high and its links, as its page shows them.

What it takes

slug
The coin's name in its page's address: bitcoin for www.coinfenla.com/price/bitcoin. A coin's old name still works.
currency
The currency of every price and amount: USD, EUR, GBP, JPY, CNY, INR, AUD or CHF; USD when left out. Other currencies use the day's rate, which the answer names.

Example request

https://api.coinfenla.com/v1/coins/bitcoin?currency=EUR

Example answer (the values are examples)
{
  "currency": "EUR",
  "now": "2026-11-13T09:41:30Z",
  "coin": {
    "slug": "bitcoin",
    "name": "Bitcoin",
    "symbol": "BTC",
    "logo": "https://cdn.coinfenla.com/coin-logos/small/bitcoin.png?v=1",
    "rank": 1,
    "price": 87486.913570538,
    "change24h": -1.3421,
    "change7d": 2.80637,
    "marketCap": 1745363924638.588,
    "volume24h": 35634913570.538,
    "circulatingSupply": 19950000,
    "supplyChecked": true,
    "trading": "listed",
    "stoppedAt": null,
    "updatedAt": "2026-11-13T09:41:03Z",
    "url": "https://www.coinfenla.com/price/bitcoin",
    "allTimeHigh": {
      "price": 108958.43970399999,
      "date": "2025-10-06T18:57:42Z",
      "changePercent": -19.7068
    },
    "links": {
      "websites": [
        "https://bitcoin.org/"
      ],
      "explorers": [
        "https://mempool.space/"
      ],
      "whitepaper": "https://bitcoin.org/bitcoin.pdf",
      "repos": [
        "https://github.com/bitcoin/bitcoin"
      ],
      "forums": [],
      "reddit": "https://www.reddit.com/r/Bitcoin/",
      "x": null,
      "facebook": null,
      "telegram": null,
      "discord": null,
      "medium": null,
      "youtube": null,
      "instagram": null
    }
  },
  "rate": {
    "source": "ECB",
    "date": "2026-11-12",
    "perUsd": 0.8642
  }
}

A coin's price history

GET /coins/{slug}/history

The points of the coin page's chart for the last 24 hours, 7 days, month or year, oldest first.

What it takes

slug
The coin's name in its page's address: bitcoin for www.coinfenla.com/price/bitcoin. A coin's old name still works.
period
24h, 7d, 1m or 1y; 24h when left out. A coin's whole history (all) is for a paid plan later: here it answers the error period_not_free.
currency
The currency of every price and amount: USD, EUR, GBP, JPY, CNY, INR, AUD or CHF; USD when left out. Other currencies use the day's rate, which the answer names.

Example request

https://api.coinfenla.com/v1/coins/bitcoin/history?period=7d

Example answer (the values are examples)
{
  "currency": "USD",
  "now": "2026-11-13T09:41:30Z",
  "slug": "bitcoin",
  "period": "7d",
  "points": [
    {
      "time": "2026-11-06T10:00:00Z",
      "price": 98480.12
    },
    {
      "time": "2026-11-06T11:00:00Z",
      "price": 98612.4
    },
    {
      "time": "2026-11-13T09:00:00Z",
      "price": 101234.56789
    }
  ],
  "rate": null
}

The whole market

GET /global

The total market cap and 24h volume, Bitcoin's share of the total, and how many coins rose, barely moved and fell over the last hour, day and week, as the home page's summary shows them.

What it takes

currency
The currency of every price and amount: USD, EUR, GBP, JPY, CNY, INR, AUD or CHF; USD when left out. Other currencies use the day's rate, which the answer names.

Example request

https://api.coinfenla.com/v1/global

Example answer (the values are examples)
{
  "currency": "USD",
  "now": "2026-11-13T09:41:30Z",
  "totalMarketCap": 3412345678901,
  "volume24h": 98765432109,
  "bitcoinShare": 59.18598371245108,
  "breadth": {
    "1h": {
      "up": 268,
      "flat": 141,
      "down": 192
    },
    "24h": {
      "up": 212,
      "flat": 31,
      "down": 358
    },
    "7d": {
      "up": 301,
      "flat": 12,
      "down": 288
    }
  },
  "updatedAt": "2026-11-13T09:41:05Z",
  "rate": null
}

The currencies

GET /currencies

The currencies prices can come in, each with the rate in use today.

What it takes

Nothing: the answer lists every currency.

Example request

https://api.coinfenla.com/v1/currencies

Example answer (the values are examples)
{
  "now": "2026-11-13T09:41:30Z",
  "currencies": [
    {
      "code": "USD",
      "perUsd": 1,
      "source": null,
      "date": null
    },
    {
      "code": "EUR",
      "perUsd": 0.8642,
      "source": "ECB",
      "date": "2026-11-12"
    },
    {
      "code": "GBP",
      "perUsd": 0.7581,
      "source": "ECB",
      "date": "2026-11-12"
    },
    {
      "code": "JPY",
      "perUsd": 154.27,
      "source": "ECB",
      "date": "2026-11-12"
    },
    {
      "code": "CNY",
      "perUsd": 7.1234,
      "source": "ECB",
      "date": "2026-11-12"
    },
    {
      "code": "INR",
      "perUsd": 88.61,
      "source": "ECB",
      "date": "2026-11-12"
    },
    {
      "code": "AUD",
      "perUsd": 1.5312,
      "source": "ECB",
      "date": "2026-11-12"
    },
    {
      "code": "CHF",
      "perUsd": 0.8012,
      "source": "ECB",
      "date": "2026-11-12"
    }
  ]
}

Limits

Up to 10 requests a second from one address, with bursts of up to 100.

Over the limit, the answer is 429 with a Retry-After header: wait that many seconds, then ask again.

A busy site or app does best keeping each answer for a short while and serving its visitors from that copy: updatedAt says how fresh each price is.

The answer over the limit
{
  "error": {
    "status": 429,
    "code": "rate_limited",
    "message": "Too many requests. Try again in a minute.",
    "retryAfter": 60
  }
}

The credit: Data from CoinFenla

Wherever you show data from the API, show this credit with its link, visible without a click. When you show one coin, link to its page instead of the home page.

The credit as a text link

Data from <a href="https://www.coinfenla.com/">CoinFenla</a>

The brand and credit guide has it as a small badge too, light and dark, and says where it goes.

The terms, in short

  • Free to show in a website or an app, with the credit.
  • No resale, no paid data feed built on it, and no bulk copy kept as a database of our data.
  • No promise of uptime: the limits can change.
  • We may block a caller who breaks the terms.
  • Prices come from exchanges, are shown as we read them, and aren't financial advice.

The full API terms apply to every request.

Every route and field is also in an OpenAPI description, for tools that read it.

Errors

Every error answers with its HTTP status and the same JSON: a code to act on and a message to show. The list can grow: for a code you don't know, show the message.

StatusCodeWhat it means
400invalid_coinThe coin's name isn't written as in a page's address, such as bitcoin.
400invalid_currencyThe currency isn't one of the eight.
400invalid_queryA value is out of range, such as a size over 250.
400period_not_freeThe whole history (all) isn't part of the free API.
400bad_requestThe request can't be read.
403site_blockedRequests from this website are blocked for breaking the API terms.
403address_blockedRequests from this address are blocked for breaking the API terms.
404unknown_coinNo coin has this name.
404not_foundNo such address in the API.
405method_not_allowedThe API only answers GET.
429rate_limitedOver the limit: wait for Retry-After.
500internal_errorSomething went wrong on our side.
503prices_unavailablePrices can't be read right now: try again shortly.
503rate_unavailableToday's rate for this currency can't be read right now: try again later, or ask in USD.
503api_offThe API is paused for a moment: try again after Retry-After.

Good to know

  • Numbers come unrounded: round them once, where you show them.
  • Times are in UTC, written as ISO 8601, such as 2026-11-13T09:41:30Z.
  • Every answer has now, the moment it was sent: a price's age is now minus its updatedAt, whatever your device's clock says.
  • A coin's circulating supply and market cap are empty (null) until we've checked its supply (supplyChecked), as its page says “Not checked yet”. Such a coin has no rank either (null), and the list puts it after the ranked coins, busiest first.
  • One coin's answer says how it trades: listed (trading normally), low (little trading: the price may be far from what you'd pay) or stopped (no trades since stoppedAt: the price is the last one). The list holds the listed coins only; any coin with a page answers on its own.
  • Each 24h volume, and the whole market's figures, are empty (null) when our latest reading of them is more than 5 minutes old, or before the first: you never get an old figure as a current one. A coin's 24h volume is also null when no exchange we read has traded it lately.
  • Version 1 only grows: fields can be added, never renamed or removed, so skip any field you don't know.

Popular currencies

8 available