Before you can start using the Shippo API, you'll need to register for a free Shippo account and get your API Live token from the API page of the dashboard.

Sign up now to get your token

To create production shipping labels and make live requests, you must authenticate your requests using the Live Token.

curl  \
    -H "Authorization: ShippoToken <PRIVATE_TOKEN>" \
    -H "Content-Type: application/json"  \
    -d '{...}'
require 'shippo'

Shippo::api_token = '<PRIVATE_TOKEN>'
import shippo

shippo.api_key = "<PRIVATE_TOKEN>"
var shippo = require('shippo')('<PRIVATE_TOKEN>');
package com.shippo;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.shippo.exception.ShippoException;
import com.shippo.model.Rate;
import com.shippo.model.Shipment;
import com.shippo.model.Transaction;

public class Example {

	public static void main(String[] args) throws ShippoException {

using System;
using System.Collections;
using System.Collections.Generic;
using Shippo;
using Newtonsoft.Json;

namespace ShippoExample {
    class Example {
        static void Main (string [] args)
            APIResource resource = new APIResource ("<PRIVATE_TOKEN>");

Client Libraries

To make your integration process go faster, we've created client libraries in Ruby, PHP, Python, NodeJS, Java and C#. We recommend installing them first before you start with Shippo.

Learn more about client libraries here ▸

Test Mode

You can try out the Shippo API and get test labels for free by using your API Test Token instead of the Live Token.

Learn more about test mode ▸