---
title: "Get Branches"
method: GET
path: "/branches/{carrier}/{country_code}"
tags: ["Branches"]
---

# Get Branches

`GET /branches/{carrier}/{country_code}`

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.

## Path parameters

- `carrier` string, required
- `country_code` string, required

## Query parameters

- `zipcode` string
- `branchType` 1 | 2 | 3 | 4
- `locality` string
- `state` string
- `type` 1 | 2 | 3
- `latitude` number, float
- `longitude` number, float
- `address` string
- `allBranch` boolean

## Response `200`

Successful response

- object
  - `data` object[]
    - `branch_id` string
    - `branch_code` string
    - `branch_type` integer
    - `reference` string
    - `address` object
      - `city` string
      - `state` string
      - `number` string
      - `street` string
      - `country` string
      - `delivery` boolean
      - `latitude` string
      - `locality` string
      - `admission` boolean
      - `longitude` string
      - `postalCode` string
      - `address` string

---

[API](https://skmtc.net/envia/apis/envia-shipping-api-complete-documentation.md) · [All operations](https://skmtc.net/envia/apis/envia-shipping-api-complete-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/envia/envia-shipping-api-complete-documentation/revisions/39f9208959d6/schema)
