Use when an agent needs a scannable QR code

$0.001 per call20 free calls/day via MCP

Use when an agent needs a scannable QR code: a link, text, Wi-Fi login, contact card (vCard), email, SMS, map location or crypto payment request (ETH, BTC, SOL with amount). Returns PNG and SVG (base64 data URIs), with size, colors and error-correction level. Instant.

qr-codeqrgeneratorpngsvgwifivcardcrypto-payments

Call it from an AI agent (MCP)

Add the remote MCP server https://www.aypiai.online/mcp (Streamable HTTP, no auth) to Claude, Cursor, ChatGPT or any MCP client, then call the tool qr_code:

{
  "name": "qr_code",
  "arguments": {
    "type": "crypto",
    "coin": "ethereum",
    "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
    "amount": 0.01
  }
}

Call it over HTTP

curl -X POST https://www.aypiai.online/api/qr-code \
  -H "Content-Type: application/json" \
  -H "X-Access-Key: YOUR_CREDIT_KEY" \
  -d '{"type":"crypto","coin":"ethereum","address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","amount":0.01}'

No key? Without one the endpoint answers 402 Payment Required with an x402 PAYMENT-REQUIRED header: any x402 client (USDC on Base, gasless) pays $0.001 and retries automatically. Works with any x402 wallet: Base MCP, Coinbase AgentKit, x402-fetch / x402-axios, Cloudflare Agents. Or buy card credits at /credits (from $5, valid on all tools). Failed calls are never charged.

Input

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "description": "Text or URL (type text/url)"
    },
    "type": {
      "type": "string",
      "description": "text (default), url, wifi, vcard, email, sms, geo, crypto"
    },
    "ssid": {
      "type": "string"
    },
    "password": {
      "type": "string"
    },
    "security": {
      "type": "string",
      "description": "WPA (default), WEP or nopass"
    },
    "name": {
      "type": "string"
    },
    "phone": {
      "type": "string"
    },
    "email": {
      "type": "string"
    },
    "org": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "subject": {
      "type": "string"
    },
    "body": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "lat": {
      "type": "number"
    },
    "lon": {
      "type": "number"
    },
    "coin": {
      "type": "string",
      "description": "ethereum, bitcoin or solana"
    },
    "address": {
      "type": "string"
    },
    "amount": {
      "type": "number"
    },
    "size": {
      "type": "number",
      "description": "PNG size in px (64-1024, default 300)"
    },
    "color": {
      "type": "string",
      "description": "Hex, default #000000"
    },
    "background": {
      "type": "string",
      "description": "Hex, default #ffffff"
    },
    "ecc": {
      "type": "string",
      "description": "L, M (default), Q or H"
    }
  },
  "required": []
}

Example output

{
  "type": "crypto",
  "payload": "ethereum:0xd8dA...6045?value=1e16",
  "png": "data:image/png;base64,...",
  "svg": "data:image/svg+xml;base64,..."
}

Related tools

All tools

Rever: website intelligence for AI agents. MCP server: https://www.aypiai.online/mcp · x402 catalog: /.well-known/x402