public apis
/
CategoriesMCPBlogRandomStar
Public APIs

A searchable directory of 2,000+ free public APIs, curated by the community and maintained with APILayer.

Powered byAPILayer

Popular

  • Weather APIs
  • Finance APIs
  • Crypto APIs
  • Geocoding APIs
  • Machine learning APIs
  • Games APIs

Directory

  • Categories
  • All APIs
  • MCP servers
  • FAQ
  • Stats
  • JSON API
  • llms.txt

APILayer

  • Browse the API suite ↗
  • Get a free API key ↗
  • APILayer blog ↗
  • Postman collection ↗
  • Discord community ↗

Project

  • public-apis on GitHub ↗
  • Contribute an API ↗
Public APIs · by APILayerData from public-apis (MIT)
  1. Home
  2. /Geocoding
  3. /ViaCep
Geocoding
ViaCep logo

ViaCep

Brazil RESTful zip codes API.

ViaCep API is a free Geocoding API that requires no API key, is served over HTTPS and has unconfirmed CORS support.

Authentication
None required
HTTPS
Yes
CORS
Unknown
Category
Geocoding
Visit documentation ↗viacep.com.br

About ViaCEP

Webservice gratuito para consulta de endereço via CEP, suporta Ajax e retorno nos formatos JSON ou XML.

Provider
ViaCEP
Website
viacep.com.br ↗

Details from viacep.com.br.

APILayer

Unified API suite · now live

Geocode an address, validate an email, track a flight or pull stock data with one account, one dashboard and one API key.

Get your free API key→Free tier on every API

ViaCep API alternatives

Utah AGRC logo

Utah AGRC

Utah Web API for geocoding Utah addresses

apiKeyHTTPSCORS ?
What3Words logo

What3Words

Three words as rememberable and unique coordinates worldwide

apiKeyHTTPSCORS ?
US ZipCode logo

US ZipCode

Validate and append data for any US ZipCode

apiKeyHTTPSCORS
Yandex.Maps Geocoder logo

Yandex.Maps Geocoder

Use geocoding to get an object's coordinates from its address

apiKeyHTTPSCORS ?
Unblock Master IP logo

Unblock Master IP

IP geolocation plus datacenter and VPN detection for any IPv4 or IPv6 address

No authHTTPSCORS
ZipCodeAPI logo

ZipCodeAPI

US zip code distance, radius and location API

apiKeyHTTPSCORS ?

ViaCep API FAQ

Who provides the ViaCep API?

The ViaCep API is provided by ViaCEP (viacep.com.br). Webservice gratuito para consulta de endereço via CEP, suporta Ajax e retorno nos formatos JSON ou XML.

Is the ViaCep API free?

Yes. The ViaCep API is listed in the Geocoding category of the public-apis directory, which only includes APIs that are free or have a free tier. Check its documentation for rate limits and paid plans.

Does the ViaCep API require an API key?

No. The ViaCep API requires no authentication, so you can start making requests without signing up.

Can I call the ViaCep API from the browser?

CORS support for the ViaCep API is unknown. Test a request from the browser, and fall back to a server-side call if it is blocked.

Does the ViaCep API support HTTPS?

Yes. The ViaCep API is served over HTTPS, so it's safe to use in production.