Skip to content
Fourohtwo

Scan QR codes and barcodes in an image

mpp-tools.fmf-x402.workers.dev/mpp/qr/scan

Scan QR codes and barcodes in an image — Decode every QR code, Data Matrix, Aztec, PDF417 and 1D barcode (EAN/UPC/Code128...) in an image: text, format, position, error-correction level. Send an image URL, base64, or raw image bytes (POST with content-type image/*). Max 8 MB. No codes found returns 402, not charged. Price $0.002 per call.

BaseAnswering
GEThttps://mpp-tools.fmf-x402.workers.dev/mpp/qr/scan

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://mpp-tools.fmf-x402.workers.dev/mpp/qr/scan");
console.log(await res.json());

Example input

{"image_base64":"R0lGODdh0ADQAIAAAAAAAP///ywAAAAA0ADQAAAC/4yPqcvtD6OctNqLs968+w+G4kiW5omm6spSwAvH8kzX9g0wtU7zM7db4IbE4k9oTCp7yKMi+GRqoIml1eq7aofZWBf2fQGl1a35Fj6r0+ymbOwsq+dgN31tr0fjCCrGf3B3lyaIlSd2mJMI95ZYuET4mNS211jptQFoIHkWyUlEKWcpijlF1vepFYqiGdD6enrSSgLLJxu7ieuqOzvSK1I7yspLbJtrXPIbElyawqxHCo2KTKtbjawM8ox4KR1o7QsOXCx8i03ePF1ukv2xrajyvvpNHV4/fn6/jO59vL6rT5u4ffn+dVo0IRUohN24RYPE8CE8iZMiQlDIxSI9g/9

More from FMF Tools FMF Tools UtilitiesProvider status