Api Endpoint

x402 Agent Hub

Deterministic visual card & sparkline renderer for coding and marketing agents. Produces crisp, zero-typo 1200x630 OpenGraph banners, 1080x1350 portrait social KPI slides, or trading signal sparkline cards as vector SVG (with data URI) or binary PNG.

Open interactive test console

Offering

Provider
x402-agent-hub.x402-agent-hub.workers.dev
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402-agent-hub.x402-agent-hub.workers.dev/v1/render/card
MIME type
Not provided
First seen
2026-11-01T15:04:33.795Z
Last seen
Tags
design, opengraph, svg, png, charts

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.025 USDC
Atomic price: 25000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "25000",
    "payTo": "0x1721E9841257A34DbDBA407D4DBA3a727a02d072"
  }
]

Observed health

Status
Healthy
Latest latency
37 ms
Average latency
137 ms
HTTP status
204
Last checked
Reachability
100% over 10 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "properties": {
        "accentColor": {
          "description": "6-digit hex accent color, e.g. #38BDF8",
          "type": "string"
        },
        "badge": {
          "description": "Top pill badge label",
          "type": "string"
        },
        "brandName": {
          "description": "Footer brand attribution",
          "type": "string"
        },
        "format": {
          "description": "json (returns SVG + data URI metadata), svg (raw image/svg+xml), or png (binary image/png)",
          "enum": [
            "json",
            "svg",
            "png"
          ],
          "type": "string"
        },
        "metricDelta": {
          "description": "Change/delta subtitle inside KPI card",
          "type": "string"
        },
        "metricLabel": {
          "description": "KPI box label",
          "type": "string"
        },
        "metricValue": {
          "description": "Primary KPI number/stat",
          "type": "string"
        },
        "sparkline": {
          "description": "Numeric series for deterministic area sparkline chart",
          "items": {
            "type": "number"
          },
          "type": "array"
        },
        "subtitle": {
          "description": "Supporting subtitle line",
          "type": "string"
        },
        "template": {
          "description": "Card layout preset (og_banner 1200x630, social_kpi 1080x1350, trading_signal 1200x630)",
          "enum": [
            "og_banner",
            "social_kpi",
            "trading_signal"
          ],
          "type": "string"
        },
        "theme": {
          "enum": [
            "dark",
            "light"
          ],
          "type": "string"
        },
        "title": {
          "description": "Primary headline text",
          "type": "string"
        }
      },
      "required": [
        "title"
      ]
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "example": {
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}