/price - Lookup token prices
Endpoint
Request parameters
Parameter
Type
Description
Example requests
curl -X POST \
'https://api.swapkit.dev/price' \
-H 'Content-Type: application/json' \
-H "x-api-key: YOUR_VARIABLE_HERE" \
-d '{
"tokens": [
{ "identifier": "ETH.ETH" },
{ "identifier": "BTC.BTC" },
{ "identifier": "SOL.SOL" },
{"identifier": "BSC.CAKE-0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82"}
],
"metadata": true
}'curl -X POST \
'https://api.swapkit.dev/price' \
-H 'Content-Type: application/json' \
-H "x-api-key: YOUR_VARIABLE_HERE" \
-d '{
"tokens": [
{ "identifier": "ETH.ETH" }
],
"metadata": true
}'Response format
Field
Type
Description
Last updated

