Rate Limits

Claw402 implements rate limiting to ensure fair usage and maintain service quality for autonomous agent workloads.

Rate Limit Tiers

Plan
Transactions/Minute
Concurrent Sessions
Tool Calls/Minute

Developer

10

5

100

Production

100

50

1,000

Enterprise

Custom

Custom

Custom

Definitions:

  • Transactions/Minute: Maximum blockchain transactions submitted per minute

  • Concurrent Sessions: Maximum active payment sessions (x402.initialize_payment) at once

  • Tool Calls/Minute: Total MCP tool invocations across all tools

Rate Limit Headers

Every MCP tool response includes rate limit information:

{
  "success": true,
  "result": { ... },
  "rate_limit": {
    "limit": 100,
    "remaining": 87,
    "reset_at": 1709315460
  }
}
Field
Description

limit

Maximum tool calls allowed in current window

remaining

Tool calls remaining in current window

reset_at

Unix timestamp when rate limit resets

Handling Rate Limits

Rate Limit Exceeded Response

When an agent exceeds rate limits, MCP tools return a standard error response:

Best Practices for Agent Developers

1. Implement Exponential Backoff

2. Monitor Rate Limit Status

3. Batch Operations When Possible

Instead of multiple individual transactions, consolidate payment sessions:

4. Cache Balance Queries

Avoid redundant x402.query_balance calls:

5. Use Idempotency Keys

Prevent duplicate transactions from retry logic:

Tool-Specific Limits

Some MCP tools have additional rate constraints:

Transaction Submission Tools

  • x402.authorize_transaction: Limited to 10 transactions/minute on Developer plan

  • No additional limits on Production and Enterprise plans

Query Tools

  • x402.query_balance, x402.verify_settlement, x402.estimate_fees: Follow standard tool call limits

  • No tool-specific restrictions

WebSocket Rate Limits

WebSocket transaction streams have separate rate limits:

Plan
Concurrent Connections
Updates per Second

Developer

2

10

Production

10

100

Enterprise

Custom

Custom

Agent-Specific Considerations

Autonomous Agent Workflows

For long-running autonomous agents:

  1. Implement circuit breakers to halt agent execution when rate limits are consistently exceeded

  2. Use exponential backoff with jitter to avoid thundering herd on rate limit reset

  3. Monitor rate limit metrics in agent telemetry dashboards

  4. Configure approval policies to limit transaction volume

Multi-Agent Systems

For systems with multiple agents sharing a Claw402 account:

  1. Distribute rate limit budget across agents using internal quotas

  2. Implement agent-level rate limiting before calling Claw402 tools

  3. Use separate Claw402 accounts for production vs. development agents

  4. Monitor per-agent transaction volumes for anomaly detection

Upgrading Your Plan

If agents consistently hit rate limits:

  1. Compare plans based on agent transaction volume requirements

  2. Upgrade instantly with no downtime

  3. New rate limits take effect immediately

Monitoring Usage

Track agent transaction metrics in the Claw402 dashboard:

  1. Navigate to "Agent Analytics"

  2. View per-agent transaction volumes and rate limit utilization

  3. Set up alerts for approaching limits

  4. Analyze transaction patterns for optimization

Enterprise Plans

Need custom rate limits for high-volume agent workloads?

  • Custom transaction throughput tailored to agent fleet size

  • Dedicated MCP server infrastructure for guaranteed availability

  • Priority support for production agent systems

  • 99.99% uptime SLA with financial guarantees

Contact: [email protected]envelope

Last updated