ShipNitro
  1. API v2
ShipNitro
  • Authentication
  • API v2
    • Getting Shipment Rates
      POST
    • Retrieve Shipment Details
      GET
    • Creating Shipment Labels
      POST
    • Get Current Credit
      GET
    • Getting Tracking number status
      POST
    • Address Validation
      POST
  • API v1 - deprecated do not use
    • Get Labels
      POST
    • Get Rates
      POST
    • Create Label
      POST
    • Get Current Credit
      GET
  • Callbacks
    • v2
      • Customer Create Label Callback
    • v1 - deprecated do not use
      • Callback Part 1
  1. API v2

Getting Shipment Rates

POST
api/v2/rates
To get rate rate please provide the following details

Request

Header Params

Body Params application/json

Example
{
  "recipient": {
    "addressLine1": "725 CROSSWAY RD",
    "postalCode": "94010",
    "city": "BURLINGAME",
    "stateCode": "CA",
    "countryCode": "US"
  },
  "parcels": [
    {
      "length": 19,
      "width": 13,
      "height": 2,
      "dimensionUnit": "IN",
      "weight":20,
      "weightUnit": "LB",
      "count": 1
    }
  ]
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://app.shipnitro.com/api/v2/rates' \
--header 'Authorization: Basic {{apiKey}}' \
--header 'Content-Type: application/json' \
--data-raw '{
  "recipient": {
    "addressLine1": "725 CROSSWAY RD",
    "postalCode": "94010",
    "city": "BURLINGAME",
    "stateCode": "CA",
    "countryCode": "US"
  },
  "parcels": [
    {
      "length": 19,
      "width": 13,
      "height": 2,
      "dimensionUnit": "IN",
      "weight":20,
      "weightUnit": "LB",
      "count": 1
    }
  ]
}'

Responses

🟢200Success
application/json
Body

Examples
{
    "rates": [
        {
            "service": "fedex_ground",
            "serviceCode": "FEDEX_GROUND",
            "currency": "USD",
            "totalCharge": 14.9,
            "meta": {
                "serviceName": "FedEx Ground®",
                "rateProvider": "fedex"
            }
        }
    ]
}
🟠400Bad Request
🟠400Bad Request: Package too large
Modified at 2025-07-22 16:38:01
Previous
Authentication
Next
Retrieve Shipment Details
Built with