{"api":{"id":"api_69ba88dbee06299185534a15","slug":"brazil-viacep-postal-codes","name":"Brazil CEP Postal Code API","description":"Look up Brazilian postal codes (CEP) in batch, or search a street by state, city and street name. Returns street, district, city, state, region, IBGE municipality code and phone area code.","kind":"ready_made","visibility":"public","domain":"viacep.com.br","source_url":"https://viacep.com.br/ws/01001000/json/","category":"places","record_type":"place","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":11,"created_at":"2026-12-06T04:45:48.343Z","updated_at":"2026-12-06T04:45:48.343Z","runnable":true},"version":"1.0","contract_hash":"f61f6833b4bd22eee208a8a637a7732952ccc91b0f750913dc64e31d48e8fa84","fields":[{"name":"id","type":"string","description":"The postal code as 8 digits.","required":true,"coverage":1,"example":"08190461"},{"name":"cep","type":"string","description":"The postal code as written, with dash.","required":false,"coverage":1,"example":"08190-461"},{"name":"street","type":"string","description":"Street name.","required":false,"coverage":1,"example":"Viela Paulista"},{"name":"complement","type":"string","description":"Range or building note for the code.","required":false,"coverage":0.8,"example":"1728"},{"name":"district","type":"string","description":"Neighbourhood (bairro).","required":false,"coverage":1,"example":"Vila Itaim"},{"name":"city","type":"string","description":"City.","required":false,"coverage":1,"example":"São Paulo"},{"name":"state","type":"string","description":"Two-letter state code.","required":false,"coverage":1,"example":"SP"},{"name":"state_name","type":"string","description":"Full state name.","required":false,"coverage":1,"example":"São Paulo"},{"name":"region","type":"string","description":"Brazilian macro-region, such as Sudeste.","required":false,"coverage":1,"example":"Sudeste"},{"name":"ibge_code","type":"string","description":"IBGE municipality code.","required":false,"coverage":1,"example":"3550308"},{"name":"area_code","type":"string","description":"Telephone area code (DDD).","required":false,"coverage":1,"example":"11"}],"inputs":[{"name":"cep","type":"string","description":"One or several 8-digit postal codes, separated by commas, with or without the dash.","example":"01001000"},{"name":"state","type":"string","description":"Two-letter state code for a street search, for example SP.","example":"SP"},{"name":"city","type":"string","description":"City name for a street search, at least 3 characters.","example":"Sao Paulo"},{"name":"street","type":"string","description":"Street name or part of it for a street search, at least 3 characters.","example":"Paulista"}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"area_code":{"description":"Telephone area code (DDD).","type":"string"},"cep":{"description":"The postal code as written, with dash.","type":"string"},"city":{"description":"City.","type":"string"},"complement":{"description":"Range or building note for the code.","type":"string"},"district":{"description":"Neighbourhood (bairro).","type":"string"},"ibge_code":{"description":"IBGE municipality code.","type":"string"},"id":{"description":"The postal code as 8 digits.","type":"string"},"region":{"description":"Brazilian macro-region, such as Sudeste.","type":"string"},"state":{"description":"Two-letter state code.","type":"string"},"state_name":{"description":"Full state name.","type":"string"},"street":{"description":"Street name.","type":"string"}},"required":["id"],"title":"Brazil CEP Postal Code API","type":"object"},"samples":[{"id":"08190461","cep":"08190-461","street":"Viela Paulista","complement":null,"district":"Vila Itaim","city":"São Paulo","state":"SP","state_name":"São Paulo","region":"Sudeste","ibge_code":"3550308","area_code":"11"},{"id":"01310919","cep":"01310-919","street":"Avenida Paulista","complement":"1728","district":"Bela Vista","city":"São Paulo","state":"SP","state_name":"São Paulo","region":"Sudeste","ibge_code":"3550308","area_code":"11"},{"id":"01310911","cep":"01310-911","street":"Avenida Paulista","complement":"960","district":"Bela Vista","city":"São Paulo","state":"SP","state_name":"São Paulo","region":"Sudeste","ibge_code":"3550308","area_code":"11"}],"validation":{"checked_at":"2026-12-06T04:45:48.335Z","field_coverage":{"area_code":1,"cep":1,"city":1,"complement":0.67,"district":1,"ibge_code":1,"id":1,"region":1,"state":1,"state_name":1,"street":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T04:45:48.343Z","activated_at":"2026-12-06T04:45:48.343Z","active":true,"contract_hash":"f61f6833b4bd22eee208a8a637a7732952ccc91b0f750913dc64e31d48e8fa84","fields_count":11}]}