{"uid":"cap_amlACwtYoT-LSNbvikjGd","slug":"finance-toonhaus-dev-d067c13e","name":"finance.toonhaus.dev Forex Rate","description":"Forex rate","url":"https://finance.toonhaus.dev/api/forex/rate","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":{}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"pair":"EURUSD=X"}}},"response":{"ask":1.1598237,"bid":1.1604967,"pair":"EURUSD","rate":1.1669973,"change":0.0014960766,"dayLow":1.162926,"dayHigh":1.1687704,"timestamp":"2026-05-29T19:52:06.143Z","changePercent":0.12838511,"fiftyDayAverage":1.1663238}},"exampleRequest":{"pair":"EURUSD=X"},"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-32SsN4ryJn5P5zJiKvoz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current foreign exchange (forex) rate for a currency pair","exampleAgentPrompt":"What's the current exchange rate from USD to EUR?","exampleUseCases":null,"resultDescription":"Returns the current foreign exchange rate between a currency pair, likely including the rate value and possibly metadata such as timestamp or currency codes.","failureModes":["Unsupported or invalid currency pair returns an error","Missing required query parameters may result in a 400 or error response","Rate data temporarily unavailable returns a 5xx error","Payment not completed (x402) blocks access to the response"],"whenToPreferThis":"Use this endpoint when you need a live or near-real-time forex exchange rate for a specific currency pair, especially in an agentic context where micro-payment per call ($0.001 USDC) is acceptable and you need FX data alongside other financial data from the same provider.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:38:29.177Z","isFirstParty":false}