Envia.com Branches API
Look up carrier branches by country and filters
Look up carrier branches by country and filters
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/envia:envia-branches-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Envia Queries Branches API
version: v2.3.1
description: Read-only service for lookups, lists, and account utilities. This API provides access to countries, states, cities, carriers, services, and address structure information needed for shipping operations. Use this API to get the required information for building shipping forms and validating addresses. The Queries API is designed for developers who need read-only access to reference data such as supported carriers, available services, shipment history, and user account settings. It serves as the lookup layer of the Envia platform, enabling applications to populate dropdowns, validate inputs, and retrieve shipment details without modifying any data.
contact:
name: Envia API Support
url: https://docs.envia.com/discuss
license:
name: Proprietary
url: https://www.envia.com/terminos-y-condiciones
termsOfService: https://www.envia.com/terminos-y-condiciones
servers:
- url: https://queries.test.envia.com/
description: Sandbox/Test
- url: https://queries.envia.com/
description: Production
security:
- bearerAuth: []
tags:
- name: Branches
description: Look up carrier branches by country and filters
paths:
/branches/estafeta/MX:
get:
tags:
- Branches
summary: Get Estafeta Branches
description: Get the available branches list specifically for Estafeta México
operationId: estafeta-branches-mexico
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
description: Indicates if the request was successful
data:
type: array
description: List of Estafeta branches
/branches/{carrier}/{country_code}:
get:
tags:
- Branches
summary: Get Branches
description: 'Query carrier branches for a given **carrier** and **country**. Filters allow searching by zipcode, locality, state, geolocation, etc. `type` is the search type: 1, 2, or 3.'
operationId: carrier-branches
parameters:
- name: carrier
in: path
required: true
schema:
type: string
example: estafeta
description: Carrier name.
- name: country_code
in: path
required: true
schema:
type: string
example: MX
description: Two-digit country code.
- name: zipcode
in: query
required: false
schema:
type: string
example: '06100'
description: Zipcode value to filter.
- name: branchType
in: query
required: false
schema:
type: number
example: 1
enum:
- 1
- 2
- 3
- 4
description: 'Branch type filter (By default returns all branch types).
| ID | Branch type |
| :-----| :--------:|
| 1 | Post Office |
| 2 | Warehouse |
| 3 | Third Party |
| 4 | Lockers |'
- name: locality
in: query
required: false
schema:
type: string
example: Cuauhtemoc
description: Locality filter.
- name: state
in: query
required: false
schema:
type: string
example: Ciudad de Mexico
description: State filter.
- name: type
in: query
required: false
schema:
type: number
enum:
- 1
- 2
- 3
example: 1
default: '1'
description: 'Available branches by location (origin/destination)
| ID | Location |
| :-----| :--------:|
| 1 | Origin |
| 2 | Destination |
| 3 | Origin and Destination |'
- name: latitude
in: query
required: false
schema:
type: number
format: float
example: 48.833841
description: Latitude for geolocation search.
- name: longitude
in: query
required: false
schema:
type: number
format: float
example: 2.316922
description: Longitude for geolocation search.
- name: address
in: query
required: false
schema:
type: string
example: Av. Insurgentes Sur 2357, CDMX
description: Full address filter.
- name: allBranch
in: query
required: false
schema:
type: boolean
example: false
description: If true, returns all branches.
- name: shipmentType
in: query
required: false
schema:
type: integer
minimum: 0
maximum: 9
example: 1
description: Filters by `branch_rules.shipmentType` (allowed values `0` to `9`).
- name: limitBranches
in: query
required: false
schema:
type: number
example: 10
description: Maximum number of branches returned.
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
properties:
branch_id:
type: string
example: LNT
branch_code:
type: string
example: LNT
branch_type:
type: integer
example: 1
reference:
type: string
example: RMX - DR GALVEZ
address:
type: object
properties:
city:
type: string
example: Alvaro Obregon
state:
type: string
example: CX
number:
type: string
example: '2357'
street:
type: string
example: Av. Insurgentes Sur
country:
type: string
example: MX
delivery:
type: boolean
example: true
latitude:
type: string
example: '19.34265'
locality:
type: string
example: Alvaro Obregon
admission:
type: boolean
example: true
longitude:
type: string
example: '-99.189674'
postalCode:
type: string
example: '01000'
address:
type: string
example: Av. Insurgentes Sur 2357, Alvaro Obregon, 01000, CDMX
examples:
Found:
summary: Branches example
value:
data:
- branch_id: LNT
branch_code: LNT
branch_type: 1
reference: RMX - DR GALVEZ
address:
city: Alvaro Obregon
state: CX
number: '2357'
street: Av. Insurgentes Sur
country: MX
delivery: true
latitude: '19.34265'
locality: Alvaro Obregon
admission: true
longitude: '-99.189674'
postalCode: '01000'
address: Av. Insurgentes Sur 2357, Alvaro Obregon, 01000, CDMX
NotFound:
summary: No branches found
value:
success: false
message: No branches found for the given filters
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
externalDocs:
description: Full Envia API Documentation
url: https://docs.envia.com
x-provenance:
method: searched
source: https://docs.envia.com/reference
harvested: '2026-10-27'
tool: harvest-readme-openapi.py
note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
assembled_from:
- https://docs.envia.com/reference/active-notifications.md
- https://docs.envia.com/reference/additional-services-by-locale.md
- https://docs.envia.com/reference/additional-services.md
- https://docs.envia.com/reference/addresses-by-type.md
- https://docs.envia.com/reference/all-addresses.md
- https://docs.envia.com/reference/all-countries.md
- https://docs.envia.com/reference/all-packages.md
- https://docs.envia.com/reference/all-provinces.md
- https://docs.envia.com/reference/all-webhooks.md
- https://docs.envia.com/reference/available-carriers-by-shipment-type.md
- https://docs.envia.com/reference/available-couriers-detailed.md
- https://docs.envia.com/reference/available-services.md
- https://docs.envia.com/reference/cancel-dce.md
- https://docs.envia.com/reference/carrier-actions-by-carrier.md
- https://docs.envia.com/reference/carrier-branches.md
- https://docs.envia.com/reference/carrier-by-id.md
- https://docs.envia.com/reference/carrier-print-options.md
- https://docs.envia.com/reference/carriers-by-country.md
- https://docs.envia.com/reference/country-address-structure.md
- https://docs.envia.com/reference/country-by-code.md
- https://docs.envia.com/reference/country-locale.md
- https://docs.envia.com/reference/create-ndr-request.md
- https://docs.envia.com/reference/create-package.md
- https://docs.envia.com/reference/create-shop-shipping-rule.md
- https://docs.envia.com/reference/create-user-address.md
- https://docs.envia.com/reference/create-webhook.md
- https://docs.envia.com/reference/deactivate-company-notifications.md
- https://docs.envia.com/reference/default-shop-services.md
- https://docs.envia.com/reference/default-user-address.md
- https://docs.envia.com/reference/default-user-print.md
- https://docs.envia.com/reference/download-labels-bulk.md
- https://docs.envia.com/reference/estafeta-branches-mexico.md
- https://docs.envia.com/reference/generate-dce.md
- https://docs.envia.com/reference/get-orders.md
- https://docs.envia.com/reference/invoice-detail.md
- https://docs.envia.com/reference/ndr-history.md
- https://docs.envia.com/reference/ndr-shipment-actions.md
- https://docs.envia.com/reference/payment-history.md
- https://docs.envia.com/reference/province-by-code.md
- https://docs.envia.com/reference/remove-package.md
- https://docs.envia.com/reference/remove-user-address.md
- https://docs.envia.com/reference/select-shipping-rule-for-order.md
- https://docs.envia.com/reference/serviceable-countries.md
- https://docs.envia.com/reference/services-by-carrier-and-country.md
- https://docs.envia.com/reference/services-by-carrier.md
- https://docs.envia.com/reference/shipment-by-tracking.md
- https://docs.envia.com/reference/shipment-types.md
- https://docs.envia.com/reference/shipments-by-month-year.md
- https://docs.envia.com/reference/shop-by-url.md
- https://docs.envia.com/reference/shop-shipping-rule.md
- https://docs.envia.com/reference/shop-shipping-rules.md
- https://docs.envia.com/reference/state-by-code.md
- https://docs.envia.com/reference/states-by-country.md
- https://docs.envia.com/reference/update-package.md
- https://docs.envia.com/reference/update-shop-shipping-rules.md
- https://docs.envia.com/reference/update-user-address.md
- https://docs.envia.com/reference/update-webhook.md
- https://docs.envia.com/reference/webhook-types.md
merge:
pages: 58
deduped: 57
conflicts_kept_first: 0