x402render / card

Quote/announcement card renderer

$0.02 per call · USDC on Base

Render a styled quote or announcement card as an SVG image. It is built for autonomous AI agents: discover it, pay for it, and consume it in a single request via the x402 protocol — no API key, no account.

Endpoint

GET https://x402render.vercel.app/card

Example: /card?text=Ship%20it.&author=Jobs&theme=dark

Parameters

textstring — card body text
authorstring — attribution (optional)
themeenum dark|light (optional)

How payment works

The endpoint returns HTTP 402 Payment Required with the price, asset (USDC), network (Base / eip155:8453), and pay-to address. Your agent pays on-chain and resends with the payment proof header. Compatible with @coinbase/x402 and @piprail/sdk.

More

See the full catalog at x402render, the machine-readable list at /discovery/resources, or the spec at /openapi.json.