valyu_markets_forex_search $0.075 per call
Search foreign exchange data. Find currency-pair rates and history. (Valyu · Other market data)
For AI agents: call valyu_markets_forex_search
POST https://toll402.dev/v1/p/valyu.markets.forex.search
{
"query": "USD EUR exchange rate",
"max_num_results": 1,
"search_type": "proprietary",
"max_price": 6,
"response_length": "short",
"included_sources": [
"valyu/valyu-forex"
]
}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": {
"query": {
"type": "string",
"examples": [
"USD EUR exchange rate"
]
},
"max_num_results": {
"type": "integer",
"examples": [
1
]
},
"search_type": {
"type": "string",
"enum": [
"proprietary"
]
},
"max_price": {
"type": "number",
"enum": [
6
]
},
"response_length": {
"type": "string",
"enum": [
"short"
]
},
"included_sources": {
"type": "string",
"enum": [
"valyu/valyu-forex"
],
"examples": [
[
"valyu/valyu-forex"
]
]
}
},
"additionalProperties": true,
"required": [
"query",
"max_num_results",
"search_type",
"max_price",
"response_length",
"included_sources"
],
"description": "The selected Valyu sources are fixed for shared-key calls; use a Valyu own tool for arbitrary source mixes."
}
MCP
{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}