Free
For testing and side projects
$0forever
No credit card
No overage charges
100 requests / month
Includes:
- Update frequency: Hourly
- Historical data
- Target currencies: USD only
- Usage: Non-commercial
- Support: None
AI agents: the setup steps for Coinlayer are in the Agents section of this page (#agents) and as Markdown at /products/coinlayer/agents.md. Index of every APILayer API: https://apilayer.com/llms.txt
Real-Time Cryptocurrency Exchange Rate API · by APILayer
Free plan · 100 requests / month · no card
Overview
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.
curl --request GET \
--url "https://api.apilayer.net/coinlayer/live?access_key=YOUR_ACCESS_KEY"
{
"success": true,
"terms": "https://coinlayer.com/terms",
"privacy": "https://coinlayer.com/privacy",
"timestamp": 1794514527,
"target": "USD",
"rates": {
"BTC": 71541.203333,
"ETH": 2018.185333
}
}Get live and historical crypto rates for trading dashboards, portfolio trackers, financial apps and crypto websites, all from one API.
Retrieve the latest available cryptocurrency rates with a single API call.
Query cryptocurrency rates for a specific date and analyze how markets have changed over time.
Convert amounts between cryptocurrencies and supported target currencies directly through the API.
Retrieve cryptocurrency exchange rate data across a defined period for analysis, reporting, and historical comparisons.
Track cryptocurrency rate fluctuations over a selected period and identify changes across supported assets.
Add daily highs, lows and trading volume, plus market cap and supply, to your rates with a single parameter.
From real-time exchange rates to historical market analysis, Coinlayer gives developers the infrastructure they need to build reliable cryptocurrency-powered products.
Explore how straightforward cryptocurrency data integration can be.
Explore Use CasesGet 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 DocumentationPricing
Start for free and upgrade as your application grows.
For testing and side projects
$0forever
No credit card
No overage charges
100 requests / month
Includes:
For your first live product
$9.99/ month
Billed monthly
Then $0.007992 per extra request, up to 10,000 extra a month
5,000 requests / month
Everything in Free, plus:
For growing traffic
$39.99/ month
Billed monthly
Then $0.005332 per extra request, up to 60,000 extra a month
30,000 requests / month
Everything in Starter, plus:
For high volume
$79.99/ month
Billed monthly
Then $0.0031996 per extra request, up to 200,000 extra a month
100,000 requests / month
Everything in Professional, plus:
Need more? Get custom enterprise pricing for higher-volume requirements, dedicated technical support, and additional business needs: volume requests, 60-second updates, all features and custom solutions.
| 10 features | Free$0Get free key | Starter$9.99/moSubscribe | Professional$39.99/moSubscribe | Enterprise$79.99/moSubscribe |
|---|---|---|---|---|
| Update frequency | Hourly | Hourly | 10-minute | 60-second |
| Historical data | ||||
| Target currencies | USD only | All | All | All |
| Usage | Non-commercial | Commercial | Commercial | Commercial |
| Support | None | Standard | Standard | Standard |
| SSL encryption | ||||
| Extended results | – | |||
| Conversion endpoint | – | |||
| Time-frame endpoint | – | – | ||
| Change data | – | – | – | |
| Price per extra request after the monthly limit | None | $0.007992 | $0.005332 | $0.0031996 |
Playground
Build a request in your browser and see the response it returns.
Agents
Steps for AI coding agents that add Coinlayer to a project.
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).
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.
# add .env to .gitignore
APILAYER_ACCESS_KEY=your_api_keyhttps://api.apilayer.net/coinlayeraccess_key query parameter/live Live rates/{date} Historical rates for a date (YYYY-MM-DD)/convert Convert an amount/timeframe Rates for a time frame/change Rate changes over a period/list Supported cryptocurrencies and target currenciescurl "https://api.apilayer.net/coinlayer/live?access_key=$APILAYER_ACCESS_KEY"The API info tab shows the response this request returns.
Each plan adds features to the plan before it. Check that the account's plan includes a feature before writing code that uses it.
| Plan | Requests / month | Adds |
|---|---|---|
| Free | 100 | Update frequency: Hourly, Historical data, Target currencies: USD only, Usage: Non-commercial, SSL encryption, Support: None |
| Starter | 5,000 | Target currencies: All, Usage: Commercial, Extended results, Conversion endpoint, Support: Standard |
| Professional | 30,000 | Update frequency: 10-minute, Time-frame endpoint |
| Enterprise | 100,000 | Update frequency: 60-second, Change data |
Prices are in the Pricing tab.
FAQs
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.
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.
Coinlayer currently provides exchange rate data for more than 385 cryptocurrencies.
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.
The most up-to-date crypto exchange rate data is fed into our systems every 60 seconds. Depending on your subscription plan, you will be able to retrieve updates in the following frequencies: 60 minutes, 10 minutes or 60 seconds.
Yes. Coinlayer provides historical exchange rate data reaching back to 2011.
Yes. Supported plans include a conversion endpoint for converting amounts between cryptocurrencies and supported target currencies.
Yes. Starter plans and higher support 166 target currencies beyond USD.
Yes. Coinlayer supports 256-bit SSL/HTTPS encryption across its plans.
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. You can learn more about overages billing here.
The Coinlayer API has had an uptime of 99.99% throughout the last 12 months. You can review the current status anytime on the Status Page.
Yes. The Free plan provides 100 API requests per month and does not expire, subject to its feature limitations.
The Coinlayer Free Plan offers a way of testing the API and its capabilities in a non-production website or application. Premium plans come with standard customer support, commercial use, larger amounts of queries, more frequent updates and essential API features like currency conversion, time-frame and change data.
The infrastructure behind Coinlayer was built to scale almost indefinitely. Let us know your requirements and we will work out a custom solution for you.
Payment can be made via credit card (Visa, MasterCard, American Express, Diner's Club, Discover), or, for Enterprise clients, standard bank transfer. You can change your payment method at any given time in your account dashboard.
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.
Yes. Coinlayer is a subscription-based service and your chosen plan renews automatically each month. You can upgrade, downgrade or cancel anytime.
You can initiate a cancellation or downgrade by selecting a new plan and providing at least one reason for your decision. The customer service team will cancel or downgrade your plan. Downgrades are not effective immediately; your premium subscription will remain active until the end of the current billing period.
To change your subscription from monthly to yearly billing, submit a request on the Contact Us page following these steps:
Step 1: Sign in to your account.
Step 2: Go to the Contact Us page.
Step 3: Fill out the form and choose the “Sales” category for this request.
Step 4: In the text box, include your specific request, for example “Change from Monthly to Yearly subscription.”
An overage occurs when you go over a quota for your API plan. When you reach your API calls limit, we will charge you a small amount for each new API call so we can make sure there will be no disruption in the service we provide to you and your website or application can continue running smoothly.
Prices for additional API calls will vary based on your plan. See the table below for prices per call and an example of an overage billing.
| Plan | Monthly price | Requests / month | Price per extra request | Extra requests | Overage cost |
|---|---|---|---|---|---|
| Starter | $9.99 | 5,000 | $0.007992 | 10,000 | $79.92 |
| Professional | $39.99 | 30,000 | $0.005332 | 10,000 | $53.32 |
| Enterprise | $79.99 | 100,000 | $0.0031996 | 10,000 | $32.00 |
Note: For complete details, please refer to the overages documentation here.
Overage fees allow customers to continue using an API once a quota limit is reached. We want to make sure your website or application continues running at all times, so charges will apply if you go over your monthly quota limit. If you notice you are going over your quota limit each month, look on your dashboard for an upgraded plan to help with larger request limits.
When you are close to reaching your API calls limit for the month, you will receive an automatic notification (at 75%, 90%, and 100% of your monthly quota). You can keep track of your quota usage to prevent overages by tracking the number of API calls you make and checking the dashboard for up-to-date usage statistics.
You will be charged for your monthly subscription plan, plus any overage fees applied. Your credit card will be billed after the billing period has ended.
In this case, there will be no change to your monthly invoice. Only billing cycles that incur overages will see any difference in monthly charges. The Business Continuity plan is an insurance plan to be used only if needed and guarantees your end users never see a drop in coverage from you.
If your usage consistently surpasses the set limits each month, you may face additional charges for the excess usage. Nevertheless, as your monthly usage reaches a certain threshold, it becomes more practical to consider upgrading to the next plan. By doing so, you ensure a smoother and more accommodating experience for your growing customer base. Find out about our pricing plans here.
You can easily upgrade your plan by going to your Dashboard and selecting the new plan that would be more suitable for your business needs. Additionally, you may contact your Account Manager to discuss a custom plan if you expect a continuous increase in usage.
Still have a question?
Contact support