{"uid":"cap_H_4yvLeiNTpc8kcKjqWIB","slug":"br-intelligence-boleto-validator-0fb0b459","name":"BR Intelligence – Boleto Validator","description":"Pay-per-call Brazilian business intelligence for AI agents, paid via x402 in USDC on Base.","url":"https://br-intelligence.brverify-api.workers.dev/v1/boleto?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["code"],"properties":{"code":{"type":"string","description":"Boleto digitable line (47 or 48 digits) or barcode (44 digits), with or without punctuation."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"kind":"cobranca","valid":true,"amount":1,"bankCode":"001","dueFactor":3737,"dueDateAmbiguous":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9LFTuxJFQ67KHi0MP90vM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates and decodes a Brazilian boleto (bank slip) from its digitable line or barcode, returning amount, bank, and due date.","exampleAgentPrompt":"Can you validate this Brazilian boleto and tell me how much it's for and if it's still good? The code is 00190500954014481606906809350314337370000000100.","exampleUseCases":[{"title":"Verify boleto before payment","prompt":"I have a boleto from a supplier with code 00190500954014481606906809350314337370000000100 — can you check if it's valid and what the amount is before I pay it?"},{"title":"Automate boleto reconciliation","prompt":"We received a bunch of boleto codes from customers — can you validate this one and tell me the bank, amount, and due date: 34191090082430100040000601285004289540000010000?"},{"title":"Detect suspicious or malformed boleto","prompt":"Someone sent me a boleto with this barcode: 00190000090253819700606721550008337370000059000 — is it a legitimate boleto and is the code well-formed?"}],"resultDescription":"Returns a JSON object with: kind (cobranca or convenio), valid (boolean), amount (numeric value), bankCode (3-digit Brazilian bank code), dueFactor (days from base date), and dueDateAmbiguous (boolean indicating if due date interpretation is uncertain).","failureModes":["Invalid or malformed boleto code returns valid: false","Missing 'code' query parameter causes a 400-level error","Non-Brazilian or unsupported barcode formats may fail to parse","Ambiguous due date flagged with dueDateAmbiguous: true","Payment failure via x402 if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need to programmatically validate, decode, or extract metadata from a Brazilian boleto (bank slip), especially in financial automation, accounts payable, or fraud detection workflows targeting Brazil. Prefer this over manual parsing or generic OCR when you have the raw digitable line or barcode string.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T01:38:12.555Z","isFirstParty":false,"canonicalSlug":"br-intelligence-boleto-validator-0fb0b459"}