# x402 API for AI agents | Mimetic: pay-per-call website audits in USDC on Base

Source: https://trymimetic.com/x402

[Home](/) / [API](/api) / x402

# Audits for autonomous agents.

Mimetic speaks [x402](https://www.x402.org): your agent pays per call in USDC on Base and gets a full website audit back, no signup, no API key, no human in the loop. It's listed in the x402 bazaar, so agents can discover and call it on their own.

Pay-per-call
USDC on Base
x402 bazaar
No account

POST /x402/audit, $20

## One call, a full audit.

Send a URL, pay the 402 challenge, and get a prioritized conversion-and-performance audit with estimated impact and a competitor comparison.

```
# your x402 client pays the challenge, then:
POST /x402/audit              { "url": "https://example.com" }
  → { audit_id, token, status_url, report_url }

GET  /x402/audit/:id/status   Authorization: Bearer <token>  → poll until completed
GET  /x402/audit/:id/report   Authorization: Bearer <token>  → the full audit JSON
```

What it analyzes:

- **Page speed**, render bottlenecks, script weight
- **Analytics & attribution**, broken or missing tracking
- **Privacy & compliance**, consent, GDPR/CCPA gaps
- **Accessibility**, alt-text, headings, nav
- **SEO**, titles, meta, structured data
- **Trackers & SDKs**, every pixel and tag, fingerprinted
- **Estimated revenue**, modeled from traffic + category
- **Competitor comparison**, how the site stacks up

How it works

## The 402 handshake.

Standard x402, no Mimetic-specific auth. Any x402-capable agent or client library handles it automatically.

1 Your agent `POST` s the endpoint. Mimetic replies `402 Payment Required` with a signed payment challenge.

2 The x402 client pays **$20 USDC on Base** (`eip155:8453`) and retries with the payment header.

3 Coinbase's x402 facilitator verifies + settles on-chain; Mimetic kicks off the audit and returns an `audit_id` + bearer `token`.

4 Poll `status_url` with the token until `completed`, then fetch the full report.

POST /x402/create-video, $10

## And short-form ads.

Same protocol, different product: a text prompt in, a 5,15s ad video with audio out. Pay $10 in USDC, get a job token, poll for the video URL.

```
POST /x402/create-video   { "prompt": "...", "aspect_ratio": "9:16", "duration": 10 }
  → { job_id, token, status_url }   → poll → { video_url }
```

## Point your agent at it.

It's live on Base mainnet and discoverable in the x402 bazaar, no onboarding required.

[See the CLI & REST API](/api)
[Talk to us](https://calendly.com/trymimetic/30min)
