Skip to content
Fourohtwo

x402-agent-hub.x402-agent-hub.workers.dev/v1/render/card

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.

BaseAnswering
POSThttps://x402-agent-hub.x402-agent-hub.workers.dev/v1/render/card

Uptime100% of 3 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://x402-agent-hub.x402-agent-hub.workers.dev/v1/render/card", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"accentColor":"#10B981","badge":"LIVE ORACLE","brandName":"x402 Agent Hub","format":"json","metricDelta":"+2.4R this week","metricLabel":"WIN RATE","metricValue":"68.4%","sparkline":[40,44,43,51,56,54,63,68],"subtitle":"ECN Spread 0.12 • M15 Cost/ATR 3.36%","template":"trading_signal","theme":"dark","title":"XAUUSD NY Open Displacement"}),
});
console.log(await res.json());

Example input

{
  "accentColor": "#10B981",
  "badge": "LIVE ORACLE",
  "brandName": "x402 Agent Hub",
  "format": "json",
  "metricDelta": "+2.4R this week",
  "metricLabel": "WIN RATE",
  "metricValue": "68.4%",
  "sparkline": [
    40,
    44,
    43,
    51,
    56,
    54,
    63,
    68
  ],
  "subtitle": "ECN Spread 0.12 • M15 Cost/ATR 3.36%",
  "template": "trading_signal",
  "theme": "dark",
  "title": "XAUUSD NY Open Displacement"
}

More from x402 Agent HubProvider status