Solana Trading API Docs
This site explains the X-Trader Public API v1.0.0 page by page: authentication, write rules, every endpoint, every config field, the auto-sell and auto-strategy objects, and all 17 error codes. Each page has curl and Python examples.
The original reference at x-trader.ai/api/docs is disallowed for crawlers by x-trader.ai/robots.txt (Disallow: /api/). These pages restate it in plain text with added explanations.
X-Trader API
Section titled “X-Trader API”| Page | What it answers |
|---|---|
| Overview and authentication | Scope of the API, bearer token, scopes, GET /me |
| Write rules | Idempotency-Key, If-Match, ETag, decimal strings, body limits |
| Error codes | All 17 error.code values, HTTP status, cause, fix |
| Pagination | limit, next_cursor, filters |
| Sniper configs | List, create, get, patch, delete, pause, resume |
| Copy-trade configs | Same lifecycle, linked_wallets |
| Transfer-snipe | Transfer-snipe tasks |
| Templates | Sniper and copy-trade templates |
| Labels | Shared task labels |
| Sniper config fields | Every sniper config field |
| Copy-trade config fields | Every copy-trade config field |
| auto_sell | TP/SL stages, tp_trigger_basis, tp_multi_hit, trailing TP |
| auto_strategy | Migration, timed sell, sl_protection, phased_sl, anti_pvp |
| timed_strategy | Timed orders |
Machine-readable index: /llms.txt, full text: /llms-full.txt.