fx_rate_history $0.003 per call

Historical daily exchange rates for a currency pair between two ISO dates using https://api.frankfurter.dev/v1/<start>..<end>?base=<base>&symbols=<symbol>. Returns the list of business-day rates in the requested range.

For AI agents: call fx_rate_history
POST https://toll402.dev/v1/t/fx_rate_history
{
 "base": "USD",
 "symbol": "MXN",
 "start_date": "2023-01-02",
 "end_date": "2023-01-06"
}
Answers 402 with x402 payment requirements; pay with any x402 client (@x402/fetch, x402 for Python, toll402-client, toll402-mcp) or send a prepaid-credits key as x-toll402-key (https://toll402.dev/credits). Paid per call via x402 (USDC on Base) or with a prepaid-credits key (x-toll402-key, card at /credits); charged only on success. Start at /llms.txt or connect the MCP server: npx -y toll402-mcp · remote https://toll402.dev/mcp.

Input schema

{
 "type": "object",
 "properties": {
  "base": {
   "type": "string",
   "minLength": 3,
   "maxLength": 3,
   "description": "3-letter ISO currency code, e.g. USD"
  },
  "symbol": {
   "type": "string",
   "minLength": 3,
   "maxLength": 3,
   "description": "3-letter ISO currency code, e.g. MXN"
  },
  "start_date": {
   "type": "string",
   "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
  },
  "end_date": {
   "type": "string",
   "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
  }
 },
 "required": [
  "base",
  "symbol",
  "start_date",
  "end_date"
 ],
 "additionalProperties": false
}

MCP

{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}

All tools · OpenAPI