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
  • 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
Content-Type
string 
required
Example:
application/json
Authorization
array[string]
optional
To get an api key, please ask assistance to the site admin.
Example:
["Basic {{apiKey}}"]
Body Params application/json
recipient
object 
required
address_line1
string 
required
address_line2
string  | null 
optional
city
string 
required
state_code
string 
required
postal_code
string 
required
country_code
string 
required
<= 2 characters
person_name
string 
required
phone_number
string 
required
parcels
array [object {7}] 
required
length
number 
required
width
number 
required
height
number 
required
dimension_unit
string 
required
weight
number 
required
weight_unit
string 
required
count
integer 
optional
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
error
boolean 
required
message
array[string]
required
rates
object 
required
fedex_home_delivery
object 
optional
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
Previous
Get Labels
Next
Create Label
Built with