---
updatedAt: 2026-09-04T12:35:14.000Z
agentTools:
  projectIndex: https://docs.shipscience.com/llms.txt
---

# List

Returns a paginated list of shipments parsed from carrier invoices for the
authenticated account. Includes delivery metrics, weights, dimensions,
exception flags (`is_late`, `had_exception`, etc.), and the full surcharge
breakdown per shipment.

Results are ordered by `invoice_date` ascending (ties broken by internal
insertion order), so pages are stable when paginating through a fixed
date window.


# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Shipscience API",
    "version": "v1",
    "description": "ShipScience's REST API for partners and customers.\n\n## Authentication\n\nMost endpoints require a bearer JWT in the `Authorization` header. Tokens\nare issued by the ShipScience login flow and are valid for 4 hours.\nClients are responsible for refreshing tokens before expiry. The\n`/api/v1/tokens` endpoint is an exception — it authenticates with the\n`api-key` header rather than a bearer JWT, since its purpose is to\nissue the JWT itself.\n\n## Partner endpoints\n\nThe **Sub Accounts** section is only available to accounts explicitly\nenabled as partners. If you receive `403 Forbidden`, contact\n**support@shipscience.com** to request access.\n"
  },
  "tags": [
    {
      "name": "Shipments",
      "description": "Read-only access to shipments parsed from carrier invoices. Includes\ndelivery metrics, weights, dimensions, exception flags (late, damaged, lost),\nand surcharge breakdowns.\n"
    }
  ],
  "paths": {
    "/api/v1/shipments": {
      "get": {
        "summary": "List",
        "tags": [
          "Shipments"
        ],
        "description": "Returns a paginated list of shipments parsed from carrier invoices for the\nauthenticated account. Includes delivery metrics, weights, dimensions,\nexception flags (`is_late`, `had_exception`, etc.), and the full surcharge\nbreakdown per shipment.\n\nResults are ordered by `invoice_date` ascending (ties broken by internal\ninsertion order), so pages are stable when paginating through a fixed\ndate window.\n",
        "security": [
          {
            "bearer_auth": []
          }
        ],
        "parameters": [
          {
            "name": "invoice_date_from",
            "in": "query",
            "description": "Date in ISO 8601 format. If blank, defaults to 120 days in the past",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "invoice_date_to",
            "in": "query",
            "description": "Date in ISO 8601 format",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "reference_number",
            "in": "query",
            "description": "Reference number to search for shipments",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "Specifies the page number",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "description": "The number of items per page (30 by default, 100 max)",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "default pagination uses 30 per page",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/shipments"
                }
              }
            }
          },
          "400": {
            "description": "bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            }
          },
          "401": {
            "description": "unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "shipment": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "tracking_number": {
            "type": "string",
            "example": "1Z999AA10123456784"
          },
          "carrier": {
            "type": "string",
            "example": "UPS"
          },
          "total_amount": {
            "type": "string"
          },
          "transportation_amount": {
            "type": "string"
          },
          "surcharge_amount": {
            "type": "string"
          },
          "incentive_amount": {
            "type": "string"
          },
          "service": {
            "type": "string",
            "example": "Ground"
          },
          "shipped_datetime": {
            "type": "string"
          },
          "invoice_date": {
            "type": "string"
          },
          "invoice_number": {
            "type": "string",
            "example": "0000123456"
          },
          "delivery_datetime": {
            "type": "string"
          },
          "weight": {
            "type": "number"
          },
          "zone": {
            "type": "integer",
            "nullable": true
          },
          "expected_delivery_datetime": {
            "type": "string",
            "nullable": true
          },
          "refund_requested_datetime": {
            "type": "string",
            "nullable": true
          },
          "is_delivered": {
            "type": "boolean"
          },
          "is_late": {
            "type": "boolean"
          },
          "account_number": {
            "type": "string",
            "example": "A1B2C3"
          },
          "billed_weight": {
            "type": "number"
          },
          "length": {
            "type": "number"
          },
          "width": {
            "type": "number"
          },
          "height": {
            "type": "number"
          },
          "has_address_correction": {
            "type": "boolean"
          },
          "has_residential_correction": {
            "type": "boolean"
          },
          "has_oversize_charge": {
            "type": "boolean"
          },
          "had_handling_charge_via_size": {
            "type": "boolean"
          },
          "had_exception": {
            "type": "boolean"
          },
          "is_minimum_billable_amount": {
            "type": "boolean"
          },
          "minimum_billable_amount": {
            "type": "string"
          },
          "surcharges": {
            "type": "array",
            "items": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/surcharge"
                }
              ]
            }
          },
          "additional_data": {
            "type": "object",
            "properties": {
              "meter_number": {
                "type": "string"
              },
              "tendered_date": {
                "type": "string"
              }
            }
          },
          "sender_name": {
            "type": "string",
            "nullable": true
          },
          "sender_company": {
            "type": "string",
            "nullable": true
          },
          "sender_address_line_1": {
            "type": "string",
            "nullable": true
          },
          "sender_address_line_2": {
            "type": "string",
            "nullable": true
          },
          "sender_city": {
            "type": "string",
            "nullable": true
          },
          "sender_state": {
            "type": "string",
            "nullable": true
          },
          "sender_zip_code": {
            "type": "string",
            "nullable": true
          },
          "sender_country": {
            "type": "string",
            "nullable": true
          },
          "recipient_name": {
            "type": "string",
            "nullable": true
          },
          "recipient_company": {
            "type": "string",
            "nullable": true
          },
          "recipient_address_line_1": {
            "type": "string",
            "nullable": true
          },
          "recipient_address_line_2": {
            "type": "string",
            "nullable": true
          },
          "recipient_city": {
            "type": "string",
            "nullable": true
          },
          "recipient_state": {
            "type": "string",
            "nullable": true
          },
          "recipient_zip_code": {
            "type": "string",
            "nullable": true
          },
          "recipient_country": {
            "type": "string",
            "nullable": true
          },
          "customer_reference_number": {
            "type": "string",
            "nullable": true
          },
          "package_reference_number_1": {
            "type": "string",
            "nullable": true
          },
          "package_reference_number_2": {
            "type": "string",
            "nullable": true
          },
          "package_reference_number_3": {
            "type": "string",
            "nullable": true
          },
          "package_reference_number_4": {
            "type": "string",
            "nullable": true
          },
          "package_reference_number_5": {
            "type": "string",
            "nullable": true
          },
          "shipment_reference_number_1": {
            "type": "string",
            "nullable": true
          },
          "shipment_reference_number_2": {
            "type": "string",
            "nullable": true
          },
          "shipment_reference_number_3": {
            "type": "string",
            "nullable": true
          },
          "purchase_order_number": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "shipments": {
        "type": "object",
        "properties": {
          "current_page": {
            "type": "integer"
          },
          "per_page": {
            "type": "integer"
          },
          "total_pages": {
            "type": "integer"
          },
          "total_elements": {
            "type": "integer"
          },
          "data": {
            "type": "array",
            "items": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/shipment"
                }
              ]
            }
          }
        }
      },
      "error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "message": {
                "type": "string"
              }
            }
          }
        }
      },
      "surcharge": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "amount": {
            "type": "number"
          },
          "description": {
            "type": "string"
          }
        }
      }
    },
    "securitySchemes": {
      "bearer_auth": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "servers": [
    {
      "url": "https://app.shipscience.com",
      "variables": {
        "defaultHost": {
          "default": "app.shipscience.com"
        }
      }
    }
  ]
}
```