portoflosangeles.org APIportoflosangeles.org ↗
Access Port of Los Angeles container statistics, tonnage data, terminal details, news releases, and facts via 7 structured API endpoints.
No input parameters required.
curl -X GET 'https://api.parse.bot/scraper/d93cc82b-cac1-4410-9aca-573b8122f950/get_container_statistics' \ -H 'X-API-Key: $PARSE_API_KEY'
Retrieves monthly and annual container throughput statistics in TEUs (Twenty-Foot Equivalent Units) from the Port of Los Angeles statistics page. Returns data organized by table name.
No input parameters required.
{
"type": "object",
"fields": {
"Annual Container Statistics": "array of objects with decade-range columns containing year and TEU counts",
"Monthly Container Statistics": "array of objects with month category, year columns, change, and percent change"
},
"sample": {
"data": {
"Annual Container Statistics": [
{
"1981-1989": "2000",
"1990-1999": "7,831,902",
"2000-2009": "2010",
"2010-2019": "9,213,396",
"2020-2025": "2020"
}
],
"Monthly Container Statistics": [
{
"2025": "385,530.50",
"2026": "380,732.50",
"March": "Loaded Imports",
"Change": "(4,798.00)",
"% Change": "-1.24%"
}
]
},
"status": "success"
}
}About the portoflosangeles.org API
The Port of Los Angeles API exposes 7 endpoints covering container throughput statistics, historical tonnage data, terminal listings, and news releases from portoflosangeles.org. The get_container_statistics endpoint returns monthly and annual TEU figures with year-over-year change and percent change columns, while get_terminal_details delivers per-terminal berth designations, equipment features, and contact information for any terminal slug returned by get_terminal_list.
Container and Tonnage Statistics
The get_container_statistics endpoint returns two tables: annual TEU counts organized in decade-range columns, and monthly throughput figures that include a month category column, per-year values, and both raw change and percent change fields. The get_tonnage_statistics endpoint covers cargo back to 1970 with columns for General Cargo, Liquid Bulk, Dry Bulk, and Total in millions of revenue tons, plus a unit conversion reference table with To Convert, Into, and Multiply fields.
Terminal Directory
Use get_terminal_list to retrieve every terminal at the port with its name, type (e.g. container, automobile, breakbulk, dry-bulk, liquid), slug, and URL. Pass the slug and type parameters to get_terminal_details to get berth designations, a features array describing on-terminal equipment and capabilities, and a contact_info string. Terminal types span container, automobile, breakbulk, dry-bulk, and liquid categories.
News, Facts, and Social Feed
get_latest_news returns an array of news release objects with title, url, and date fields, sorted newest to oldest. get_facts_and_figures organizes port-level data into six named sections — Key Statistics, Trade Volume, Infrastructure, Finances, Market Share, and Economic Impacts — each as an array of strings. get_social_feed pulls recent posts aggregated via Juicer from LinkedIn and other platforms, with fields including message, unformatted_message, external_created_at, poster_name, source, image, and full_url.
- Track monthly TEU throughput trends using the Monthly Container Statistics table from
get_container_statistics - Compare historical cargo mix shifts across General Cargo, Liquid Bulk, and Dry Bulk using
get_tonnage_statisticsdata back to 1970 - Build a terminal directory app by combining
get_terminal_listslugs withget_terminal_detailsberth and equipment data - Monitor port news releases for regulatory, infrastructure, or trade announcements via
get_latest_news - Populate a supply-chain dashboard with port capacity and economic impact figures from
get_facts_and_figures - Aggregate Port of Los Angeles social media activity from LinkedIn and other platforms using
get_social_feed - Analyze U.S. container market share context using the Market Share section returned by
get_facts_and_figures
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does the Port of Los Angeles offer an official developer API?+
What does `get_terminal_details` actually return, and how do I know which inputs to use?+
slug and type inputs come directly from the slug and type fields in each object returned by get_terminal_list — call that endpoint first to discover valid values.