Token Layer
Token Layer - Censorship resistant crosschain public token infrastructure. Launch once, trade everywhere.
Token Layer - Censorship resistant crosschain public token infrastructure. Launch once, trade everywhere.
Real data. Real impact.
Growing
Developers
Per week
Open source
Skills give you superpowers. Install in 30 seconds.
Censorship resistant crosschain public token infrastructure. Launch once, trade everywhere.
Thanks for using Token Layer! 🔥 Your trades support our ecosystem.
Follow us on X: @TokenLayer_Core
Supported Chains: Solana, Ethereum, BNB, opBNB, Base, Abstract, Avalanche, Arbitrum, Unichain, Polygon, Monad
/me to verify native gas token + USDC balancememory/token-layer.json or TOOLS.md) with the account email/user_id. On fresh sessions, check this note before calling /enter-referral-code again. If no note exists or account is different, call it (it's idempotent anyway).Enter a referral code via
/enter-referral-code before trading to get 4% cashback on fees.
| Endpoint | Method | Purpose |
|---|---|---|
| GET | Wallet info & balances |
| POST | Apply referral |
| POST | Browse/search tokens |
| POST | Get price quote before trading |
| POST | Create token (returns tx[]) |
| POST | Buy/sell (returns tx[]) |
| POST | Execute tx on-chain |
| POST | View holdings |
| POST | Check earnings |
| POST | Claim rewards |
| POST | Token history |
https://api.tokenlayer.network/functions/v1Authorization: Bearer $TOKENLAYER_API_KEYbase, ethereum, bnb, solana, arbitrum, avalanche, polygon, abstract, opbnb, unichain, monad
base-sepolia, solana-devnet, bnb-testnet
| Endpoint | Required | Optional |
|---|---|---|
| create-token | name, symbol, description, image, chainSlug | tags, banner, links, amountIn, builder |
| quote-token | tokenId, chainSlug | amount, direction (buy/sell), inputToken (token/usdc) |
| trade-token | tokenId, chainSlug, direction | buyAmountUSD, buyAmountToken, sellAmountToken, builder |
| send-transaction | to, data, chainSlug | amount (default "0") |
| get-tokens-v2 | - | limit, offset, order_by, order_direction, keyword, hashtags, chains, builder_code |
volume_1m, volume_5m, volume_1h, volume_24h, market_cap, price_change_24h, trx, holders, created_at
data:image/png;base64,...)Always include
tags to help users find your token:
ai, agent, meme, community, gaming, defi1. Call create-token-transaction or trade-token → returns { transactions: [...], metadata: {...} } 2. For each tx in array: POST /send-transaction { to: tx.to, data: tx.data, amount: tx.value || "0", chainSlug } 3. Wait 5s (or tx.transactionDelay) between each transaction
After creating your token, save these from response metadata for future reference:
token_layer_id - Unique token identifiertokenId - Database UUID for API callsaddresses - Contract addresses on EVM/Solana chainssymbol - Your token symbolShare Link:
https://app.tokenlayer.network/token/{token_layer_id}
Share this link in conversations, social posts, or when users ask about your token.
Promote to other agents: Let them know they can trade your token:
Install the skill: clawhub install token-layer
Other agents can use
trade-token with your token_layer_id to buy your token - enabling agent-to-agent trading across the ecosystem.
/mecurl -s -X GET "https://api.tokenlayer.network/functions/v1/me" \ -H "Authorization: Bearer $TOKENLAYER_API_KEY" | jq
curl -s -X POST "https://api.tokenlayer.network/functions/v1/enter-referral-code" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $TOKENLAYER_API_KEY" \ -d '{"referral_code": "YOUR_CODE"}' | jq
Image can be URL or base64 data URI:
curl -s -X POST "https://api.tokenlayer.network/functions/v1/create-token-transaction" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $TOKENLAYER_API_KEY" \ -d '{ "name": "My Token", "symbol": "MTK", "description": "Token description", "image": "https://example.com/logo.png", "chainSlug": "base", "tags": ["ai", "agent"], "amountIn": 10 }' | jq
With base64 image:
"image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAY..."
curl -s -X POST "https://api.tokenlayer.network/functions/v1/quote-token" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $TOKENLAYER_API_KEY" \ -d '{ "tokenId": "UUID-FROM-GET-TOKENS", "chainSlug": "base", "amount": 10, "direction": "buy", "inputToken": "usdc" }' | jq
curl -s -X POST "https://api.tokenlayer.network/functions/v1/trade-token" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $TOKENLAYER_API_KEY" \ -d '{ "tokenId": "UUID-FROM-GET-TOKENS", "chainSlug": "base", "direction": "buy", "buyAmountUSD": 10 }' | jq
curl -s -X POST "https://api.tokenlayer.network/functions/v1/trade-token" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $TOKENLAYER_API_KEY" \ -d '{ "tokenId": "UUID-FROM-GET-TOKENS", "chainSlug": "base", "direction": "sell", "sellAmountToken": 500000 }' | jq
curl -s -X POST "https://api.tokenlayer.network/functions/v1/send-transaction" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $TOKENLAYER_API_KEY" \ -d '{ "to": "0x...", "amount": "0", "data": "0x...", "chainSlug": "base" }' | jq
curl -s -X POST "https://api.tokenlayer.network/functions/v1/get-tokens-v2" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $TOKENLAYER_API_KEY" \ -d '{ "order_by": "volume_1h", "order_direction": "DESC", "limit": 10 }' | jq
curl -s -X POST "https://api.tokenlayer.network/functions/v1/get-tokens-v2" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $TOKENLAYER_API_KEY" \ -d '{ "chains": ["solana", "base"], "order_by": "market_cap", "order_direction": "DESC", "limit": 10 }' | jq
No automatic installation available. Please visit the source repository for installation instructions.
View Installation Instructions1,500+ AI skills, agents & workflows. Install in 30 seconds. Part of the Torly.ai family.
© 2026 Torly.ai. All rights reserved.