ToolAssay

Generate a barcode as PNG (base64)

Generate a barcode as PNG (base64): code128 (default), ean13, ean8, upca, upce, code39, itf14, gs1_128, isbn, datamatrix, pdf417, aztec or qr. Validates check digits for EAN/UPC. Use for labels, shipping, inventory, tickets or invoices. Params: text (required), type, scale (1-8, default 3), include_text boolean (human-readable text under the bars).

Answeringour last check, 2026-10-10
1 of 1checks answered this week
892 msmedian answer time
$0.0025listed price per call
$0.0025price 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://agentsvc.io/api/v1/proxy/barcode

CategoryEverything else
Provider hostagentsvc.io
Networkseip155:137, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Payment schemesexact
Self-reported calls, 30 days10 from 3 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-10-10 valid payment request 402$0.0025 892 ms

Example input (from the provider)

{
  "body": {
    "text": "4006381333931",
    "type": "ean13"
  },
  "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": {
            "include_text": {
              "default": true,
              "type": "boolean"
            },
            "scale": {
              "default": 3,
              "maximum": 8,
              "minimum": 1,
              "type": "integer"
            },
            "text": {
              "description": "Data to encode",
              "maxLength": 500,
              "type": "string"
            },
            "type": {
              "default": "code128",
              "enum": [
                "code128",
                "ean13",
                "ean8",
                "upca",
                "upce",
                "code39",
                "itf14",
                "gs1_128",
                "isbn",
                "datamatrix",
                "pdf417",
                "aztec",
                "qr"
              ],
              "type": "string"
            }
          },
          "required": [
            "text"
          ]
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "data": {
              "properties": {
                "format": {
                  "enum": [
                    "png"
                  ],
                  "type": "string"
                },
                "height": {
                  "type": "integer"
                },
                "image_base64": {
                  "description": "Base64-encoded PNG",
                  "type": "string"
                },
                "size_bytes": {
                  "type": "integer"
                },
                "text": {
                  "type": "string"
                },
                "type": {
                  "type": "string"
                },
                "width": {
                  "type": "integer"
                }
              },
              "required": [
                "image_base64",
                "format",
                "type",
                "text",
                "width",
                "height"
              ],
              "type": "object"
            },
            "success": {
              "type": "boolean"
            }
          },
          "required": [
            "success",
            "data"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON