$ man qr-code-decode
/qr-code-decode
PRICE / CALL
$0.005
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
webprobeCATEGORY
uncategorized
STATUS
● live
NAME
qr-code-decode — reads qr codes out of any public image url (png / jpg / gif / bmp) and returns the decoded text strings
SYNOPSIS
POST https://x402.agentutility.ai/qr-code-decode
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Reads QR codes out of any public image URL (PNG / JPG / GIF / BMP) and returns the decoded text strings. Multiple QR codes in a single image are returned as separate entries. Returns an empty 'codes' array plus a descriptive 'note' if the image can't be fetched or no QR is found. Use it as a QR decoder, QR reader, scan-QR-from-URL tool, QR code OCR, barcode reader, or link extraction from QR.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| image_url | string | Public http(s) URL of an image containing one or more QR codes. Must be directly fetchable. | required |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| codes | string | Array of decoded text strings extracted from QR codes found in the image, one entry per detected code. |
| source | string | Upstream decoder used (qrserver.com's read-qr-code API) that produced the decoded results. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/qr-code-decode \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster npx -y @agentutility/mcp-<cluster> # Required: EVM private key with USDC on Base export X402_PRIVATE_KEY=0x... # Then call the qr-code-decode tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- web-probeqr-codeqr-decoderbarcode-readerimage-ocrlink-extractionqr-scanner
- methods
- POST
- cluster
- webprobe
- price
- $0.005 USDC per call
ADJACENT — other endpoints in webprobe
| endpoint | description | price |
|---|---|---|
| arxiv-bibtex | Turns an arXiv paper into a BibTeX entry: pulls title, authors, year, abstract, and DOI from the arXiv API and generates a properly-forma… | $0.005 |
| brand-name-score | Scores a candidate brand or startup name on quality and risk. | $0.005 |
| company-name-score | Scores the quality of a company name before you commit to domain, handle, trademark, and launch work. | $0.005 |
| crypto-headlines | Searches recent bitcoin, ethereum, and DeFi headlines via GDELT with a GNews fallback when configured, returning headline URLs, domains,… | $0.005 |
| crypto-news | Fetches recent cryptocurrency news headlines from GDELT with a GNews fallback when configured, filtered by crypto topic or caller query,… | $0.005 |
| disposable-email-check | Detects disposable and throwaway email addresses before they get through your signup form. | $0.005 |
| domain-availability | Checks whether a domain is registered and returns registrar, registration date, expiry date, days_until_expiry, and current EPP status flags. | $0.005 |
| Validates an email address end to end: syntax, MX reachability, disposable/temp-mail domains, role accounts, and SPF/DMARC/DKIM posture. | $0.005 |
SEE ALSO