Comment on page
🔮
Coin Price
GET /v1/coins/price?symbol=<SYMBOL>
This endpoint provides the current price and price change of the most common cryptos such as BTC, ETH, SOL, MATIC, etc.
- symbol (required): Symbol of the coin. Example: BTC, ETH, BNB
- x-api-key (required): A valid API key.
curl --location --request GET 'https://api.lynxcrypto.app/v1/coins/price?symbol=ETH' \
--header 'x-api-key: <API-KEY>'
{
"price": "1621.28",
"change": "2.5"
}
- 200: Success. Returns the current price and price change for the given coin.
- 400: Bad Request. The symbol query string parameter is missing or invalid.
- 500: Internal Server Error. An unexpected error occurred while processing the request.
Last modified 10mo ago