Generate a barcode or QR code as SVG or PNG
Generate a barcode or QR code as SVG or PNG: QR, DataMatrix, PDF417, Code 128, Code 39, EAN-13, EAN-8, UPC-A, ISBN-13, ITF and GS1-128. EAN/UPC/ISBN check digits are computed (or verified, never silently replaced). QR and DataMatrix support colours, square/rounded/dot styles and (QR) a centre logo from an https URL. Every format is verified scannable. Returns SVG text or base64 PNG plus a data URI ready to embed in HTML, PDF or labels.
Answeringour last check, 2026-10-18
1 of 1checks answered this week
590 msmedian answer time
$0.001listed price per call
$0.001price 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://api.ishob.com/v1/barcode
| Category | Code and developer |
|---|---|
| Provider host | api.ishob.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 2 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-18 | valid payment request | 402 | $0.001 | 590 ms |
Example input (from the provider)
{
"body": {
"format": "svg",
"text": "https://ishob.com",
"type": "qrcode"
},
"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": {
"background": {
"default": "#FFFFFF",
"description": "Background colour #RRGGBB",
"pattern": "^#[0-9a-fA-F]{6}$",
"type": "string"
},
"color": {
"default": "#000000",
"description": "Foreground colour #RRGGBB",
"pattern": "^#[0-9a-fA-F]{6}$",
"type": "string"
},
"ec": {
"default": "M",
"description": "QR error correction level (H when a logo is used)",
"enum": [
"L",
"M",
"Q",
"H"
],
"type": "string"
},
"format": {
"default": "svg",
"description": "Output image format",
"enum": [
"svg",
"png"
],
"type": "string"
},
"height_mm": {
"default": 15,
"description": "Bar height for linear barcodes, in mm",
"maximum": 100,
"minimum": 5,
"type": "number"
},
"include_text": {
"default": true,
"description": "Print the human-readable text under linear barcodes",
"type": "boolean"
},
"logo_url": {
"description": "QR only: https URL of a PNG/JPEG/WebP logo (max 200 KB) placed in the centre",
"format": "uri",
"type": "string"
},
"scale": {
"description": "Size: pixels per module (2D) or bar-width step (1D); default 4 (SVG) / 8 (PNG)",
"maximum": 20,
"minimum": 1,
"type": "integer"
},
"style": {
"default": "square",
"description": "Module style (qrcode, datamatrix)",
"enum": [
"square",
"rounded",
"dots"
],
"type": "string"
},
"text": {
"description": "Data to encode (URL, text, digits for EAN/UPC/ISBN...)",
"maxLength": 2000,
"minLength": 1,
"type": "string"
},
"type": {
"default": "qrcode",
"description": "Barcode format",
"enum": [
"qrcode",
"datamatrix",
"pdf417",
"code128",
"code39",
"ean13",
"ean8",
"upca",
"isbn13",
"itf",
"gs1_128"
],
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"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": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}