The Unlimited Crypto API provides endpoints to retrieve cryptocurrency prices and market information for top coins. This document covers the available API endpoints, their response formats, error handling, and usage examples.
This endpoint retrieves the current price of a specific cryptocurrency based on the provided coin name.
| Parameter | Type | Description |
|---|---|---|
| name_coin | string | The name of the cryptocurrency (e.g., bitcoin, ethereum) |
The response will include the name of the cryptocurrency and its current price.
GET /api/price/eth{
"coin": "ethereum",
"price": "$2,395.23"
}This endpoint retrieves the top cryptocurrencies based on their market value. You can limit the number of coins returned by specifying the limit parameter.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | The maximum number of coins to return |
The response is an array of top coins, including the coin's image, name, price, and symbol.
GET /api/top/2[
{
"name": "Bitcoin",
"price": "$62,656.79",
"symbol": "BTC"
},
{
"name": "Ethereum",
"price": "$2,390.53",
"symbol": "ETH"
}
]This endpoint retrieves the ATH (all time high) price of a specific cryptocurrency based on the provided coin name.
The response will include the name of the cryptocurrency, his ATH and when its happened.
GET /api/ath/eth{
"ath": 4864.91,
"ath_date": 1635984000000,
"symbol": "ETH"
}For both endpoints, the API may return error responses in the following format:
{
"error": "Coin not found"
}| HTTP Status Code | Description |
|---|---|
| 404 Not Found | The requested coin or resource does not exist |
| 400 Bad Request | Invalid input or parameters provided |
To deploy the Unlimited Crypto API on your own, follow these steps:
-
Fork the Repository: Click the "Fork" button at the top right of the repository page to create your own copy of the repository.
-
Sign Up / Log In to Vercel: Go to Vercel
-
Import Project: Click on the "New Project" button. Select "Import Git Repository" and choose the forked repository.
-
Access Your API: After deployment, you will get a unique URL where your API is hosted. You can use this URL to access your API endpoints.