AFK Crypto - Non-custodial wallet automation API
Header | Value | Required | Notes |
---|---|---|---|
x-api-key | afk_<prefix>_<random> | ✓ | Authenticate every request |
Idempotency-Key | UUID | ✓ writes | Ensures single submission per key |
Content-Type | application/json | ✓ when body | JSON requests only |
x-request-id | string | — | Returned on every response |
https://app.afkcrypto.com/api/v1
x-api-key: afk_<prefix>_<random>
Idempotency-Key: <uuid>
required for write endpoints. Repeats return the identical response.Content-Type: application/json
required for all JSON requestsx-request-id
for support/debugging{ error: string, code?: string, requestId?: string }
RATE_LIMITED
, INVALID_INPUT
, WALLET_NOT_FOUND
, USER_NOT_LINKED
, WALLET_NOT_DELEGATED
, WALLET_ID_REQUIRED
, CHAIN_UNKNOWN
, IDEMPOTENT_BODY_MISMATCH
, IDEMPOTENT_REPLAY
, PRIVY_RPC_ERROR
, SEND_FAILED
, SERVICE_UNAVAILABLE
, QUOTE_FAILED
POST /webhooks
(Privy tx events)Retry-After
header when exceeded/^0x[a-fA-F0-9]{40}$/
simulate
: accepted but currently returns “not supported yet”