Token Info and Price
GET TokenInfo
Endpoint
GET /ai-agent-backend/token_info
Parameters
ticker
query
string
No
The token's ticker symbol.
Authorization
header
string
Yes
Login token in Redis.
Example Request (HTTP)
Example Request (Shell)
Example Request (JavaScript)
Example Response (200 OK)
Example Response (400 Bad Request)
Response Data Schema
HTTP Status Code: 200 OK
code
integer
Yes
None
Response Code
The status code of the response.
msg
string
Yes
None
Response Message
A descriptive message about the response.
data
object
Yes
None
Token Data
The data object containing token details.
data.ticker
string
Yes
None
Ticker Symbol
The token’s ticker symbol.
data.symbol
string
Yes
None
Symbol
The token’s symbol.
data.name
string
Yes
None
Name
The token’s name.
data.platform
string
Yes
None
Platform
The blockchain platform of the token.
data.categories
array of strings
Yes
None
Categories
The categories associated with the token.
data.contract_infos
array of objects
Yes
None
Contract Info
The contract information for different platforms.
data.price
number
Yes
None
Price
The token's price in USD.
HTTP Status Code: 400 Bad Request
error
string
Yes
None
Error
Error message indicating the issue with the request.
Last updated