Search carrier branches (POST form)

The same branch search as the GET form, with the filters in the body — and with packages, which narrows results to branches that can take your parcel.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Carrier name.

string
required

Two-digit country code.

Body Params
string

Zipcode value to filter.

string

Branch type filter.

string

Locality filter.

string

State filter.

number
enum
Defaults to 1

Available branches by location (origin/destination)

IDLocation
1Origin
2Destination
3Origin and Destination
Allowed:
float

Latitude for geolocation search.

float

Longitude for geolocation search.

string

Full address filter.

boolean

If true, returns all branches.

packages
array of objects

The parcels you intend to drop off. Only accepted on the POST form. Carriers that limit what a service point can take use it to leave out the branches that cannot physically receive your package.

packages
number

Maximum number of branches to return. Omit for the service default.

integer
0 to 9

Narrow the search to branches that handle this shipment type. Read the ids from Get Shipment Types.

integer
≥ 1

Carrier id from GET /carrier (id). When that carrier has the return_branches_by_address action and the id belongs to the {carrier} in the path, the search asks the carrier in real time instead of reading the Envia catalog. See Live carrier lookup.

string

Carrier service name. Required by live carrier lookup.

string

Carrier service name, such as express. Brazil only (country_code=BR): when that service offers the pegaki_pontos additional service, Pegaki pickup points are added to the carrier's branches, with source set to external. With coordinates they are ranked by distance, and locality narrows them to one city. They are drop-off only, so they appear with type 1 (the default). Ignored for any other country or service. If the Pegaki lookup fails, you get the carrier's branches alone.

Responses

429

Rate limit exceeded. Every response carries x-rate-limit-limit, x-rate-limit-remaining and x-rate-limit-reset; read them rather than assuming a fixed number.

Verified headers: x-rate-limit-limit: 300, x-rate-limit-remaining, and x-rate-limit-reset as a Unix timestamp. They are on every response, not only on a 429, so you can slow down before being refused.

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json