Barcode Generator
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).
The wallet the 402 directs payment to. Its whole payment record — every payer, every chain — is on the merchant page.
Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Live 402 challenge
Captured by the enrichment pass, not read just now. Prices can change — always read the 402 the endpoint answers with.
{
"docs": "https://agentsvc.io/docs",
"hint": "This call costs $0.002 USDC, paid per request with USDC on Base or Solana mainnet via x402. No account, no API key. Easiest: use an x402 client (JavaScript: @x402/fetch + @x402/evm, Python: pip install x402) with a wallet holding USDC on Base; it handles the 402 automatically. Manual: sign an EIP-3009 TransferWithAuthorization for the requirements in accepts[0] (v1) or in the PAYMENT-REQUIRED response header (v2) and retry with the X-PAYMENT (v1) or PAYMENT-SIGNATURE (v2) header.",
"error": "payment_required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27",
"scheme": "exact",
"network": "base",
"mimeType": "application/json",
"resource": "https://agentsvc.io/api/v1/proxy/barcode",
"description": "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).",
"outputSchema": {
"input": {
"body": {
"text": "4006381333931",
"type": "ean13"
},
"type": "http",
"method": "POST",
"bodyType": "json",
"discoverable": true
},
"output": {
"text": "4006381333931",
"type": "ean13",
"width": 342,
"format": "png",
"height": 132,
"size_bytes": 1840,
"image_base64": "iVBORw0KGgoAAAANSUhEUgAAAM..."
}
},
"maxAmountRequired": "2000",
"maxTimeoutSeconds": 300
},
{
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"extra": {
"feePayer": "Hc3sdEAsCGQcpgfivywog9uwtk8gUBUZgsxdME1EJy88"
},
"payTo": "5JzPS5qpEwUM1vTC9GG7uqvwJdHzbEwfoPHf2Ki977tg",
"scheme": "exact",
"network": "solana",
"mimeType": "application/json",
"resource": "https://agentsvc.io/api/v1/proxy/barcode",
"description": "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).",
"outputSchema": {
"input": {
"body": {
"text": "4006381333931",
"type": "ean13"
},
"type": "http",
"method": "POST",
"bodyType": "json",
"discoverable": true
},
"output": {
"text": "4006381333931",
"type": "ean13",
"width": 342,
"format": "png",
"height": 132,
"size_bytes": 1840,
"image_base64": "iVBORw0KGgoAAAANSUhEUgAAAM..."
}
},
"maxAmountRequired": "2000",
"maxTimeoutSeconds": 300
}
],
"payment": {
"asset": "USDC",
"pay_to": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27",
"scheme": "exact",
"network": "eip155:8453",
"chain_id": 8453,
"price_usd": 0.002,
"network_v1": "base",
"also_accepted": {
"see": "accepts[1] (v1 body) or PAYMENT-REQUIRED accepts[1] (v2)",
"pay_to": "5JzPS5qpEwUM1vTC9GG7uqvwJdHzbEwfoPHf2Ki977tg",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"asset_mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
},
"amount_atomic": "2000",
"asset_contract": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"x402_versions_accepted": [
1,
2
]
},
"try_free": "https://agentsvc.io/api/v1/try/barcode",
"x402Version": 1,
"service_info": "https://agentsvc.io/api/v1/services/barcode"
}Accepts
The payment requirements as published to the catalog. Read the live 402 before paying — a price here is a claim, not a quote.
Pay 0.0025 USDC on Base to 0x622e…74F27. The signed payment is good for 5 minutes.
- Paid to
- 0x622e…74F27
- USD Coin contract
- 0x8335…02913
- Payment window
- 5 minutes
- As published
- 2500 smallest units
That figure is in the token’s smallest units. Roundhouse does not hold this contract’s decimals, so it is shown as published rather than converted.
- Paid to
- 5JzPS5…977tg
- Token contract
- EPjFWd…TDt1v
- Payment window
- 5 minutes
That figure is in the token’s smallest units. Roundhouse does not hold this contract’s decimals, so it is shown as published rather than converted.
- Paid to
- 0x622e…74F27
- Token contract
- 0x3c49…c3359
- Payment window
- 5 minutes
That figure is in the token’s smallest units. Roundhouse does not hold this contract’s decimals, so it is shown as published rather than converted.
- Paid to
- 0x622e…74F27
- Token contract
- 0xaf88…e5831
- Payment window
- 5 minutes
The catalog’s raw entry
[
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27",
"amount": "2500",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 300
},
{
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"extra": {
"feePayer": "Hc3sdEAsCGQcpgfivywog9uwtk8gUBUZgsxdME1EJy88"
},
"payTo": "5JzPS5qpEwUM1vTC9GG7uqvwJdHzbEwfoPHf2Ki977tg",
"amount": "2500",
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"maxTimeoutSeconds": 300
},
{
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27",
"amount": "2500",
"scheme": "exact",
"network": "eip155:137",
"maxTimeoutSeconds": 300
},
{
"asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27",
"amount": "2500",
"scheme": "exact",
"network": "eip155:42161",
"maxTimeoutSeconds": 300
}
]Extensions
{
"bazaar": {
"info": {
"input": {
"body": {
"text": "4006381333931",
"type": "ean13"
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"data": {
"text": "4006381333931",
"type": "ean13",
"width": 342,
"format": "png",
"height": 132,
"size_bytes": 1840,
"image_base64": "iVBORw0KGgoAAAANSUhEUgAAAM..."
},
"success": true
}
}
},
"tags": [
"barcode-generator",
"barcode",
"ean",
"code128",
"png",
"label",
"generate",
"datamatrix",
"pdf417"
],
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"bodyType",
"body"
],
"properties": {
"body": {
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 500,
"description": "Data to encode"
},
"type": {
"enum": [
"code128",
"ean13",
"ean8",
"upca",
"upce",
"code39",
"itf14",
"gs1_128",
"isbn",
"datamatrix",
"pdf417",
"aztec",
"qr"
],
"type": "string",
"default": "code128"
},
"scale": {
"type": "integer",
"default": 3,
"maximum": 8,
"minimum": 1
},
"include_text": {
"type": "boolean",
"default": true
}
}
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object",
"required": [
"success",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"image_base64",
"format",
"type",
"text",
"width",
"height"
],
"properties": {
"text": {
"type": "string"
},
"type": {
"type": "string"
},
"width": {
"type": "integer"
},
"format": {
"enum": [
"png"
],
"type": "string"
},
"height": {
"type": "integer"
},
"size_bytes": {
"type": "integer"
},
"image_base64": {
"type": "string",
"description": "Base64-encoded PNG"
}
}
},
"success": {
"type": "boolean"
}
}
}
}
}
}
},
"category": "utility"
},
"builder-code": {
"info": {
"a": "bc_q6wi3opd"
}
}
}Provenance
- Seen in the source catalog
- 2026-10-26 04:04Z
- Last indexed by Roundhouse
- 2026-10-27 01:20Z
- Last enriched (probe, favicon, geo)
- 2026-10-07 08:16Z
- x402 version
- 2
- Max timeout
- 300s
- Liveness probe
- HTTP 402
Hand this page to an agent
Copy the prompt and paste it into Claude, an MCP client or your own agent — it will vet this service and call it over the free read API. No key, no account.
GET api.roundhouseai.io/v0/endpoints
This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 31 snapshots so far. Verified volume counts only settlements with an on-chain EIP-3009 marker.
Show the promptHide the prompt
Using Roundhouse, look up the x402 service Barcode Generator and tell me whether it is worth paying: what a call costs, whether the endpoint answered when last probed, and what its payment record actually shows. curl -s 'https://api.roundhouseai.io/v0/endpoints?q=Barcode%20Generator' curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>' Then call it: read the price from the live 402 at https://agentsvc.io/api/v1/proxy/barcode, never from a cached figure, and pay with an x402 client. The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except /v0/unified* and /v0/endpoints. Either pay over x402 (mint a personal key for $0.01 at GET https://api.roundhouseai.io/v0/test/x402), or ask me for an organization key, which I create at https://roundhouseai.io/dashboard/connections. If you have neither, ask before going further. If you do not have Roundhouse tools or skills installed, read https://roundhouseai.io/skill.md first — it is the whole procedure.