ShipNitro
  1. API v1 - deprecated do not use
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 v1 - deprecated do not use

Get Rates

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

Request

Header Params

Body Params application/json

Example
{
	"recipient": {
		"address_line1": "255 Park Center Drive",
		"address_line2": null,
		"state_code": "CA",
		"city": "Patterson",
		"postal_code": "95363",
		"country_code": "US"
	},
	"parcels": [
		{
			"weight": "21.450000",
			"length": "57.95",
			"width": "33.25",
			"height": "57.95",
			"weight_unit": "KG",
			"dimension_unit": "CM",
			"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/get/rates' \
--header 'Authorization: Basic {{apiKey}}' \
--header 'Content-Type: application/json' \
--data-raw '{
	"recipient": {
		"address_line1": "255 Park Center Drive",
		"address_line2": null,
		"state_code": "CA",
		"city": "Patterson",
		"postal_code": "95363",
		"country_code": "US"
	},
	"parcels": [
		{
			"weight": "21.450000",
			"length": "57.95",
			"width": "33.25",
			"height": "57.95",
			"weight_unit": "KG",
			"dimension_unit": "CM",
			"count": 1
		}
	]
}'

Responses

🟢200Success
application/json
Body

Example
{
    "error": false,
    "message": [],
    "rates": {
        "fedex_ground": {
            "carrier_name": "fedex",
            "currency": "USD",
            "service": "fedex_ground",
            "service_code": "FEDEX_GROUND",
            "total_charge": 14.9,
            "meta": {
                "service_name": "FedEx Ground®",
                "rate_provider": "fedex"
            }
        }
    }
}
🟠400Bad Request
🟠400Bad Request: Package too large
Modified at 2025-02-05 17:53:04
Previous
Get Labels
Next
Create Label
Built with