Reference

Suggest a token's launch price

Says whether a token already has a price, and for one that has none, an outside price from Jupiter or GeckoTerminal. Its first market opens at that price when `wins` is true, and otherwise at the launch price you send.

GET
/api/tokens/launch-price

Query Parameters

chainId*integer

The chain's numeric id, 1151111081099710 for Solana.

token*string

The token's 0x address, or its base58 mint on Solana.

Response Body

application/json

application/json

curl -X GET "https://example.com/api/tokens/launch-price?chainId=8453&token=0x3eD03E95DD894235090B3d4A49E0C3239EDcE59e"
{  "chainId": 8453,  "token": "0x940181a94A35A4569E4529A3CDfB74e38FD98631",  "priced": false,  "suggestion": {    "priceUsd": 0.25,    "source": "geckoterminal",    "liquidityUsd": 250000,    "wins": true  }}
{  "error": "VALIDATION_ERROR",  "code": "VALIDATION_ERROR",  "message": "Invalid request data",  "details": {    "issues": [      {        "path": "token",        "message": "Invalid Ethereum address"      }    ]  },  "requestId": "3f2b8c1e-7a4d-4e9b-b6c5-0d1e2f3a4b5c"}