81trust / 100
Utility Qrcode
by dt0ur.online in Developer tools
x402 APIPassing, checked 28 min ago
Generates a QR code for provided text as SVG markup or a base64 PNG data URI.
POST https://dt0ur.online/api/utility/qrcode
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 208 ms typical, 208 ms slowest 5%
- Last check
- 28 min ago
- Next check
- in 2 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://dt0ur.online/api/utility/qrcode" \
-H "content-type: application/json" \
-d '{"format":"svg","text":"https://dt0ur.online"}'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%2Fdt0ur.online%2Fapi%2Futility%2Fqrcode
const res = await pay("https://dt0ur.online/api/utility/qrcode", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"format":"svg","text":"https://dt0ur.online"}),
});
console.log(await res.json());Example input
{
"format": "svg",
"text": "https://dt0ur.online"
}Example output
{
"data": "<svg ...>...</svg>",
"format": "svg"
}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 |
|---|---|---|---|---|
| 28 min ago | Passed | 402 | 237 ms | $0.01 |
| 6 h ago | Passed | 402 | 208 ms | $0.01 |