{"uid":"cap_sWa5qo1bE1gOZ0Mbrq-sK","slug":"fx-foreign-exchange-rates-9207ba91","name":"FX Foreign Exchange Rates","description":"Foreign exchange rates. ?base=USD","url":"https://pyfile-agent.taile3ff35.ts.net:10000/data/fx","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"base":{"type":"string"}}}}},"output":{"type":"object"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VjMcPyCxQwX1APeta6Rh1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current foreign exchange rates for a given base currency","exampleAgentPrompt":"What are the current foreign exchange rates with USD as the base currency?","exampleUseCases":[{"title":"Travel budget currency conversion","prompt":"I'm heading to Japan and Europe next month — can you pull the current exchange rates using USD as the base so I can figure out how much yen and euros I'll get for my dollars?"},{"title":"Invoice pricing in foreign currency","prompt":"I need to invoice a client in euros but I price in USD — what's today's EUR exchange rate relative to USD so I can set the right amount?"},{"title":"Portfolio FX exposure snapshot","prompt":"Can you fetch the latest foreign exchange rates for USD as base, covering EUR, GBP, JPY, and CAD? I want to see my portfolio's currency exposure in real terms."}],"resultDescription":"A JSON object containing foreign exchange rates for various currencies relative to the specified base currency (e.g. USD). Each currency code maps to its exchange rate value as a float.","failureModes":["Invalid or unsupported base currency code returns an error or empty rates object","Network timeout or service unavailability returns a connection error","Missing base parameter may default to USD or return an error depending on implementation","Stale rates if the underlying data source hasn't refreshed recently"],"whenToPreferThis":"Use this endpoint when you need quick, low-cost FX rate lookups for a given base currency. Ideal for agents doing currency conversion, financial calculations, invoice pricing, or portfolio valuation. At $0.003 per call it is cost-effective for frequent polling. Choose this over more complex FX APIs when you only need current spot rates and don't require historical data or advanced currency analytics.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:05:21.628Z","isFirstParty":false}