Get Your API Key
API keys are required for servers that want to protect endpoints with x402 payments. Clients (users paying for APIs) don’t need an API key.API keys are free to create. You only need a wallet to sign in.
Step 1: Go to the Dashboard
Visit the facilitator dashboard: facilitator.agentokratia.comAPI keys are tied to your receiving wallet - the address where you get paid. One key lets you settle on any EVM network the facilitator supports. Sessions are created per-network.
Step 2: Connect Your Wallet
Click “Connect Wallet” and sign in using SIWE (Sign-In with Ethereum). Supported wallets:- MetaMask
- Coinbase Wallet
- WalletConnect
- Rainbow
- Any EIP-1193 compatible wallet
Step 3: Create an API Key
After signing in:- Navigate to API Keys section
- Click “Create New Key”
- Enter a name (e.g., “Production Server” or “Development”)
- Click “Create”
Step 4: Copy and Save Your Key
Your API key will be displayed once:- Use environment variables (never commit to git)
- Use a secrets manager (AWS Secrets Manager, Vault, etc.)
- For local development, use
.envfiles (add to.gitignore)
Step 5: Add to Your Server
.env
API Key Scope
| Scope | Description |
|---|---|
| Receiving Wallet | API keys are tied to your receiving wallet address (where you get paid) |
| All Networks | Same key works on any EVM-compatible network the facilitator supports |
| Per Service | Use one API key to integrate your service with the facilitator |
| Sessions | Sessions are created per-network (each session lives on one chain) |
One API key = one integration. You can settle payments on any supported network (Base Mainnet, Base Sepolia, etc.) using the same key. The network is specified per-request when settling.
Rate Limits
| Endpoint | Limit |
|---|---|
/api/verify | 1000/min per key |
/api/settle | 1000/min per key |
Managing Keys
From the dashboard you can:- View all your API keys (names and creation dates)
- Create new keys anytime
- Revoke keys (coming soon)