bea_intl_services_trade
Retrieve annual U.S. international trade in services data from the Bureau of Economic Analysis. Filter by service type, trade direction, country, and affiliation to analyze exports, imports, and balances.
Instructions
Get U.S. international trade in services data (annual).
IMPORTANT: BEA requires either a specific TypeOfService or a specific AreaOrCountry. You cannot use 'All' for both simultaneously.
TypeOfService: 'All' (default), or specific: 'Telecom', 'Travel', 'Transport', 'Insurance', 'Financial', 'Comp', 'ChargesForTheUseOfIpNie', etc. Use bea_dataset_info to discover all values.
TradeDirection: 'All' (default), 'Exports', 'Imports', 'Balance', 'SupplementalIns'
Affiliation: 'All' (default), 'AllAffiliations', 'Affiliated', 'Unaffiliated', 'UsParents', 'UsAffiliates'
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type_of_service | No | 'All' (default — all types). Or specific: 'Telecom', 'Travel', 'Transport', etc. Use bea_dataset_info. | |
| trade_direction | No | 'All' (default), 'Exports', 'Imports', 'Balance', 'SupplementalIns' | |
| affiliation | No | 'All' (default), 'AllAffiliations', 'Affiliated', 'Unaffiliated', 'UsParents', 'UsAffiliates' | |
| area_or_country | No | 'AllCountries' (default total), specific country name, or 'All' for all breakdowns. | |
| year | No | Year(s): 'All' (default for all years), or comma-separated years |