---
title: "Get carrier by code"
method: GET
path: "/carriers/getcarrier"
tags: ["carriers"]
---

# Get carrier by code

`GET /carriers/getcarrier`

Retrieves the shipping carrier account details for the specified carrierCode. Use this method to determine a carrier's account balance.

## Query parameters

- `carrierCode` string, required

## Response `200`

Carrier retrieved successfully

- object
  - `name` string
  - `code` string
  - `accountNumber` string
  - `requiresFundedAccount` boolean
  - `balance` number
  - `nickname` string, nullable
  - `shippingProviderId` integer
  - `primary` boolean

## Other responses

- `400` — Bad Request - The request could not be understood or was missing required parameters
- `401` — Unauthorized - Authentication credentials are missing or invalid
- `404` — Not Found - The specified resource was not found
- `500` — Internal Server Error - An error occurred on the server

---

[API](https://skmtc.net/shipstation/apis/shipstation-v1-api-legacy.md) · [All operations](https://skmtc.net/shipstation/apis/shipstation-v1-api-legacy/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/shipstation/shipstation-v1-api-legacy/revisions/c71c20d26559/schema)
