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
+ 1 more
See all 9 featuresReal-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.coinlayer.com/live?access_key=YOUR_ACCESS_KEY"
{
"success": true,
"timestamp": 1568809937,
"target": "USD",
"rates": {
"BTC": 10243.328087,
"ETH": 213.827822,
"LTC": 75.782426,
"XRP": 0.31
}
}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.
Request additional market information such as rates, highs, lows, trading volume, and market capitalization where supported.
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:
+ 1 more
See all 9 featuresFor your first live product
$9.99/ month
Billed monthly
Then $0.007992 per extra request
5,000 requests / month
Everything in Free, plus:
For growing traffic
$39.99/ month
Billed monthly
Then $0.005332 per extra request
30,000 requests / month
Everything in Starter, plus:
For high volume
$79.99/ month
Billed monthly
Then $0.0031996 per extra request
100,000 requests / month
Everything in Professional, plus:
Need more? Contact sales for custom needs.
| 9 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 |
| 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.coinlayer.comaccess_key query parameter/live Live rates/list Listcurl "https://api.coinlayer.com/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 |
| Starter | 5,000 | Target currencies: All, Usage: Commercial, Extended results, Conversion endpoint |
| 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.
Coinlayer's data is aggregated from 25+ cryptocurrency exchanges.
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 target currencies beyond USD, with coinlayer documenting support for 166 world currencies.
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.
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.
Yes. The Free plan provides 100 API requests per month and does not expire, subject to its feature limitations.
Yes. coinlayer is a subscription-based service and your chosen plan renews automatically each month. You can upgrade, downgrade or cancel anytime.
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.
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