Coinlayer

Operational

Real-Time Cryptocurrency Exchange Rate API · by APILayer

  • Finance
  • JSON · JSONP
  • 385+ cryptocurrencies
  • 25+ exchange sources

Free plan · 100 requests / month · no card

Overview

API info

Get accurate, reliable cryptocurrency market data with a simple REST API. Access real-time and historical exchange rates for 385+ cryptocurrencies, sourced from 25+ exchanges and delivered in milliseconds.

Example request

GETShellcurl
curl --request GET \
  --url "https://api.coinlayer.com/live?access_key=YOUR_ACCESS_KEY"
Run it in the Playground

Example response

200 - OK
{
    "success": true,
    "timestamp": 1568809937,
    "target": "USD",
    "rates": {
        "BTC": 10243.328087,
        "ETH": 213.827822,
        "LTC": 75.782426,
        "XRP": 0.31
    }
}

Built for Real-Time Crypto Applications

  • Live Exchange Rates

    Retrieve the latest available cryptocurrency rates with a single API call.

  • Historical Data

    Query cryptocurrency rates for a specific date and analyze how markets have changed over time.

  • Currency Conversion

    Convert amounts between cryptocurrencies and supported target currencies directly through the API.

  • Time-Frame Data

    Retrieve cryptocurrency exchange rate data across a defined period for analysis, reporting, and historical comparisons.

  • Change Data

    Track cryptocurrency rate fluctuations over a selected period and identify changes across supported assets.

  • Extended Results

    Request additional market information such as rates, highs, lows, trading volume, and market capitalization where supported.

  • 385+ CryptocurrenciesRetrieve exchange rate data for more than 385 cryptocurrencies from a single API.
  • 25+ Exchange SourcesCoinlayer aggregates data from 25+ cryptocurrency exchanges to provide consistent and reliable market information.
  • 166 Target CurrenciesPaid plans can return cryptocurrency rates against supported fiat target currencies, giving your application greater flexibility for international use cases.
  • Data Since 2011Access historical cryptocurrency exchange rate data going back to Bitcoin rates from 2011.

Build Smarter With Crypto Data

From real-time exchange rates to historical market analysis, coinlayer gives developers the infrastructure they need to build reliable cryptocurrency-powered products.

  • See coinlayer in Action

    Explore how straightforward cryptocurrency data integration can be.

    Explore Use Cases
  • Coinlayer Documentation

    Get started with interactive documentation, response examples and API guides. Learn how to get real-time cryptocurrency exchange rates, look up historical rates for any date, convert between crypto and fiat currencies, and track rate changes over custom time frames.

    View Documentation

Pricing

Pricing That Scales With You

Start for free and upgrade as your application grows.

MonthlyYearlySave up to 15%

Free

For testing and side projects

$0forever

No credit card

No overage charges

Get Free API Key

100 requests / month

Includes:

  • Update frequency: Hourly
  • Historical data
  • Target currencies: USD only
  • Usage: Non-commercial

+ 1 more

See all 9 features

Starter

For your first live product

$9.99/ month

Billed monthly

Then $0.007992 per extra request

Subscribe Now

5,000 requests / month

Everything in Free, plus:

  • Target currencies: All
  • Usage: Commercial
  • Extended results
  • Conversion endpoint
See all 9 features
Most popular

Professional

For growing traffic

$39.99/ month

Billed monthly

Then $0.005332 per extra request

Subscribe Now

30,000 requests / month

Everything in Starter, plus:

  • Update frequency: 10-minute
  • Time-frame endpoint
  • 6× the requests of Starter
  • Lower cost per request
See all 9 features

Enterprise

For high volume

$79.99/ month

Billed monthly

Then $0.0031996 per extra request

Subscribe Now

100,000 requests / month

Everything in Professional, plus:

  • Update frequency: 60-second
  • Change data
  • 3.33333× the requests of Professional
  • Lower cost per request
See all 9 features

Custom

Need more? Contact sales for custom needs.

Contact Sales

Compare all features

9 featuresFree$0Get free keyStarter$9.99/moSubscribeProfessional$39.99/moSubscribeEnterprise$79.99/moSubscribe
Update frequencyHourlyHourly10-minute60-second
Historical data
Target currenciesUSD onlyAllAllAll
UsageNon-commercialCommercialCommercialCommercial
SSL encryption
Extended results–
Conversion endpoint–
Time-frame endpoint––
Change data–––
Price per extra request after the monthly limitNone$0.007992$0.005332$0.0031996

Playground

Try the API

Build a request in your browser and see the response it returns.

GET
expand Optional

Add your free API key to run it from your code.

curl
200 - OK

      
    

Agents

Agents: start here

Steps for AI coding agents that add Coinlayer to a project.

  1. 1Get an API key

    A person creates the account: an agent cannot sign up. Sign up at app.apilayer.com and subscribe to Coinlayer. The Free plan includes 100 requests / month and needs no credit card.

    Copy the API key from the APILayer dashboard and give it to the agent as an environment variable (step 2).

  2. 2Keep the key out of code

    Read the key from an environment variable named APILAYER_ACCESS_KEY. Do not write the key into source code, commit it to git, or paste it into a chat.

    Call Coinlayer from server code. The key travels in the request URL, so a request sent from a browser shows the key to every visitor.

    .env
    # add .env to .gitignore
    APILAYER_ACCESS_KEY=your_api_key
  3. 3Make the first request

    Base URL
    https://api.coinlayer.com
    Auth
    access_key query parameter
    Formats
    JSON, JSONP
    Endpoints
    • /live Live rates
    • /list List
    Shell
    curl "https://api.coinlayer.com/live?access_key=$APILAYER_ACCESS_KEY"

    The API info tab shows the response this request returns.

  4. 4Check the plan before you use a feature

    Each plan adds features to the plan before it. Check that the account's plan includes a feature before writing code that uses it.

    PlanRequests / monthAdds
    Free100Update frequency: Hourly, Historical data, Target currencies: USD only, Usage: Non-commercial, SSL encryption
    Starter5,000Target currencies: All, Usage: Commercial, Extended results, Conversion endpoint
    Professional30,000Update frequency: 10-minute, Time-frame endpoint
    Enterprise100,000Update frequency: 60-second, Change data

    Prices are in the Pricing tab.

  5. 5Use the machine-readable docs

FAQs

The Answers You Might Be Looking For

Data & features

01.What is coinlayer?

Coinlayer is a REST API for cryptocurrency exchange rate data. It provides live and historical rates for 385+ cryptocurrencies, with data collected from 25+ exchanges.

02.How do I get started?

Create a coinlayer account, obtain your API access key, and use it with the API's endpoints. The API returns straightforward JSON responses designed for easy integration.

03.How many cryptocurrencies does coinlayer support?

Coinlayer currently provides exchange rate data for more than 385 cryptocurrencies.

04.Where does coinlayer get its cryptocurrency data?

Coinlayer's data is aggregated from 25+ cryptocurrency exchanges.

05.Can I retrieve historical cryptocurrency data?

Yes. Coinlayer provides historical exchange rate data reaching back to 2011.

06.Can I convert cryptocurrency values?

Yes. Supported plans include a conversion endpoint for converting amounts between cryptocurrencies and supported target currencies.

07.Can I choose a target currency?

Yes. Starter plans and higher support target currencies beyond USD, with coinlayer documenting support for 166 world currencies.

08.Where is coinlayer API data is coming from?

Cryptocurrency exchange rate data delivered by coinlayer is gathered from 25 worldwide cryptocurrency exchanges, ensuring the highest possible level of accuracy and reliability, and covering more than 385 coins.

API access

01.Does coinlayer support HTTPS?

Yes. Coinlayer supports 256-bit SSL/HTTPS encryption across its plans.

02.What happens if my allowed volume is exceeded?

Users will be automatically notified via e-mail and on their Account Dashboard once at least 75%, 90%, and 100% of their monthly API Request allowance has been reached. After reaching 100% of the allowance, overages fees will apply so we make sure you won’t experience any disruptions and your website/application will keep running smoothly.

Plans & pricing

01.Does coinlayer offer a free plan?

Yes. The Free plan provides 100 API requests per month and does not expire, subject to its feature limitations.

02.Can I cancel anytime?

Yes. coinlayer is a subscription-based service and your chosen plan renews automatically each month. You can upgrade, downgrade or cancel anytime.

03.Can I pay yearly?

Yes. If you choose annual billing, the total price of your subscription plan will be up to 15% lower than the total amount you would pay with a monthly payment frequency.

Overages

01.What happens if I exceed my monthly quota?

Paid plans support additional usage fees once the included monthly request volume has been exceeded. Usage notifications are provided as you approach your quota.

Still have a question?

Contact support