Get started in 4 steps
Create an account, enable automation, create an API key, and make your first request.Step 1: Sign in
Sign into your account
Sign into your account
Sign in at app.afkcrypto.com.
Step 2: Enable automation (Wallets)
Allow AFK to sign for you (non-custodial)
Allow AFK to sign for you (non-custodial)
In the Wallets page, toggle on Automation for your address. This enables AFK to sign transactions for automated workflows using session-based, non-custodial signing. You can revoke at any time.
Step 3: Create API key (wallet automation)
Create API key
Create API key
In the dashboard’s API Keys page, create an API key for wallet automation.
- Header:
x-api-key: afk_<prefix>_<random>
- Keep this secret; rotate if compromised
Step 4: Make API calls
List wallets
List wallets
Set your API key in an environment variable for reuse:
Send an asset (idempotent)
Send an asset (idempotent)
Provide
Idempotency-Key: <uuid>
on all write endpoints.Interact with contracts (EVM)
Interact with contracts (EVM)
Send SPL token (Solana)
Send SPL token (Solana)
Lookup transaction
Lookup transaction
Next steps
Explore the core endpoints next:Send asset
Transfer native and token assets.
Approve tokens
Approve ERC20 allowances.
Trade
Request quotes and execute swaps.
API documentation
Explore endpoints and conventions.
Need help? Email hello@afkcrypto.com or reach out on Twitter.