---
title: "Country Trade Data (x402)"
method: GET
path: "/x402/v2/country-trade-data"
tags: ["x402"]
---

# Country Trade Data (x402)

`GET /x402/v2/country-trade-data`

## Request

- Base URL: `https://api.strale.io`
- URL: `https://api.strale.io/x402/v2/country-trade-data`
- Auth: none required

Get trade data for a country: top exports/imports, trade balance, trading partners. World Bank API + embedded data.

## Query parameters

- `year` number
- `country_code` string, required

## Response `200`

Success

- object
  - `top_exports` unknown[]
    - unknown
  - `top_imports` unknown[]
    - unknown
  - `total_exports_usd` number
  - `total_imports_usd` number
  - `trade_balance_usd` number

## Other responses

- `402`: Payment required (x402 — pay with USDC on Base)

---

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