Tracking · head-to-head
Correios vs Mapbox
Correios exposes a REST API suite covering package tracking (Rastro), address lookup (Busca CEP), shipping cost (Preço), and delivery-time estimates (Prazo) for Brazil's national postal service. Access is gated behind a commercial shipping contract rather than public self-serve signup, with keys issued and validated through the CWS (Correios Web Services) portal under a Meu Correios login. A 2026 security tightening now restricts tracking queries to parcels tied to the querying contract, closing off third-party lookups of packages a caller didn't send.
Mapbox is a location-data platform offering Directions, Geocoding, Maps, and related APIs for turn-by-turn routing, address search, and interactive map rendering. Its endpoints are built for direct browser use — authenticated with an access_token query parameter and served with CORS enabled — rather than requiring a server-side proxy. A generous free tier covers most hobby and prototype usage, with pay-as-you-go pricing and volume discounts taking over once monthly limits are exceeded.
| Correios | Mapbox | |
|---|---|---|
| Authentication | API Key | API Key |
| Pricing | paid | freemium |
| Formats | JSON | JSON |
| CORS | no | yes |
| HTTPS | Yes | Yes |
Mapbox is freemium, while Correios is paid — Mapbox is the cheaper way in.