cURL
curl --request GET \ --url https://api.walletsuite.io/api/price/by-contract/{address} \ --header 'x-api-key: <api-key>'
{ "symbol": "<string>", "basePair": "<string>", "value": 123, "updatedAt": "2023-11-07T05:31:56Z" }
Checks if the contract is a supported asset, then uses its symbol to return the price. If missing, refreshes first.
API key provided by WalletSuite team
Contract address (EVM 0x… or TRON T…/41…)
Blockchain identifier
Base pair (default USD)
OK
Was this page helpful?