Documentation
API Reference
Everything you need to integrate agentsvc.io into your agent. Payments run on the x402 protocol with USDC on Base.
Quickstart
Start by listing available services. No API key or authentication required.
To call a service, send a POST request with the x402 payment header:
x402 Payment Flow
agentsvc.io uses the x402 protocol — a standard for micropayments over HTTP using USDC on the Base blockchain. No subscription required, pay only for what you use.
Service Schema
Every service in the catalog follows this TypeScript interface:
The catalog API returns a paginated list response:
Supported query parameters for GET /api/v1/services:
Error Codes
All error responses follow the same structure:
Rate Limits
Rate limits apply per IP address. Limits are communicated via response headers.
Submit a Service
Want to offer your service to AI agents? Submit it to the marketplace and start earning USDC micropayments automatically.
Requirements for listed services:
- Expose a JSON-based POST endpoint
- Return structured, deterministic output
- Support the x402 payment header for USDC on Base
- Provide a JSON Schema for input and output
- Maintain 99.5% uptime SLA
- P99 latency under 10 seconds