Docs

x402 Paid API for AI Agents

How autonomous agents can discover X402 Data API resources, inspect prices and schemas, pay per request in USDC on Base, and call JSON endpoints.

Agent discoveryUse machine-readable files before paying for a request.
openapi.jsonx402 catalogllms-full.txt

Intent

paid API for AI agents, pay per request API for agents, Base USDC x402 API

x402ai-agentspaid-apibaseusdcbazaar

x402 agent flow

  1. Read /llms.txt.
  2. Fetch /openapi.json or /.well-known/x402-catalog.json.
  3. Inspect schema, price and network.
  4. Pay with x402 and retry with PAYMENT-SIGNATURE.

Discovery flow

Read /llms.txt, fetch /openapi.json or /.well-known/x402-catalog.json, select an endpoint by value and price, then submit an x402 payment before retrying the paid request.

Payment network

The production network is Base mainnet using CAIP-2 network id eip155:8453 and USDC payment requirements returned by the API.

POST

Domain Intelligence

Paid x402 API for AI agents that returns domain intelligence, DNS lookup data, domain risk signals, security posture, WHOIS-like technical data, mail security, TLS, HTTP headers, fingerprinting and AI agent domain analysis for a public domain.

Endpoint
https://api.x402dataapi.com/v1/domain-intel
Price
0.002 USDC
POST

TLS Report

Paid x402 API for AI agents that checks TLS certificate health, SSL report data, HTTPS certificate expiration, issuer, validity, SAN coverage, chain health, HTTPS readiness and certificate risk for a public hostname.

Endpoint
https://api.x402dataapi.com/v1/tls-report
Price
0.001 USDC
POST

Mail Security

Paid x402 API for AI agents that checks MX records, SPF, DMARC, email security, phishing risk, domain mail configuration and anti-spoofing posture for a public domain.

Endpoint
https://api.x402dataapi.com/v1/mail-security
Price
0.001 USDC
POST

HTTP Security Headers

Paid x402 API for AI agents that audits HTTP security headers, HSTS, Content-Security-Policy, X-Frame-Options, Referrer-Policy, Permissions-Policy and web security scan findings for a public URL.

Endpoint
https://api.x402dataapi.com/v1/http-security
Price
0.002 USDC
POST

Agent Accessibility Check

Paid x402 API for AI agents that checks robots.txt, sitemap availability, llms.txt discovery, AI crawler readiness, agent accessibility and AI scraping compatibility for a public URL.

Endpoint
https://api.x402dataapi.com/v1/agent-accessibility
Price
0.001 USDC
POST

Full Domain Report

Paid x402 API for AI agents that returns a complete domain security report with DNS, TLS, mail security, HTTP headers, AI accessibility, website risk score and consolidated remediation issues for a public domain.

Endpoint
https://api.x402dataapi.com/v1/full-domain-report
Price
0.005 USDC