{"uid":"cap_0G36fQecpvuOJivREKyBv","slug":"sitecheck-trade-energy-port-congestion-index-cb7745ae","name":"SiteCheck Trade & Energy – Port Congestion Index","description":"Weekly port congestion figures for one port from Portcast's public port page: median waiting time (days), average vessels waiting per day, congestion category and week-on-week change. Free public page data (not the paid API), and only for ports Portcast publishes; the slug is the port name in lowercase, e.g. ako or long-beach.","url":"https://api.tradeenergy-api.workers.dev/api/logistics/port-congestion-index?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["port"],"properties":{"port":{"type":"string","description":"Portcast port slug: lowercase letters and hyphens, e.g. long-beach"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"name":"Long Beach","port":"long-beach","source":"https://www.portcast.io/port-congestion/long-beach","checkedAt":"2026-10-23T09:37:55.117Z","weekCovered":"11 Oct - 17 Oct 2026","medianWaitingTime":{"unit":"days","value":"0.14"},"congestionCategory":{"unit":null,"value":"low"},"longTailCongestion":{"unit":null,"value":"No"},"changeFromPreviousWeek":{"unit":"percent","value":"17 %"},"averageVesselsWaitingPerDay":{"unit":null,"value":"2"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CUTM_ipTv_KnVQjtPFUdF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns weekly port congestion figures for a single port: median waiting time, average vessels waiting per day, congestion category, and week-on-week change, sourced from Portcast's public port page.","exampleAgentPrompt":"What's the current congestion situation at Long Beach port — how long are ships waiting, how many vessels are queued per day, and has it gotten better or worse since last week?","exampleUseCases":[{"title":"Pre-shipment port congestion check","prompt":"Before we book our container shipment through Long Beach, can you pull the latest congestion data — median wait time, how many ships are sitting there daily, and whether things are improving or getting worse compared to last week?"},{"title":"Supply chain disruption monitoring","prompt":"I need to keep an eye on port congestion at Singapore this week — tell me the congestion category, the average number of vessels waiting per day, and the week-on-week change so I can flag any issues to our logistics team."},{"title":"Multi-port trade route comparison","prompt":"Can you look up the port congestion figures for Rotterdam? I want to know the median waiting time in days, the congestion level category, and whether congestion went up or down from the previous week."}],"resultDescription":"A JSON object containing the port name and slug, the week covered, the median vessel waiting time in days, the average number of vessels waiting per day, a congestion category label (e.g. 'low'), a flag indicating long-tail congestion, and the percentage change in congestion from the previous week, along with the source URL and the timestamp when the data was checked.","failureModes":["Port slug not found or not published by Portcast — returns an error or empty result","Invalid slug format (e.g. uppercase or spaces) — request may fail or return no data","Portcast public page structure changes — scrape may break and return stale or missing data","Network timeout to Portcast's public page — upstream fetch failure","Port exists but Portcast has not published recent congestion data for that week"],"whenToPreferThis":"Use this endpoint when you need quick, free-tier weekly port congestion snapshots for ports covered by Portcast's public pages. It is ideal for supply chain monitoring, pre-shipment planning, or enriching logistics dashboards without needing a full paid Portcast API subscription. Prefer alternatives if you need real-time (sub-weekly) vessel data, ports not listed on Portcast's public congestion page, or historical time-series data beyond weekly snapshots.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T00:34:32.377Z","isFirstParty":false,"canonicalSlug":"sitecheck-trade-energy-port-congestion-index-cb7745ae"}