Batch Lookup Barcodes ($0.01 USDC)
batch_lookup_barcodesResolves 2 to 5 UPC/EAN/GTIN barcodes in a single x402 call ($0.01 flat = $0.002/barcode at max batch). Deduplicates inputs, rejects invalid check digits locally without upstream calls, queries OpenFoodFacts and OpenBeautyFacts concurrently, and funnels remaining misses to UPCitemdb within strict rate-limit budgets. Returns per-item normalized specs, eBay/Amazon listing drafts, ODbL attribution, and batch summary. Paid: $0.01 USDC on Base via x402 PayAI.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"barcodes": "<barcodes>"
},
"name": "batch_lookup_barcodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| barcodes | Yes | Array of 2 to 5 UPC/EAN/GTIN barcodes to look up in a single $0.01 USDC batch. | |
| bypass_cache | No | Optional. Skip warm-instance in-memory LRU cache. |