Skip to main content
URL: https://xapi.duelduck.com/coins/name/ URL: https://xapi.duelduck.com/coins/name/ URL: https://xapi.duelduck.com/coins/name/ Retrieve Solana token information by searching for tokens with the specified name.

Parameters

NameTypePathRequiredDescription
namestringnameyesToken name to search for

Responses

Response content type: application / json .

Code 200

Token information retrieved successfully.
[
  {
    "decimals": 0,
    "image_url": "string",
    "is_verified": true,
    "market_cap": 0,
    "mint": "string",
    "name": "string",
    "program_id": "string",
    "symbol": "string",
    "updated_at": "string",
    "usd_price": 0
  }
]

Code 400

Invalid request data or empty token name.
{
  "message": "string",
  "status": 0
}

Code 500

Internal server error during token retrieval.
{
  "message": "string",
  "status": 0
}