Pricing overview

ViaCep operates on a completely free-of-charge model, offering its API for Brazilian postal code (CEP) lookups and address validation without any associated costs or subscription fees. This approach distinguishes it from many commercial geocoding and address validation services that typically employ transaction-based or tiered subscription pricing. The absence of a pricing page separate from its documentation underscores its commitment to a free service model, as detailed in the ViaCep API documentation.

Developers and businesses can integrate the ViaCep API into their applications for purposes such as e-commerce address auto-completion, logistics planning, or internal data validation without concerns about usage limits or escalating costs. The service does not require API keys or registration for standard use, further simplifying adoption for projects focused on the Brazilian market. This structure provides a predictable and zero-cost solution for address-related functionalities.

Unlike services that might offer a free tier with limitations on requests or features before requiring an upgrade, ViaCep maintains its core functionality as entirely gratis. This makes it particularly attractive for startups, small to medium-sized businesses, and individual developers who need reliable address data without budget constraints.

Plans and tiers

ViaCep does not offer different plans or tiers. The service provides a single, unified API accessible to all users without differentiation based on usage volume, features, or support levels. There are no premium plans, enterprise tiers, or varying service level agreements (SLAs) to consider. All users access the same API endpoints and receive the same service quality, as outlined in the ViaCep API documentation.

This streamlined approach means that developers do not need to navigate complex pricing structures or choose between different service packages. The API's core function is to provide address data based on Brazilian CEPs, and this functionality is uniformly available. The absence of tiers simplifies integration decisions, as there is no need to forecast usage or budget for potential plan upgrades.

The table below summarizes the single 'plan' available for ViaCep, highlighting its key characteristics:

Plan Name Price Key Limits Best For
Standard (Only Plan) Free Unlimited requests, no API key required All applications requiring Brazilian CEP lookup and address validation

This model is distinct from many commercial API providers, which often structure their offerings into multiple tiers to cater to different user segments, from individual developers to large enterprises. For instance, some platforms might offer a basic free tier, a mid-range professional tier with higher limits and more features, and a custom enterprise tier with dedicated support and advanced capabilities. ViaCep's model eliminates this complexity by providing a consistent, free service for all users.

Free tier and limits

ViaCep's entire service functions as a permanent free tier with unlimited requests. There are no explicit usage limits, rate limits, or feature restrictions imposed on API calls. Users can make as many requests as needed for their applications without incurring costs or facing hard caps on their usage. This 'unlimited free requests' model is a fundamental aspect of the ViaCep service, as stated in its official documentation.

The API does not require registration, an account, or an API key to access its services. This significantly lowers the barrier to entry for developers, allowing for quick integration and testing without administrative overhead. This contrasts with many other API providers, where even free tiers often require registration and may have strict rate limits or daily quotas, such as the Google Maps Platform's free tier, which offers a certain amount of free usage before billing commences.

While ViaCep does not publish specific rate limits, typical best practices for API consumption, such as implementing exponential backoff for retries and avoiding excessively rapid bursts of requests, are generally advisable to ensure reliable service and prevent potential temporary IP blocking by any web service. However, these are operational considerations rather than explicit billing or quota limits.

The unlimited nature of ViaCep's free tier makes it a robust solution for a wide range of applications, from small personal projects to larger commercial systems that require frequent access to Brazilian address data. It eliminates the need for usage monitoring, cost forecasting, or budget allocation typically associated with third-party API dependencies.

Real-world cost examples

Given ViaCep's completely free pricing model, all real-world cost examples uniformly result in zero expenditure. There are no scenarios where using ViaCep for its intended purpose of Brazilian CEP lookup and address validation would incur a charge. This predictability is a core benefit for developers and businesses. Below are several illustrative scenarios:

  1. E-commerce Checkout Address Auto-completion: An online store operating in Brazil integrates ViaCep to auto-complete customer addresses based on their entered CEP. If the store processes 10,000 orders per day, and each order involves 2-3 ViaCep API calls (e.g., initial lookup, validation), this would amount to 20,000-30,000 requests daily, or approximately 600,000-900,000 requests per month. With ViaCep, the cost for this high volume of lookups remains $0.

  2. Logistics and Delivery Route Optimization: A logistics company uses ViaCep to validate delivery addresses and ensure accuracy for its fleet. If the company makes 5,000 address validations per hour during peak operational times, translating to over 100,000 requests per day, the monthly cost for these essential operations would be $0.

  3. Customer Relationship Management (CRM) Data Enrichment: A business wants to clean and enrich its customer database with accurate Brazilian address information. If a one-time batch process involves looking up 500,000 existing customer CEPs, the total cost for processing this large dataset through ViaCep would be $0.

  4. Mobile Application Development: A developer creates a mobile app that helps users find nearby services based on their current location's CEP. If the app gains popularity and generates 50,000 daily CEP lookups from various users, the developer's API costs for ViaCep would consistently be $0.

  5. Educational or Research Project: A student or researcher is building a prototype that requires Brazilian address data for analysis. Even if their project involves making thousands of requests for data collection or testing, the financial outlay for using the ViaCep API would be $0.

These examples highlight that regardless of the scale or intensity of use, ViaCep's pricing model ensures that the API remains a cost-free resource for Brazilian address data. This eliminates a significant financial consideration that typically accompanies the integration of third-party web services.

How the pricing compares

ViaCep's entirely free and unlimited API stands in stark contrast to the pricing models of most commercial geocoding and address validation services. While many alternatives offer broader global coverage or more advanced features, they generally come with associated costs, often based on usage volume. This difference is a primary factor when choosing an address API, especially for projects focused exclusively on Brazil.

  • Google Maps Platform: The Google Maps Platform offers various APIs, including the Geocoding API for converting addresses to coordinates and vice versa. It uses a pay-as-you-go model with a free tier that includes a monthly credit. Beyond this credit, costs accrue per request, with pricing varying by the specific API used (e.g., Geocoding API requests are priced per 1,000 calls). For high-volume usage, Google Maps Platform can become a significant operational expense, whereas ViaCep remains free.

  • LocationIQ: LocationIQ provides geocoding and reverse geocoding services globally. It offers a free tier with a limited number of requests per day (e.g., 5,000 requests per day for non-commercial use). Commercial usage requires a paid subscription, with pricing based on monthly request volumes. While LocationIQ offers global coverage, its free tier is capped, and commercial use requires payment, unlike ViaCep's unlimited free access.

  • OpenCage Geocoder: OpenCage Geocoder also offers global geocoding services with a pricing model based on daily request limits. It features a free trial/developer plan with a daily request limit (e.g., 2,500 requests per day). Exceeding these limits or requiring higher volumes necessitates a paid subscription. Similar to LocationIQ, OpenCage's free offering is limited, making ViaCep a more cost-effective choice for high-volume, Brazil-specific use cases.

  • Other Address Validation Services: Many specialized address validation services, particularly those offering global coverage and advanced features like postal address standardization, deliverability scores, or real-time verification against official postal databases, operate on subscription models or per-transaction fees. Examples include services from Stripe for address verification during payments or various dedicated address validation APIs. These services, while robust, are designed for broader use cases and come with commercial pricing. ViaCep, by focusing solely on Brazilian CEPs and offering its service for free, carves out a niche as a highly specialized, cost-free solution.

In summary, ViaCep's pricing model is unique in its complete lack of cost. While alternatives provide broader geographical reach and often more complex features, they do so at a price point that scales with usage. For any application primarily concerned with Brazilian postal codes and address validation, ViaCep presents a compelling economic advantage by eliminating API-related expenses entirely.