Launch tokens, trade on bonding curves, auto-graduate to DEX. Simple REST API — no SDK, no API keys, just HTTP.
From zero to token launch in 3 API calls. No registration needed.
curl -X POST /api/agent/wallet \
-H "Content-Type: application/json" \
-d '{}'
# Response:
# { "address": "0xABC...", "privateKey": "0xDEF...", "balance": "0" }Save the privateKey — you need it for all write operations.
Send HYPE to your new address. You need at least 0.01 HYPE to create a token, or any amount to buy.
curl -X POST /api/agent/create-token \
-H "Content-Type: application/json" \
-d '{
"privateKey": "0xYOUR_KEY",
"name": "MyToken",
"symbol": "MTK",
"description": "An agent-launched token",
"creatorFeeBps": 40
}'
# Response:
# { "success": true, "tokenAddress": "0x...", "creatorFeeBps": 40 }Set creatorFeeBps: 40 for a fixed 0.4% creator fee — you earn this on every buy and sell.
Bonding Curve
Price rises with buys, falls with sells. Constant-product AMM with virtual reserves.
50 HYPE Raised
When the curve accumulates 50 HYPE, it becomes graduation‑ready. A bot (or operator) finalizes graduation on-chain.
Hyperclaw DEX
Liquidity added to Hyperclaw. LP tokens burned forever. Free market.
| Fee | Amount | Recipient | When |
|---|---|---|---|
| Protocol fee | 0.6% | Protocol | Every trade |
| Creator fee | 0.4% (fixed) | Token creator | Every trade |
| Creation fee | 0.01 HYPE | Protocol | Token creation |
| Graduation fee | 1 HYPE | Protocol | Graduation |
Use hyperclaw directly from Claude, Cursor, or any MCP-compatible AI. 20 tools for token discovery, trading, and analytics.
Install and run:
# Clone and build (access granted on request — DM @hyperclaw on X)
# git clone <repo-url>
cd mcp && npm install && npm run build
# Run (pointing to hosted API)
HYPERPUMP_BASE_URL=https://hyperclaw.xyz node dist/index.jsAdd to Claude Code config:
{
"mcpServers": {
"hyperclaw": {
"command": "node",
"args": ["/path/to/mcp/dist/index.js"],
"env": {
"HYPERPUMP_BASE_URL": "https://hyperclaw.xyz",
"HYPERPUMP_ALLOW_WRITE_TOOLS": "1"
}
}
}
}| Tool | Type | Description |
|---|---|---|
| agent_tokens | Read | List all tokens (paginated) |
| agent_token | Read | Get token details + optional holder balance |
| agent_quote | Read | Get buy/sell quote |
| agent_trades | Read | Recent trade feed |
| agent_analytics | Read | Volume, price history, trade counts |
| agent_holders | Read | Token holder distribution |
| token_search | Read | Search by name/symbol/address |
| tokens_trending | Read | Trending tokens by volume |
| hype_price | Read | Current HYPE/USD price |
| indexer_status | Read | Indexer health check |
| agent_buy | Write | Buy tokens with HYPE |
| agent_sell | Write | Sell tokens for HYPE |
| agent_create_token | Write | Create new token |
| agent_wallet | Write | Generate/import wallet |
| gasless_create_token | Write | Create token (EIP-712 signature) |
| upload_image | Write | Upload image to IPFS |
Write Tools Require Opt-In
Set HYPERPUMP_ALLOW_WRITE_TOOLS=1 to enable trading tools. Write tools require a private key — use a dedicated hot wallet.
@hypeclawlive runs as a separate worker process. It polls mentions and replies using the same agent tools as the in-app chat.
Run locally:
npm run twitter-botHealth check: GET /api/twitter-bot/status
Key settings:
TWITTER_BOT_HANDLE (default: hypeclawlive)TWITTER_BOT_POLL_MS (default: 60000)TWITTER_BOT_MAX_REPLIES_24H (default: 90)ANTHROPIC_MODEL (default: claude-haiku-4-5-20251001)hyperclaw supports multiple agent discovery standards. Point your agent at any of these files.
| File | Standard | Use Case |
|---|---|---|
| /skill.md | Agent Skills | Full API reference — give this to your agent |
| /.well-known/agent.json | A2A Protocol | Machine-readable agent card (Google A2A) |
| /llms.txt | llms.txt | LLM content discovery (844K+ sites) |
No API keys. No OAuth. Write operations take an EVM private key in the request body. Read operations need nothing.
// Write operations (create, buy, sell):
{ "privateKey": "0xYOUR_PRIVATE_KEY", ...params }
// Read operations (tokens, quote, wallet balance):
// No authentication needed — just GET the URLSecurity Note
The private key signs transactions on-chain. Only use keys you control. Never share your main wallet key — generate a dedicated agent wallet via POST /api/agent/wallet.
/api/agent/walletGenerate a new wallet or import an existing one.
Request body (empty for new wallet):
{}Response:
{
"address": "0xABC...",
"privateKey": "0xDEF...",
"balance": "0",
"balanceWei": "0"
}/api/agent/wallet?address=0x...Check HYPE balance of any address.
{
"address": "0xABC...",
"balance": "100.5",
"balanceWei": "100500000000000000000"
}/api/agent/create-tokenCreate a new token on the bonding curve. Costs 0.01 HYPE.
| Param | Required | Description |
|---|---|---|
privateKey | Yes | Your wallet private key |
name | Yes | Token name |
symbol | Yes | Token ticker (max 10 chars) |
description | No | Token description |
image | No | IPFS hash or URL for token image |
creatorFeeBps | No | Creator trading tax: fixed at 40 bps (0.4%). You earn this on every trade. |
Response:
{
"success": true,
"txHash": "0x...",
"tokenAddress": "0xNEW_TOKEN",
"creator": "0xYOUR_ADDRESS",
"name": "MyToken",
"symbol": "MTK",
"creatorFeeBps": 40,
"gasUsed": "300000"
}/api/agent/tokens?offset=0&limit=20List all tokens with price, progress, and graduation status.
{
"tokens": [
{
"address": "0x...",
"name": "MyToken",
"symbol": "MTK",
"price": "0.00000000003177",
"progressPercent": 3.96,
"graduated": false,
"creatorFeeBps": 40
}
],
"total": 12,
"offset": 0,
"limit": 20
}/api/agent/token?address=0x...&holder=0x...Full token details. Add holder param to include your balance.
{
"address": "0x...",
"name": "MyToken",
"symbol": "MTK",
"price": "0.00000000003177",
"marketCap": "31.77",
"progressPercent": 3.96,
"graduated": false,
"creatorFeeBps": 40,
"creatorFeePercent": 0.4,
"holderBalance": "1000000.0"
}/api/agent/quote?token=0x...&side=buy&amount=5Price quote for buy or sell. Always quote before trading.
| Param | Required | Description |
|---|---|---|
token | Yes | Token contract address |
side | Yes | "buy" or "sell" |
amount | Yes | HYPE amount (for buy) or token amount (for sell) |
Buy response:
{ "side": "buy", "hypeIn": "5", "tokensOut": "151969957.08" }Sell response:
{ "side": "sell", "tokensIn": "50000000", "hypeOut": "1.625" }/api/agent/buyBuy tokens with HYPE on the bonding curve.
| Param | Required | Description |
|---|---|---|
privateKey | Yes | Your wallet private key |
token | Yes | Token contract address |
amountHype | Yes | HYPE to spend (e.g., "5" for 5 HYPE) |
slippageBps | No | Slippage tolerance. 100 = 1%. Default 100. |
Response:
{
"success": true,
"txHash": "0x...",
"hypeSpent": "5",
"tokensReceived": "151969957.08",
"protocolFee": "0.05",
"creatorFee": "0.1",
"graduated": false,
"gasUsed": "95000"
}/api/agent/sellSell tokens for HYPE. Token approval is handled automatically.
| Param | Required | Description |
|---|---|---|
privateKey | Yes | Your wallet private key |
token | Yes | Token contract address |
amountTokens | Yes | Tokens to sell (e.g., "50000000" for 50M tokens) |
slippageBps | No | Slippage tolerance. 100 = 1%. Default 100. |
Response:
{
"success": true,
"txHash": "0x...",
"tokensSold": "50000000",
"hypeReceived": "1.625",
"protocolFee": "0.016",
"creatorFee": "0.033",
"gasUsed": "84000"
}import requests
BASE = "https://hyperclaw.xyz/api/agent"
# 1. Create wallet
wallet = requests.post(f"{BASE}/wallet", json={}).json()
pk = wallet["privateKey"]
print(f"Address: {wallet['address']}")
# 2. Fund wallet with HYPE (manual step)
# 3. Launch token with 0.4% creator fee (fixed)
token = requests.post(f"{BASE}/create-token", json={
"privateKey": pk,
"name": "AgentCoin",
"symbol": "AGENT",
"description": "Launched by an AI agent",
"creatorFeeBps": 40
}).json()
print(f"Token: {token['tokenAddress']}")
# 4. Buy 5 HYPE worth
buy = requests.post(f"{BASE}/buy", json={
"privateKey": pk,
"token": token["tokenAddress"],
"amountHype": "5",
"slippageBps": 200
}).json()
print(f"Got {buy['tokensReceived']} tokens")const BASE = "https://hyperclaw.xyz/api/agent";
// Create wallet
const wallet = await fetch(`${BASE}/wallet`, {
method: "POST",
headers: { "Content-Type": "application/json" },
body: "{}",
}).then(r => r.json());
// Launch token
const token = await fetch(`${BASE}/create-token`, {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
privateKey: wallet.privateKey,
name: "AgentCoin",
symbol: "AGENT",
creatorFeeBps: 40,
}),
}).then(r => r.json());
// Quote before buying
const quote = await fetch(
`${BASE}/quote?token=${token.tokenAddress}&side=buy&amount=5`
).then(r => r.json());
console.log(`Would get ${quote.tokensOut} tokens`);
// Buy
const buy = await fetch(`${BASE}/buy`, {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
privateKey: wallet.privateKey,
token: token.tokenAddress,
amountHype: "5",
}),
}).then(r => r.json());# Generate wallet
curl -X POST /api/agent/wallet -H "Content-Type: application/json" -d '{}'
# Create token
curl -X POST /api/agent/create-token -H "Content-Type: application/json" \
-d '{"privateKey":"0xKEY","name":"Test","symbol":"TST","creatorFeeBps":40}'
# Get quote
curl "/api/agent/quote?token=0xTOKEN&side=buy&amount=5"
# Buy
curl -X POST /api/agent/buy -H "Content-Type: application/json" \
-d '{"privateKey":"0xKEY","token":"0xTOKEN","amountHype":"5"}'
# Sell
curl -X POST /api/agent/sell -H "Content-Type: application/json" \
-d '{"privateKey":"0xKEY","token":"0xTOKEN","amountTokens":"50000000"}'All errors return {"error": "message"} with an HTTP status code.
| Error | Fix |
|---|---|
| Token has graduated | Trade on Hyperclaw DEX instead |
| Slippage exceeded | Increase slippageBps (try 200-500) |
| Insufficient payment | Fund your wallet with more HYPE |
| creatorFeeBps is fixed at 40 | Creator fee is fixed at 0.4% (40 basis points) |
Chain
HyperEVM
Chain ID
999
Native Token
HYPE (18 decimals)
RPC
https://rpc.hyperliquid.xyz/evm
Explorer
https://explorer.hyperliquid.xyz
Gas
Buy ~95K, Sell ~84K, Create ~300K