curl https://api.shipengine.com/v1/labels \
  -X POST \
  -H 'Content-Type: application/json' \
  -H 'api-key: ElJkhJuQIRoFq/kDEblco4LpZqRCdYNIoAVG7SywSXw' \
  -d '{
  "shipment": {
    "service_code": "usps_first_class_mail",
    "ship_to": {
      "name": "Mickey and Minnie Mouse",
      "address_line1": "500 South Buena Vista Street",
      "city_locality": "Burbank",
      "state_province": "CA",
      "postal_code": "91521",
      "country_code": "US",
      "address_residential_indicator": "No"
    },
    "ship_from": {
      "name": "Shippy",
      "phone": "512-856-5379",
      "company_name": "ShipEngine",
      "address_line1": "4009 Marathon Blvd",
      "city_locality": "Austin",
      "state_province": "TX",
      "postal_code": "78756",
      "country_code": "US",
      "address_residential_indicator": "No"
    },
    "packages": [
      {
        "weight": {
          "value": 1.0,
          "unit": "ounce"
        }
      }
    ]
  },
  "test_label": true
}'

 

POST /v1/labels HTTP/1.1
Host: api.shipengine.com
API-Key: ElJkhJuQIRoFq/kDEblco4LpZqRCdYNIoAVG7SywSXw
Content-Type: application/json

{
  "shipment": {
    "service_code": "usps_first_class_mail",
    "ship_to": {
      "name": "Mickey and Minnie Mouse",
      "address_line1": "500 South Buena Vista Street",
      "city_locality": "Burbank",
      "state_province": "CA",
      "postal_code": "91521",
      "country_code": "US",
      "address_residential_indicator": "No"
    },
    "ship_from": {
      "name": "Shippy",
      "phone": "512-856-5379",
      "company_name": "ShipEngine",
      "address_line1": "4009 Marathon Blvd",
      "city_locality": "Austin",
      "state_province": "TX",
      "postal_code": "78756",
      "country_code": "US",
      "address_residential_indicator": "No"
    },
    "packages": [{
      "weight": {
        "value": 1.0,
        "unit": "ounce"
      }
    }]
  },	
  "test_label": true
}

 

curl https://api.shipengine.com/v1/rates \
  -X POST \
  -H 'Content-Type: application/json' \
  -H 'api-key: ElJkhJuQIRoFq/kDEblco4LpZqRCdYNIoAVG7SywSXw' \
  -d '{
  "shipment": {
    "service_code": "usps_first_class_mail",
    "ship_to": {
      "name": "Mickey and Minnie Mouse",
      "address_line1": "500 South Buena Vista Street",
      "city_locality": "Burbank",
      "state_province": "CA",
      "postal_code": "91521",
      "country_code": "US",
      "address_residential_indicator": "No"
    },
    "ship_from": {
      "name": "Shippy",
      "phone": "512-856-5379",
      "company_name": "ShipEngine",
      "address_line1": "4009 Marathon Blvd",
      "city_locality": "Austin",
      "state_province": "TX",
      "postal_code": "78756",
      "country_code": "US",
      "address_residential_indicator": "No"
    },
    "packages": [
      {
        "weight": {
          "value": 1.0,
          "unit": "ounce"
        }
      }
    ]
  },
  "rate_options": {
    "carrier_ids": [
      "se-123890"
    ]
  }
}'
POST /v1/rates HTTP/1.1
Host: api.shipengine.com
API-Key: ElJkhJuQIRoFq/kDEblco4LpZqRCdYNIoAVG7SywSXw
Content-Type: application/json

{
  "shipment": {
    "service_code": "usps_first_class_mail",
    "ship_to": {
      "name": "Mickey and Minnie Mouse",
      "address_line1": "500 South Buena Vista Street",
      "city_locality": "Burbank",
      "state_province": "CA",
      "postal_code": "91521",
      "country_code": "US",
      "address_residential_indicator": "No"
    },
    "ship_from": {
      "name": "Shippy",
      "phone": "512-856-5379",
      "company_name": "ShipEngine",
      "address_line1": "4009 Marathon Blvd",
      "city_locality": "Austin",
      "state_province": "TX",
      "postal_code": "78756",
      "country_code": "US",
      "address_residential_indicator": "No"
    },
    "packages": [{
      "weight": {
        "value": 1.0,
        "unit": "ounce"
      }
    }]
  },
  "rate_options": {
    "carrier_ids": [
      "se-123890"
    ]
  }
}

 

curl 'https://api.shipengine.com/v1/tracking?carrier_code=stamps_com&tracking_number=9400111899564178164387' \
  -H 'api-key: ElJkhJuQIRoFq/kDEblco4LpZqRCdYNIoAVG7SywSXw'
GET /v1/tracking?carrier_code=stamps_com&tracking_number=9400111899564178164387 HTTP/1.1
Host: api.shipengine.com
API-Key: ElJkhJuQIRoFq/kDEblco4LpZqRCdYNIoAVG7SywSXw
Cache-Control: no-cache

 

Use Our Flexible APIs to Solve Shipping

ShipEngine APIs help businesses access deeply discounted rates across carriers, validate addresses, process and track shipments, and manage returns. Tap into our thorough documentation for integration and ongoing support.

Our Products View Documentation

Remarkably Simple Integrations

Quickly integrate with hundreds of carriers and marketplaces around the world.

See Carrier Integrations See Marketplace Integrations

Why ShipEngine is Your Best Choice

Wouldn’t it be nice to focus your time, energy, and resources on what matters most? ShipEngine solves logistics problems so that you can do just that.

One integration, many solutions

We maintain an extensive network of carriers and order sources so that you don’t have to.

20+ years of shipping expertise

ShipEngine is part of a powerful network that is backed by a $5 billion publicly traded company and that includes decades of shipping experience.

You don’t have to be a shipping expert

Sync your integrations quickly and easily, and put your shipping operations on cruise control — for good.

Solve at scale

You’ll never outgrow ShipEngine. Our APIs power millions of shipments each day, and they can help you scale to meet growing demand.

Simple, straightforward pricing

You get easy-to-understand pricing with no hidden fees and no surprises.

We’re always here when you need us

Contact our team 24/7 to get started quickly and to stay on track after integration.

Quote Bg