ISO 3166-2 API vs ViaCep
Same instrument, two spec sheets — measured, not claimed.
ISO 3166-2 API vs ViaCep: common questions
Which is more reliable, ISO 3166-2 API or ViaCep?
On our scheduled checks, ISO 3166-2 API leads on measured uptime — ISO 3166-2 API at 100% versus ViaCep at 98.0% over 90 days. These are our own probe results, not provider claims; the uptime bars above show the day-by-day record for both.
Which is faster, ISO 3166-2 API or ViaCep?
ViaCep has the lower median latency in our checks — ISO 3166-2 API responds in 1056 ms versus ViaCep at 651 ms (P50). Tail latency (P95) is in the table above; for most workloads the median is the number that shapes how the API feels.
Do ISO 3166-2 API and ViaCep need an API key?
Neither needs a paid key — ISO 3166-2 API is callable with no signup, and ViaCep is callable with no signup. Both are quick to prototype with; rate limits still apply.
Can I call ISO 3166-2 API and ViaCep from the browser?
Yes — both ISO 3166-2 API and ViaCep send CORS headers over HTTPS, so front-end code can fetch either directly with no backend proxy. That makes them easy to swap in a client-side app while you compare responses.
Are ISO 3166-2 API and ViaCep free for commercial use?
ISO 3166-2 API has unclear commercial terms, and ViaCep has unclear commercial terms. We track service terms and the data license as separate fields — see the Commercial use and Data license rows above, and confirm both before shipping either in a paid product.