{"uid":"cap_G6kY65r4FwevVj2KxZDkB","slug":"fx-adjusted-p-l-calculator-4e3791be","name":"FX-Adjusted P&L Calculator","description":"Financial Analyst API — FX P&L. Decompose investment returns into local asset performance and currency movement contribution. Given entry and exit prices in any currency pair with dated interim cash flows, returns total USD P&L, annualized return, and the exact basis points attributable to FX versus the underlying position. Applicable to cross-border private equity, international fixed income, commodity positions, and any multi-currency investment where currency attribution matters.","url":"https://financial-analyst-api-production-b81a.up.railway.app/fx/pnl","method":"POST","headers":{},"bodySchema":{"type":"object"},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1fUsJvJ8T3kSTu_2aSBtA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decomposes cross-border transaction returns into local currency gain and FX currency impact components for international investment analysis.","exampleAgentPrompt":"We invested €5M in a German real estate deal when EUR/USD was 1.08, and we're exiting now at EUR/USD 1.15 with a local Euro return of 18% — can you split the total USD P&L into how much came from the local market gain versus the currency movement?","exampleUseCases":[{"title":"International M&A deal return attribution","prompt":"We bought a Canadian tech company for CAD 50M when CAD/USD was 0.76, and we sold it for CAD 62M when CAD/USD is now 0.82 — can you break down our total USD profit into the part that came from the business itself versus the currency movement?"},{"title":"Cross-border fund performance reporting to LPs","prompt":"Our emerging market fund is up 22% total in local currency terms, but our investors are in dollars and they're asking how much of their overall return is actually from our stock picks versus just lucky currency movements — can you decompose that for us?"},{"title":"UK real estate investment FX impact analysis","prompt":"We invested £3M in London real estate at 1.30 GBP/USD and we're now selling at 1.42 GBP/USD with a 12% local gain — I need to show our board how much of the total USD return was real estate appreciation versus just the pound getting stronger."}],"resultDescription":"Returns the total FX-adjusted P&L broken down into two components: (1) local currency gain — the return attributable to the investment's performance in its home currency, and (2) currency impact — the gain or loss attributable purely to exchange rate movement between entry and exit. Likely expressed in base currency terms with percentage contributions from each component.","failureModes":["Missing or invalid FX rates cause computation failure","Entry and exit currency are the same — no FX adjustment possible","Negative or zero transaction amounts rejected","Unsupported currency pair returns error","Mismatched date and rate inputs produce incorrect decomposition"],"whenToPreferThis":"Use this endpoint when you need to attribute returns between local market performance and currency effects for cross-border investments — particularly for international private equity, real estate, or M&A transactions where investors need to understand how much of their total return (or loss) came from the underlying asset versus FX movement. Prefer this over generic FX converters or return calculators when the decomposition of local vs. currency gain is specifically required for LP reporting or deal attribution.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:42:38.417Z","isFirstParty":false}