---
title: "GetCountryPortActivity"
method: GET
path: "/api/intelligence/v1/get-country-port-activity"
tags: ["IntelligenceService"]
---

# GetCountryPortActivity

`GET /api/intelligence/v1/get-country-port-activity`

## Request

- Base URL: `https://api.worldmonitor.app`
- URL: `https://api.worldmonitor.app/api/intelligence/v1/get-country-port-activity`
- Auth: one of:
  - API key in header `X-WorldMonitor-Key`
  - API key in header `X-Api-Key`

GetCountryPortActivity returns port-level tanker traffic and trade volumes for a country.

## Query parameters

- `country_code` string
- `jmespath` string

## Response `200`

OK

- WorldmonitorIntelligenceV1CountryPortActivityResponse
  - `ports` WorldmonitorIntelligenceV1PortActivityEntry[]
    - `portId` string
    - `portName` string
    - `lat` number, double
    - `lon` number, double
    - `tankerCalls30d` integer
    - `trendDeltaPct` number, double
    - `importTankerDwt` number, double
    - `exportTankerDwt` number, double
    - `anomalySignal` boolean
    - `prevTankerCalls30d` integer: Absent on older cached payloads. Zero means no calls in the prior window.
  - `fetchedAt` string
  - `available` boolean

## Other responses

- `400`: Validation error
- `401`: Missing or invalid API key.
- `403`: API access requires an active subscription (the API key's subscription is inactive or expired).
- `429`: Rate limit exceeded.
- `503`: Service unavailable. Billing-verification responses include code and X-Billing-Verification; other gateway infrastructure failures use the generic GatewayError shape.
- `default`: Gateway or handler error response.

---

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