16trust / 100
Leer Codigo Pago
by Vextorium in Onchain & crypto
x402 APIFailing, checked 3 h ago
Read the codes in an image URL: QR, Data Matrix, Aztec, PDF417, EAN-13, UPC, Code 128, Code 39... with format, content and position; flags URLs, crypto payment URIs (bitcoin:, ethereum:, solana:) and wifi credentials.
POST https://api.vextorium.com/leer-codigo-pago
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 0.0%
- Response time
- - typical, - slowest 5%
- Last check
- 3 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/leer-codigo-pago' \
-H 'content-type: application/json' \
--data-raw '{"url":"https://upload.wikimedia.org/wikipedia/commons/thumb/d/d0/QR_code_for_mobile_English_Wikipedia.svg/500px-QR_code_for_mobile_English_Wikipedia.svg.png"}'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%2Fleer-codigo-pago
const res = await pay("https://api.vextorium.com/leer-codigo-pago", {
method: "POST",
headers: { "content-type": "application/json" },
body: "{\"url\":\"https://upload.wikimedia.org/wikipedia/commons/thumb/d/d0/QR_code_for_mobile_English_Wikipedia.svg/500px-QR_code_for_mobile_English_Wikipedia.svg.png\"}",
});
console.log(await res.json());Example input
{
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d0/QR_code_for_mobile_English_Wikipedia.svg/500px-QR_code_for_mobile_English_Wikipedia.svg.png"
}Example output
{
"alto": 500,
"ancho": 500,
"aviso": "Antes de abrir una URL de un QR, comprueba su seguridad (url-maliciosa).",
"codigos": [
{
"contenido": "http://en.m.wikipedia.org",
"formato": "QR Code",
"posicion": {
"abajo_der": [
446,
446
],
"arriba_izq": [
54,
54
]
},
"tipo_contenido": "url"
}
],
"codigos_encontrados": 1,
"fuente": "zxing-cpp (lectura local)",
"imagen": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d0/QR_code_for_mobile_English_Wikipedia.svg/500px-QR_code_for_mobile_English_Wikipedia.svg.png"
}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 |
|---|---|---|---|---|
| 3 h ago | Amount "0.003" is not in atomic token units | 402 | 86 ms | $0.003 |
| 7 h ago | Amount "0.003" is not in atomic token units | 402 | 76 ms | $0.003 |
| 11 h ago | Amount "0.003" is not in atomic token units | 402 | 77 ms | $0.003 |
| 16 h ago | Amount "0.003" is not in atomic token units | 402 | 81 ms | $0.003 |
| 20 h ago | Amount "0.003" is not in atomic token units | 402 | 84 ms | $0.003 |
| 24 h ago | Amount "0.003" is not in atomic token units | 402 | 84 ms | $0.003 |
| 28 h ago | Amount "0.003" is not in atomic token units | 402 | 79 ms | $0.003 |
| 32 h ago | Amount "0.003" is not in atomic token units | 402 | 79 ms | $0.003 |
| 36 h ago | Amount "0.003" is not in atomic token units | 402 | 226 ms | $0.003 |
| 40 h ago | Amount "0.003" is not in atomic token units | 402 | 77 ms | $0.003 |
| 44 h 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 | 77 ms | $0.003 |
| 2 days ago | Amount "0.003" is not in atomic token units | 402 | 78 ms | $0.003 |
| 2 days ago | Amount "0.003" is not in atomic token units | 402 | 77 ms | $0.003 |
| 2 days ago | Amount "0.003" is not in atomic token units | 402 | 204 ms | $0.003 |