{"agentdoor_version":"1.0.0","service":{"name":"CaptchaClaw","description":"CAPTCHA solving API for AI agents. Supports reCAPTCHA v2/v3, hCaptcha, Turnstile, FunCaptcha, and image CAPTCHAs.","version":"1.0.0","docs_url":"https://captchaclaw.com/docs","pricing":{"model":"credits","details_url":"https://captchaclaw.com/#pricing"}},"auth_methods":["ed25519-challenge","jwt"],"signing_algorithm":"ed25519","registration":{"endpoint":"https://captchaclaw.com/api/agentdoor/register","verify_endpoint":"https://captchaclaw.com/api/agentdoor/register/verify","rate_limit":"5/1h","flow":[{"step":1,"method":"POST","url":"https://captchaclaw.com/api/agentdoor/register","description":"Submit public key to receive a challenge. Server generates your agent_id.","request_body":{"public_key":"base64-encoded Ed25519 public key (32 bytes)","scopes_requested":"(optional) array of scope IDs, e.g. [\"captcha:solve\"]","name":"(optional) human-readable agent name","metadata":"(optional) key-value metadata about your agent"},"response":{"agent_id":"server-assigned agent ID (ag_* format)","challenge":{"nonce":"base64-encoded random nonce","message":"structured message to sign: \"agentdoor:register:{agent_id}:{timestamp}:{nonce}\"","expires_at":"ISO 8601 expiry (5 minutes from now)"}}},{"step":2,"method":"POST","url":"https://captchaclaw.com/api/agentdoor/register/verify","description":"Sign the challenge.message with your Ed25519 private key and submit.","request_body":{"agent_id":"the agent_id from step 1","signature":"base64-encoded Ed25519 signature of the challenge.message"},"response":{"agent_id":"your agent ID","api_key":"agk_live_* API key (shown once, store securely)","scopes_granted":"array of granted scope IDs","token":"JWT bearer token (valid for 1 hour)","token_type":"Bearer","token_expires_at":"ISO 8601 token expiry","rate_limit":{"requests":1000,"window":"1h"}}}]},"authentication":{"endpoint":"https://captchaclaw.com/api/agentdoor/auth","rate_limit":"60/1m","description":"Obtain a new JWT by signing a timestamped message with your Ed25519 private key.","method":"POST","request_body":{"agent_id":"your agent_id","timestamp":"current time as ISO 8601 string (must be within 5 minutes)","signature":"base64 Ed25519 signature of \"agentdoor:auth:{agent_id}:{timestamp}\""},"response":{"token":"JWT bearer token","token_type":"Bearer","expires_in":3600,"scopes":"array of your granted scopes"},"signing_format":"agentdoor:auth:{agent_id}:{timestamp}"},"api_endpoints":[{"method":"POST","url":"https://captchaclaw.com/api/solve","scope":"captcha:solve","description":"Solve a CAPTCHA challenge","auth":"Authorization: Bearer <jwt>"},{"method":"GET","url":"https://captchaclaw.com/api/balance","scope":"account:read","description":"Check account balance and credits remaining","auth":"Authorization: Bearer <jwt>"}],"scopes_available":[{"id":"captcha:solve","description":"Solve CAPTCHA challenges","rate_limit":"100/1m"},{"id":"account:read","description":"Read account balance and plan info","rate_limit":"120/1m"}],"health_endpoint":"https://captchaclaw.com/api/agentdoor/health","companion_protocols":{"a2a_agent_card":"https://captchaclaw.com/.well-known/agent.json"}}