POST
/tokens/create-token-infoCreate token metadata (name, symbol, description, image). Returns mint address.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | Token display name |
| symbol | string | Yes | Token ticker symbol |
| description | string | Yes | Token description |
| string | No | X/Twitter profile URL | |
| imageUrl | string | No | Direct image URL or IPFS gateway |
Tip
Use a direct image link (hosted or IPFS gateway) for best reliability.
POST
/tokens/create-launch-transactionGenerate the launch transaction for signing.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| mint | string | Yes | Mint address from create-token-info |
| creatorWallet | string | Yes | Creator's wallet (pays SOL) |
| initialBuyAmount | number | Yes | SOL amount for initial buy |
Tip
Returns base64 serialized transaction. Deserialize, sign, then send to network.
POST
/tokens/create-claim-fees-transactionGenerate transaction to claim accumulated fee share rewards.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| wallet | string | Yes | Wallet claiming fees |
| mint | string | Yes | Token mint to claim from |
Tip
Requires SOL for transaction fee.
GET
/tokens/[mint]Query token info, stats, holders, and trading data.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| mint | path | Yes | Token mint address |
Tip
Useful for analytics and token analysis.
Authentication
All API calls require an API key in the x-api-key header. Get your key at dev.bags.fm.
