OECD Balance of Payments
oecd.economy.tradeRetrieve Balance of Payments (BoP) data for any OECD member country. Returns current account balance, goods trade balance, services trade balance, and financial account indicators in USD millions. Based on IMF BPM6 standards and reported to the OECD. Covers 38 OECD countries at quarterly and annual frequency with typical lags of 3–6 months. Useful for macroeconomic analysis, currency risk assessment, and understanding a country's external position with the rest of the world. Current account surplus = country exports more than it imports; deficit = imports exceed exports. Source: OECD SDMX API, CC BY 4.0, no auth required, unlimited.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | Yes | ISO 3-letter OECD country code (e.g. USA, GBR, DEU, FRA, JPN, CAN, AUS, KOR, ITA, ESP). See OECD reference area codes for the full list of 38 member countries. | |
| end_period | No | End period for Balance of Payments data (e.g. "2023"). Defaults to latest available. | |
| max_series | No | Maximum number of time series to return (1–100, default 20). Each series is a unique combination of dimensions such as sector, measure, or adjustment type. | |
| start_period | No | Start period for Balance of Payments data (e.g. "2018" for annual, "2023-Q1" for quarterly). Defaults to 5 years prior. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |