81trust / 100
Proxy Barcode
by Barcode Generator in Developer tools
x402 APIPassing, checked 5 h ago
Generate a barcode as PNG (base64): code128 (default), ean13, ean8, upca, upce, code39, itf14, gs1_128, isbn, datamatrix, pdf417, aztec or qr. Validates check digits for EAN/UPC. Use for labels, shipping, inventory, tickets or invoices. Params: text (required), type, scale (1-8, default 3), include_text boolean (human-readable text under the bars).
POST https://agentsvc.io/api/v1/proxy/barcode
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 26 ms typical, 26 ms slowest 5%
- Last check
- 5 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/barcode" \
-H "content-type: application/json" \
-d '{"text":"4006381333931","type":"ean13"}'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.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagentsvc.io%2Fapi%2Fv1%2Fproxy%2Fbarcode
const res = await pay("https://agentsvc.io/api/v1/proxy/barcode", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"text":"4006381333931","type":"ean13"}),
});
console.log(await res.json());Example input
{
"text": "4006381333931",
"type": "ean13"
}Example output
{
"data": {
"format": "png",
"height": 132,
"image_base64": "iVBORw0KGgoAAAANSUhEUgAAAM...",
"size_bytes": 1840,
"text": "4006381333931",
"type": "ean13",
"width": 342
},
"success": true
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 5 h ago | Passed | 402 | 26 ms | $0.0025 |