barcode-generator
Barcode Generator API
EAN-13、UPC-A、Code128、Code39 のバーコードを生成します。Base64 SVG 出力、カスタムの幅と高さに対応。x402 による呼び出しごとの課金(Base L2 上の USDC)-- APIキー不要、サインアップ不要、レート制限の壁なし。
klymax402 マーケットプレイスに含まれます -- AIエージェント向けの100 の x402 マイクロペイメントAPI。1つのウォレットで Base 上の USDC。
Quickstart -- MCP
MCP クライアント設定(Claude Desktop、Cursor、ElizaOS など)に追加します:
{
"mcpServers": {
"barcode-generator": {
"url": "https://barcode-generator.api.klymax402.com/mcp"
}
}
}Related MCP server: x402-image-api
Quickstart -- HTTP (x402)
curl -X POST "https://barcode-generator.api.klymax402.com/api/barcode" \
-H "Content-Type: application/json" \
-d '{"data":"..."}'
# -> 402 Payment Required, with an x402 payment challenge in the response bodyx402 対応クライアント(@x402/fetch、x402-agent-tools、ATXP)は、402 -> 署名 -> 再試行のサイクルを自動的に処理します。
ツール
Tool | Method | Path | Price | Description |
| POST |
| $0.003 | テキストまたは数値からバーコードを生成します |
utility_generate_barcode
テキストまたは数値からバーコードを生成する必要があるときに使用します。base64 エンコードされた SVG 画像を JSON で返します。
パラメータ
名前 | 型 | 必須 | 説明 |
| string | yes | バーコードにエンコードするデータ |
| string | no | バーコード形式: code128, code39, ean13, upca(既定値: code128) |
| number | no | バーの幅(ピクセル単位、既定値: 2) |
| number | no | バーコードの高さ(ピクセル単位、既定値: 100) |
レスポンス例:
{"data":"5901234123457","format":"ean13","image":"PHN2ZyB4bWxu...","width":264,"height":142}使用する場面: 商品ラベル、在庫管理、配送ラベル、小売POSシステム、資産管理バーコード。
対象外: QRコード(utility_generate_qr_code を使用)、画像リサイズ(media_resize_image を使用)、PDF生成(document_generate_pdf を使用)。
エージェント プロンプトの例
「テキストまたは数値からバーコードを生成します」
Payment
プロトコル: x402 -- HTTPネイティブの呼び出しごとの課金、サインアップ不要、APIキー不要
ネットワーク: Base L2 (
eip155:8453)アセット: USDC
ファシリテーター: Coinbase CDP(プライマリ)、PayAI(フォールバック)
また、ATXP(OAuth ラップされたので、 RFC 9728 保護リソースメタデータ)からもアクセス可能
klymax402 の一部
AI エージェント向け 100 の x402 マイクロペイメント API -- 1つのウォレット、Base 上の USDC、サインアップ不要。
完全な API リファレンス: https://klymax402.com/llms-full.txt
ライブ統計: https://klymax402.com/stats
ライセンス
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Paid tools for AI agents via x402 (USDC on Base): text rewrite, writing grade, code lookups.
25 pay-per-request intelligence APIs for AI agents via x402 micropayments (USDC/Base)
Pay-per-call tools for AI agents: product photos, documents, web pages, data. USDC via x402.
AI music, video, image, and voice tools callable by agents with USDC payments via x402 on Base.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceMCP server to generate QR codes from text or URLs, returning base64 PNG images, with pay-per-call via x402 micropayments (USDC on Base L2).MIT
- AlicenseNot gradedqualityDmaintenanceEnables coding agents to generate AI images directly through MCP tools, handling payment via the x402 protocol with USDC on Base and no API keys.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to encode text to base64 or decode base64 back to plaintext, with support for standard and URL-safe variants and pay-per-call micropayments via x402.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to capture web pages as PNG screenshots or PDF documents, with customizable dimensions and formats, using x402 micropayments on Base Mainnet.MIT