---
title: "GetCustomsRevenue"
method: GET
path: "/api/trade/v1/get-customs-revenue"
tags: ["TradeService"]
---

# GetCustomsRevenue

`GET /api/trade/v1/get-customs-revenue`

## Request

- Base URL: `https://api.worldmonitor.app`
- URL: `https://api.worldmonitor.app/api/trade/v1/get-customs-revenue`
- Auth: one of:
  - API key in header `X-WorldMonitor-Key`
  - API key in header `X-Api-Key`

Get US customs duties revenue (Treasury MTS data, seeded by Railway).

## Query parameters

- `jmespath` string

## Response `200`

OK

- WorldmonitorTradeV1GetCustomsRevenueResponse
  - `months` WorldmonitorTradeV1CustomsRevenueMonth[]
    - `recordDate` string
    - `fiscalYear` integer
    - `calendarYear` integer
    - `calendarMonth` integer
    - `monthlyAmountBillions` number, double
    - `fytdAmountBillions` number, double
  - `fetchedAt` string
  - `upstreamUnavailable` 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)
