ToolAssay

Decode a barcode or QR code from an image

Decode a barcode or QR code from an image. Send a base64 PNG or JPEG (or a data: URL); returns the decoded text and the symbology. Reads QR, DataMatrix, and 1D barcodes (EAN/UPC/Code39/Code128/ITF/Codabar). Deterministic, no network, no model.

Not tested: has real-world effectsour last check, 2026-09-24
0 of 0checks answered this week
n/amedian answer time
$0.001listed price per call
n/aprice it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://agent402.tools/api/barcode-decode

CategoryImage and media
Provider hostagent402.tools
Networksalgorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8=, eip155:10, eip155:1329, eip155:137, eip155:143, eip155:42161, eip155:42220, eip155:43114, eip155:4663, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp, stellar:pubnet
Payment schemesexact, upto
Self-reported calls, 30 days5 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

We never call tools that send, buy, move money or file anything, not even without paying.

Example input (from the provider)

{
  "body": {
    "image": "iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAYAAACPZlfNAAAAAklEQVR4AewaftIAAALNSURBVO3BW2rgUAwFwT7C+99yTz4vImDjvNCgqviBNUaxRinWKMUapVijXHwiCX9N5bskoVO5k4S/pnIq1ijFGqVYoxRrlIuHVH5KEp5IwknlrSScVJ5Q+SlJuFOsUYo1SrFGKdYoF1+QhDdU3lC5k4TflIQ3VN4o1ijFGqVYo1wMloRO5YkkTFSsUYo1SrFGKdYoF4Mk4aTyRBL+F8UapVijFGuUYo1y8QUqv0nlThKeUPkOKr+pWKMUa5RijXLxUBL+WhJOKk+odEk4qTyRhL9UrFGKNUqxRinWKPED/5EkdCr/i2KNUqxRijVKsUa5+EQSOpUuCSeVLgmdyikJncqdJLyVhJPKG0noVO4koVO5U6xRijVKsUaJH3gpCXdU/loSOpVTEjqVLgknlTeS8ITKqVijFGuUYo1SrFEuPpGEJ1S+QxI6lS4JJ5UuCd8lCW8k4Y5Kl4Q7xRqlWKMUa5RijRI/0CThCZVTEjqVLgknlTeS8JNUuiS8ofIdijVKsUYp1ijFGiV+oElCp9Il4aTSJeENlS4JJ5UnktCpnJLwhkqXhDdU7hRrlGKNUqxR4geGSMIbKm8k4Y5Kl4Q7Km8Ua5RijVKsUYo1ysUnkvDXVDqVUxLeSsJJpVO5k4QnVO4koVM5FWuUYo1SrFGKNcrFQyo/JQlvqHRJeELlThLuqLyRhE7lTrFGKdYoxRrl4guS8IbKG0k4qXQqTyThpPKEyikJnUqXhDtJ6FROxRqlWKMUa5RijXIxiMopCZ1Kl4RO5ZSETuWOyhMqpyR0KneKNUqxRinWKMUa5WKQJJxUflISOpVTEp5QOal0SehUTsUapVijFGuUiy9Q+U0qpyR0Kk8k4Y5Kl4STyhtJeKNYoxRrlGKNUqxRLh5Kwl9LwndROSWhS0KnckpCp9Il4aTSJeFOsUYp1ijFGqVYo8QPrDGKNUqxRinWKP8AIFwq4iXMWtcAAAAASUVORK5CYII="
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "properties": {
            "image": {
              "description": "base64-encoded PNG or JPEG, optionally a data: URL",
              "type": "string"
            }
          },
          "required": [
            "image"
          ]
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "decoder": {
              "type": "string"
            },
            "format": {
              "type": "string"
            },
            "found": {
              "type": "boolean"
            },
            "text": {
              "type": "string"
            }
          },
          "required": [
            "found",
            "format",
            "text",
            "decoder"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON