81trust / 100

Proxy Qr Code

by QR Code Generator in Developer tools

x402 APIPassing, checked 3 h ago

Generate a QR code for any text or URL. Returns image_base64 (base64 PNG; decode to get raw bytes). Params: text (required), size in px (64-1024, default 256), error_correction (L/M/Q/H, default M). H = highest redundancy, survives up to 30% damage.

POST https://agentsvc.io/api/v1/proxy/qr-code

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
41 ms typical, 41 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agentsvc.io/api/v1/proxy/qr-code" \
  -H "content-type: application/json" \
  -d '{"size":256,"text":"https://agentsvc.io"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagentsvc.io%2Fapi%2Fv1%2Fproxy%2Fqr-code
const res = await pay("https://agentsvc.io/api/v1/proxy/qr-code", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"size":256,"text":"https://agentsvc.io"}),
});
console.log(await res.json());

Example input

{
  "size": 256,
  "text": "https://agentsvc.io"
}

Example output

{
  "data": {
    "generated_at": "2026-04-07T12:00:00.000Z",
    "height": 256,
    "image_base64": "iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAA...",
    "text": "https://agentsvc.io",
    "width": 256
  },
  "success": true
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed40241 ms$0.004