---
title: "Port Container Volumes"
method: GET
path: "/port-volumes"
tags: ["Transportation"]
---

# Port Container Volumes

`GET /port-volumes`

## Request

- Base URL: `https://api.dataporium.io`
- URL: `https://api.dataporium.io/port-volumes`
- Auth: API key in query parameter `apikey`

Monthly container volumes of the seaports of Los Angeles (since 1995) and Long Beach (since 1987) in TEUs, from official public data: loaded imports, loaded exports, empty containers and totals, with the change from a year earlier and 12-month totals. /port-volumes ranks the ports for a period, /port-volumes/ports lists them and /port-volumes/{port} gives one port (USLAX, USLGB, a page name such as long-beach, or all for the ports combined) by month or year.

/port-volumes answers {period, total, rows, combined, as_of, about}; /port-volumes/{port} answers {port, latest, last_12_months, frequency, total, rows, as_of, about}. Until the first load is finished they answer with note "Data is being prepared".

## Query parameters

- `period` string
- `frequency` string
- `date_from` string
- `limit` integer

## Response `200`

Successful response (JSON).

- object

## Other responses

- `401`: No API key in the request.
- `403`: The API key is not valid or has expired.

---

[API](https://skmtc.dev/dataporium/apis/dataporium-data-api.md) · [All operations](https://skmtc.dev/dataporium/apis/dataporium-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dataporium/apis/dataporium-data-api/revisions/8bc593179dc8?raw)
