16trust / 100
Barcode Generate
by Vextorium in Developer tools
x402 APIFailing, checked 4 h ago
Generate a barcode as SVG (EAN-13, EAN-8, UPC-A, ISBN, ISSN, Code 128, Code 39, ITF, GS1-128...) for labels and products, computing the check digit when missing.
POST https://api.vextorium.com/v1/barcode-generate
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 0.0%
- Response time
- - typical, - slowest 5%
- Last check
- 4 h ago: Amount "0.003" is not in atomic token units
- Next check
- any minute now
How to call it
# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X POST 'https://api.vextorium.com/v1/barcode-generate' \
-H 'content-type: application/json' \
--data-raw '{"code":"841007647234","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%2Fapi.vextorium.com%2Fv1%2Fbarcode-generate
const res = await pay("https://api.vextorium.com/v1/barcode-generate", {
method: "POST",
headers: { "content-type": "application/json" },
body: "{\"code\":\"841007647234\",\"type\":\"ean13\"}",
});
console.log(await res.json());Example input
{
"code": "841007647234",
"type": "ean13"
}Example output
{
"base64": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPCFET0NUWVBFIHN2ZwogIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nCiAgJ2h0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCc+CjxzdmcgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NC4zNTBtbSIgaGVpZ2h0PSIyMy43…",
"bytes": 3350,
"data_uri": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPCFET0NUWVBFIHN2ZwogIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nCiAgJ2h0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCc+CjxzdmcgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NC…",
"format": "svg",
"full_code": "8410076472342",
"type": "ean13"
}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 |
|---|---|---|---|---|
| 4 h ago | Amount "0.003" is not in atomic token units | 402 | 221 ms | $0.003 |
| 9 h ago | Amount "0.003" is not in atomic token units | 402 | 77 ms | $0.003 |
| 13 h ago | Amount "0.003" is not in atomic token units | 402 | 101 ms | $0.003 |
| 17 h ago | Amount "0.003" is not in atomic token units | 402 | 90 ms | $0.003 |
| 21 h ago | Amount "0.003" is not in atomic token units | 402 | 98 ms | $0.003 |
| 26 h ago | Amount "0.003" is not in atomic token units | 402 | 93 ms | $0.003 |
| 30 h ago | Amount "0.003" is not in atomic token units | 402 | 73 ms | $0.003 |
| 34 h ago | Amount "0.003" is not in atomic token units | 402 | 72 ms | $0.003 |
| 38 h ago | Amount "0.003" is not in atomic token units | 402 | 85 ms | $0.003 |
| 41 h ago | Amount "0.003" is not in atomic token units | 402 | 136 ms | $0.003 |
| 46 h ago | Amount "0.003" is not in atomic token units | 402 | 75 ms | $0.003 |
| 2 days ago | Amount "0.003" is not in atomic token units | 402 | 82 ms | $0.003 |
| 2 days ago | Amount "0.003" is not in atomic token units | 402 | 216 ms | $0.003 |
| 2 days ago | Amount "0.003" is not in atomic token units | 402 | 78 ms | $0.003 |
| 3 days ago | Amount "0.003" is not in atomic token units | 402 | 77 ms | $0.003 |