{"uid":"cap_NA3M5vXwuOuzgUJl0bwcZ","slug":"cortexcloud-fx-history-34adc832","name":"CortexCloud FX History","description":"OpenAI-compatible AI and data API for agents. Pay per call in USDC on Base via x402 — no API keys, no subscriptions, no lock-in.","url":"https://api.cortexcloud.org/x402/v1/fx/history","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"required":{"type":"string"},"properties":{"type":"string"}}},"responseSchema":{"type":"object","format":"application/json","example":{}},"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_C8MT6XXBQr2r2G-PjpHfV","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 historical foreign exchange (FX) rate data for currency pairs via a pay-per-call API using USDC on Base","exampleAgentPrompt":"Can you pull the historical exchange rates for USD to EUR over the past 30 days so I can see how the rate has moved?","exampleUseCases":[{"title":"Forex trend analysis for trading","prompt":"Get me the historical daily USD to JPY exchange rates for the last 90 days — I want to see the trend before making a trade."},{"title":"Backtesting a currency strategy","prompt":"I need historical GBP to USD rates for the entire year of 2023, day by day, so I can backtest my currency trading strategy."},{"title":"Financial report with past FX rates","prompt":"What were the EUR to CHF exchange rates during Q1 2024? I'm putting together a quarterly financial report and need the actual historical rates."}],"resultDescription":"Returns a JSON object containing historical foreign exchange rate data for the requested currency pair and time range, including timestamped rate values as a time series","failureModes":["Missing or invalid currency pair parameter returns an error","Date range too large may result in truncated or error response","Payment failure via x402 protocol results in 402 Payment Required response","Unsupported currency codes return an error or empty result","Malformed query parameters return a 400 Bad Request"],"whenToPreferThis":"Choose this endpoint when you need historical FX rate data without committing to a subscription or API key — ideal for agents that make infrequent or one-off forex lookups and want to pay only per call in USDC on Base via x402. Best for lightweight, on-demand financial data needs rather than high-frequency or bulk data pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:52:44.464Z","isFirstParty":false}