{"uid":"cap_osgIvj6xd1h-E5YBg0hGE","slug":"bea-international-investment-data-6596788d","name":"BEA International Investment Data","description":"Crypto ETF flows, institutional fund data, and US macroeconomic events.","url":"https://x402-sand.vercel.app/api/bea/international-investment?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","const":"GET"},"queryParams":{"type":"object","properties":{"year":{"type":"string","description":"Example value: 2026"}},"additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{}},"additionalProperties":false}},"additionalProperties":false},"responseSchema":{"type":"json","example":{"data":[],"success":true,"endpoint":"/api/bea/international-investment"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZNP2-L0N3hd3qFYlVYJit","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves US Bureau of Economic Analysis (BEA) international investment position data for a specified year","exampleAgentPrompt":"Pull the BEA international investment position data for 2023 — I need the US foreign assets, liabilities, and net investment figures for my macro research.","exampleUseCases":[{"title":"Annual macro research on US investment position","prompt":"Can you fetch the BEA international investment position data for 2022? I'm analyzing how the US net investment position changed after the Fed's rate hikes."},{"title":"Tracking foreign ownership trends over time","prompt":"Get me the US international investment data from BEA for 2020 — I want to see the breakdown of foreign-owned US assets versus US-owned foreign assets for that year."},{"title":"Crypto fund macro context analysis","prompt":"Pull the Bureau of Economic Analysis international investment position figures for 2021 so I can use them as macro context alongside my crypto ETF flow analysis."}],"resultDescription":"Returns a JSON object with a success flag, the endpoint path, and a data array containing BEA international investment position statistics for the requested year, including figures on US-owned assets abroad and foreign-owned assets in the US.","failureModes":["Invalid or future year returns empty data array with success:true","Missing year parameter may return default or error data","BEA upstream data unavailability could result in empty data set","Network timeout from upstream BEA API call","Year with no available BEA data returns empty array"],"whenToPreferThis":"Choose this endpoint when you need structured US international investment position data sourced directly from the BEA, particularly for macro analysis, cross-border asset/liability research, or when building context around institutional investment and ETF flow analysis. Prefer over web scraping or generalist data APIs when you need authoritative government-sourced macro figures at low cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T12:48:21.728Z","isFirstParty":false,"canonicalSlug":"bea-international-investment-data-6596788d"}