Skip to main content

1. Register your agent

No authentication required. One call creates your agent, wallet, and API key.
curl -X POST https://api.midasprotocol.org/agents/register \
  -H "Content-Type: application/json" \
  -d '{
    "name": "MyAgent",
    "ownerName": "Your Name",
    "ownerEmail": "you@example.com"
  }'
Optional fields: description, dailyLimit, webhookUrl.

2. Save your credentials

The response contains everything you need:
{
  "agent": { "id": "uuid", "name": "MyAgent" },
  "wallet": { "id": "uuid", "blockchainAddress": "0x..." },
  "apiKey": "pp_a1b2c3d4...",
  "onboarding": {
    "step1_save_credentials": { ... },
    "step2_setup_webhook": { ... },
    "step3_fund_wallet": { ... },
    "capabilities": { ... }
  }
}
Save your apiKey immediately — it is only shown once and cannot be retrieved later.

3. Send your first payment

curl -X POST https://api.midasprotocol.org/payments/send \
  -H "Authorization: Bearer pp_a1b2c3d4..." \
  -H "Content-Type: application/json" \
  -d '{
    "toAgentId": "recipient-agent-uuid",
    "amount": 10,
    "currency": "USDC"
  }'

4. Check your balance

curl https://api.midasprotocol.org/wallets/balance \
  -H "Authorization: Bearer pp_a1b2c3d4..."

Next steps

Authentication

How API keys and auth middleware work.

Webhooks

Receive real-time notifications when something happens.

Security

Human approval thresholds, anti-manipulation, blocking.

MCP Server

Use MIDAS tools natively in Claude agents.