Api Endpoint

x402-data-api.onrender.com

Barcode generator for product, shipping, and inventory labels: GET ?data=&type= and receive a print-ready SVG plus PNG (base64) and a data: URI. Types: code128 (default), ean13, ean8, upca, upce, code39, itf14, gs1-128, codabar, datamatrix, pdf417, aztec. Check digits, quiet zones, and the human-readable line are handled per spec; invalid input for a symbology returns a clear 400. Deterministic, no network. QR codes live at /api/qr.

Open interactive test console

Offering

Provider
x402-data-api.onrender.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Location And Travel
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402-data-api.onrender.com/api/barcode
MIME type
application/json
First seen
2026-10-16T02:54:53.696Z
Last seen
Tags
Design & Assets

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0xdd5fcEa81CA6f1EB39FEd5B973DE794293B81ba6"
  }
]

Observed health

Status
Healthy
Latest latency
47 ms
Average latency
357 ms
HTTP status
402
Last checked
Reachability
100% over 9 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "data": {
          "type": "string",
          "description": "Value to encode (required, up to 500 chars; digits-only types validate length + check digit)"
        },
        "type": {
          "type": "string",
          "description": "Symbology: code128 (default), ean13, ean8, upca, upce, code39, itf14, gs1-128, codabar, datamatrix, pdf417, aztec"
        },
        "scale": {
          "type": "number",
          "description": "Module width multiplier for the PNG (1-8, default 3)"
        },
        "height": {
          "type": "number",
          "description": "Bar height for 1D types (4-60, default 12)"
        },
        "text_line": {
          "type": "string",
          "description": "Set to 'false' to omit the human-readable text under the bars"
        },
        "dark": {
          "type": "string",
          "description": "Hex color of the bars (default #000000)"
        },
        "light": {
          "type": "string",
          "description": "Hex background color (default #ffffff)"
        }
      },
      "required": [
        "data"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "data": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "svg": {
          "type": "string"
        },
        "png_base64": {
          "type": "string"
        },
        "data_uri": {
          "type": "string"
        }
      }
    }
  },
  "required": [
    "type"
  ]
}