Skip to main content

api

base url: https://gank.dev/api/v2

auth

Authorization: Bearer <jwt-token>
or api key:
X-API-Key: <api-key>
jwt from telegram auth. api keys for programmatic/ai access (restricted to ai-owned wallets).

endpoint map

wallets

methodendpointwhat
POST/walletscreate wallet
PUT/walletssave/update wallet
GET/wallets/userlist wallets
POST/wallets/balancesbatch balance check
POST/wallets/token-balancestoken balances
GET/wallets/:id/balancesingle wallet balance
GET/wallets/:id/assetswallet token assets
POST/wallets/transfertransfer sol
POST/wallets/splitsplit sol to multiple wallets
POST/wallets/importimport wallet from private key
DELETE/wallets/:wallet_type/:iddelete wallet
PATCH/wallets/:wallet_type/:idupdate wallet metadata
POST/wallets/dev/:id/activeset active dev wallet
POST/wallets/vamp-allvamp recovery
POST/wallets/clean-funds/quoteprivacy swap quote
POST/wallets/clean-funds/prepareprepare privacy swap
POST/wallets/clean-fundsinitiate privacy swap
GET/wallets/clean-funds/statuscheck swap progress
GET/wallets/clean-funds/historyswap history

trading (phases)

methodendpointwhat
POST/phases/regular/buybuy token (regular wallet)
POST/phases/regular/sellsell token
POST/phases/swarm/buyswarm buy (multi-wallet)
POST/phases/swarm/sellswarm sell
POST/phases/swarm/consolidateconsolidate wallets
POST/phases/volume/startstart volume bot
POST/phases/volume/stopstop volume bot
POST/phases/vamp/executevamp all to destination

launch

methodendpointwhat
POST/launchlaunch token
GET/launch/historylaunch history
GET/launch/:idlaunch details
GET/launch/:id/walletslaunch wallets
GET/launch/by-token/:mintlaunch by token mint
GET/launch/configssaved launch configs
PUT/launch/configssave launch config
DELETE/launch/configs/:namedelete launch config
POST/launch/reserve-mintreserve vanity mint

positions & tokens

methodendpointwhat
GET/user/positionsall token positions
GET/user/trade-historytrade history
GET/token/:minttoken info
GET/token/:mint/ohlcv/:timeframeohlcv candles
GET/searchsearch tokens

fees

methodendpointwhat
GET/fees/preferencesfee preferences
POST/fees/preferencessave fee preferences
GET/fees/networknetwork fee estimates
GET/fees/creatorcreator fee balance
POST/fees/creator/claimclaim creator fees

sniper

methodendpointwhat
PATCH/sniper/configupdate sniper config
POST/sniper/watchlistadd to watchlist
DELETE/sniper/watchlistremove from watchlist
POST/sniper/executeexecute snipe

copy trading

methodendpointwhat
GET/copytradelist configs
POST/copytradecreate config
PATCH/copytradeupdate config
DELETE/copytradedelete config
POST/copytrade/executeexecute copy

api keys

methodendpointwhat
GET/api-keyslist api keys
POST/api-keyscreate api key
DELETE/api-keys/:key_idrevoke api key

responses

success:
{ "success": true, ... }
errors:
{ "success": false, "error": "what went wrong" }