This API provides the price of the token by taking the symbol of the token(ticker) as a parameter which will give the latest price.
NOTE: This endpoint gives live prices for all coingecko supported symbols, however historical prices are supported only for Ethereum, BSC, Matic and Arbitrum. Timestamp can also be provided as a query param to get historical data.
Click Try It! to start a request and see the response here!