{"uid":"cap_52SIeWcAQystS5Hw17ThT","slug":"toolrail-brazilian-cep-lookup-6b5b79cb","name":"Toolrail Brazilian CEP Lookup","description":"Brazilian postal code (CEP) lookup: street, neighborhood, city, state and IBGE code for any of Brazil's 700k+ CEPs. Use when you have a Brazilian postal code (CEP) and need the full address.","url":"https://toolrail.dev/br/cep?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","properties":{"cep":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"cep":{"type":"string"},"calle":{"type":"string"},"found":{"type":"boolean"},"barrio":{"type":"string"},"ciudad":{"type":"string"},"estado":{"type":"string"},"fuente":{"type":"string"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2k1PzH2cra9ZlmuAMoYec","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves a Brazilian postal code (CEP) to its full address: street, neighborhood, city, state, and IBGE code.","exampleAgentPrompt":"What address does the Brazilian postal code 01310-100 correspond to? I need the street, neighborhood, city, and state.","exampleUseCases":[{"title":"Autofill checkout address from CEP","prompt":"The user just typed their CEP 04538-132 into our checkout form — can you fill in the street, neighborhood, city, and state automatically?"},{"title":"Validate customer-submitted postal code","prompt":"A customer gave us CEP 20040-020 as their delivery address. Can you check if that's a real Brazilian postal code and tell me what neighborhood and city it maps to?"},{"title":"Enrich lead database with location data","prompt":"I have a Brazilian lead with postal code 30130-110 and I need to add the full address details — street, neighborhood, city, state, and IBGE code — to their record."}],"resultDescription":"Returns a JSON object with the resolved address fields: cep, street (calle), neighborhood (barrio), city (ciudad), state (estado), IBGE code, data source (fuente), and a boolean 'found' flag indicating whether the CEP was matched in the database.","failureModes":["CEP not found: 'found' field returns false with no address data","Invalid CEP format: query param malformed or non-numeric characters","CEP outside the 700k+ covered range: returns found=false","Network timeout or service unavailability","Missing cep query parameter returns an error"],"whenToPreferThis":"Use this endpoint whenever you have a Brazilian postal code (CEP) and need structured address data including street, neighborhood, city, state, and IBGE code. It covers 700k+ Brazilian CEPs and is purpose-built for the Brazilian postal system, making it preferable to generic geocoding APIs that may have poor coverage of Brazilian localities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:48:51.594Z","isFirstParty":false,"canonicalSlug":"toolrail-brazilian-cep-lookup-6b5b79cb"}