{"uid":"cap_ZMlsNRUJlsC5maccwhlhO","slug":"agentshelf-ean-13-regex-extractor-89e03372","name":"Agentshelf EAN-13 Regex Extractor","description":"Call when an agent needs EAN-13 digit strings extracted from text, capped at 20 matches. An empty match list is billed. No network. Exact $0.01 USDC. Prefer unpaid POST /v1/sandbox/regex-ean first.","url":"https://agentshelf.syntexa.ch/v1/regex-ean?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","examples":["4006381333931"],"maxLength":100000,"minLength":1,"description":"Input for this SKU. The route description says whether it is plain text, a URL, base64 bytes, or an already-encoded token."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_O1eYr0jpsgHvYoQpTh6aH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts up to 20 EAN-13 barcode digit strings from a provided text input using regex matching.","exampleAgentPrompt":"Scan this product catalog text and pull out all the EAN-13 barcodes you can find — I need the list of 13-digit codes: 'Product: Widget A 4006381333931, Widget B 5901234123457, Widget C 9780201379624'","exampleUseCases":[{"title":"Barcode extraction from OCR output","prompt":"I've got raw OCR text from a scanned inventory sheet and I need to pull out every EAN-13 barcode in it — can you find all the 13-digit codes in this text?"},{"title":"Product catalog barcode parsing","prompt":"Here's a bulk product description export from our supplier — please extract all the EAN-13 barcode numbers from this text so I can cross-reference them against our database."},{"title":"Validate barcodes from pasted data","prompt":"Someone pasted a bunch of product info into our chat including some barcode numbers — find all the EAN-13 codes in this text for me: 'Item ref 4006381333931 ships with SKU 5901234123457 and alt code 9780201379624.'"}],"resultDescription":"A list of up to 20 EAN-13 digit strings matched within the submitted text. An empty list is returned (and billed) if no matches are found.","failureModes":["Empty match list returned when no EAN-13 codes are present in the text (still billed $0.01 USDC)","Input text exceeds 100,000 character limit causing request rejection","Payment of $0.01 USDC not provided or fails, resulting in 402 error","Malformed or missing 'text' field in request body causes validation error","Strings resembling but not conforming to 13-digit EAN-13 format are not matched"],"whenToPreferThis":"Use this endpoint when you need to reliably extract EAN-13 barcode digit sequences from arbitrary text without running your own regex logic. It is preferable when operating in environments where you cannot execute code locally, or when you want a deterministic, hosted, paid-access barcode extraction service. For testing or development, prefer the unpaid sandbox endpoint POST /v1/sandbox/regex-ean first to avoid unnecessary charges. Do not use if you need UPC-A, QR, or other barcode formats.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:02.966Z","isFirstParty":false,"canonicalSlug":"agentshelf-ean-13-regex-extractor-89e03372"}