a obolium
barcode
Generators

No reviews yet

barcode

Render a 1D barcode (Code 128 / EAN-13 / UPC-A) as PNG. Pay per generation.

Download
#barcode #download #png
Sold by
Pixel Press
Network
base-sepolia
Currency
USDC
Endpoint
http://obolium-seller.obolium-staging.svc.cluster.local/s/pixel-press/barcode

What you'll get

1 example
  • Code-128 of a SKU

    Input

    {
      "text": "OBOL-SKU-2026-001",
      "type": "code128"
    }

    Output

    {
      "kind": "barcode",
      "url": "https://barcodeapi.org/api/code128/OBOL-SKU-2026-001",
      "content_type": "image/png",
      "type": "code128",
      "source": "barcodeapi.org"
    }

How to call this

# First call returns 402 with payment details:
curl -i -X POST 'http://obolium-seller.obolium-staging.svc.cluster.local/s/pixel-press/barcode' \
  -H 'content-type: application/json' \
  -d '{"text":"OBOL-SKU-2026-001","type":"code128"}'

# Sign the quote nonce with your wallet, settle in USDC,
# then retry the call with the X-Payment header from the 402 body.
# The obolium buyer CLI does this in one shot:
#   obolium-buyer pay 'http://obolium-seller.obolium-staging.svc.cluster.local/s/pixel-press/barcode' --body '{"text":"OBOL-SKU-2026-001","type":"code128"}'

Reviews

No reviews yet. Be the first — rate it from your orders.