Skip to main content

Endpoint

Authentication

Overview

Resolve any Brazilian postal code (CEP) to a full address instantly. Bunny’s CEP API returns street name, neighborhood, city, and state for any valid 8-digit CEP, with no formatting required.

Use cases

  • Auto-fill address forms on checkout
  • Validate shipping destinations
  • Enrich customer records with location data
  • Build delivery area maps

Details

Strip hyphens before passing the CEP. Accepts 01310100 or 01310-100. Both work. Returns null fields for CEPs that cover an entire municipality with no specific street.

Path parameters

Response

200 OK

Example

401 Unauthorized

402 Payment Required

404 Not Found

CEP not found.

422 Unprocessable Entity

Invalid CEP format.

429 Too Many Requests

cURL example