bea.international.trade_balance
Retrieve US international trade balance data from the BEA International Transactions Accounts (ITA) dataset. Covers balance on goods and services, current account balance, goods imports/exports, services imports/exports, and 800+ additional ITA indicators. Filter by country (China, Canada, Mexico...
This record as markdown: /tools/io-github-whiteknightonhorse-apibase/bea.international.trade-balance.md
What bea.international.trade_balance does on Apibase
AI agents call bea.international.trade_balance to retrieve information from Apibase without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
year | string | — | Year(s) to retrieve. Single year (e.g. "2023"), comma-separated list ("2021,2022,2023"), "LAST5" for latest 5 years, "LAST10" for latest 10, or "X"/"ALL" for al |
frequency | string | — | Data frequency: A=Annual (default), Q=Quarterly. |
indicator | string | — | BEA ITA indicator code. Common values: "BalGdsServ" (balance on goods and services, default), "BalGds" (goods only), "BalServ" (services only), "BalCurrAcct" (c |
area_or_country | string | — | Country or area filter. "AllCountries" (default) for world totals, or a specific country name such as "China", "Canada", "Mexico", "Germany", "Japan". Use "Area |
Parameters from the server's own tool schema.
Why bea.international.trade_balance is rated Low
Tool retrieves historical economic data without modifying records, executing code, or affecting financial transactions.
From the tool's definition Retrieve US international trade balance data from the BEA International Transactions Accounts dataset.
Attacks that exploit this kind of access
The rule that runs bea.international.trade_balance safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Apibase, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For bea.international.trade_balance, this is the rule to start with:
bea.international.trade_balance is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Apibase, apply this rule, and every bea.international.trade_balance call is checked against it from then on.
Questions about bea.international.trade_balance
Retrieve US international trade balance data from the BEA International Transactions Accounts (ITA) dataset. Covers balance on goods and services, current account balance, goods imports/exports, services imports/exports, and 800+ additional ITA indicators. Filter by country (China, Canada, Mexico, EU, etc.) or use AllCountries for world totals. Values in millions of USD. Annual or quarterly frequency. Official BEA government data. It is categorised as a Read tool in the Apibase MCP Server, which means it retrieves data without modifying state.
bea.international.trade_balance accepts 4 parameters: year, frequency, indicator, area_or_country. The full parameter table on this page comes from the server's own tool schema.
Register the Apibase MCP server in PolicyLayer and add a rule for bea.international.trade_balance: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Apibase. Nothing to install.
bea.international.trade_balance is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the bea.international.trade_balance rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for bea.international.trade_balance. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
bea.international.trade_balance is provided by the Apibase MCP server (apibase-mcp-client). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Apibase, and thousands of servers like it.
This server
Across the catalogue