FXRate by YourAITools
Historical exchange rate API for AI agents. Daily ECB reference rates for one currency pair between two dates (up to 366 days, back to 1999), with first, last, min, max and percent change. Search intents: historical exchange rates api, fx time series, currency history, eur usd chart data, forex history.
The wallet the 402 directs payment to. Its whole payment record — every payer, every chain — is on the merchant page.
Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service — most of the catalog is unregistered.
Live 402 challenge
Captured by the enrichment pass, not read just now. Prices can change — always read the 402 the endpoint answers with.
{
"error": "X-PAYMENT header is required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x3c1A1E01e790Cd326495631B3b38Bd7068F08d6F",
"scheme": "exact",
"network": "base",
"mimeType": "application/json",
"resource": "https://api.youraitools.co/fx/v1/history",
"description": "Historical exchange rate API for AI agents. Daily ECB reference rates for one currency pair between two dates (up to 366 days, back to 1999), with first, last, min, max and percent change. Search intents: historical exchange rates api, fx time series, currency history, eur usd chart data, forex history.",
"outputSchema": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"end": {
"type": "string",
"required": false,
"description": "YYYY-MM-DD end date (default: today); max 366 days after start"
},
"base": {
"type": "string",
"required": true,
"description": "Base currency: ISO 4217 code, e.g. USD, EUR, GBP, JPY (31 supported)"
},
"quote": {
"type": "string",
"required": true,
"description": "Quote currency: ISO 4217 code, e.g. USD, EUR, GBP, JPY (31 supported)"
},
"start": {
"type": "string",
"required": true,
"description": "YYYY-MM-DD start date"
}
},
"discoverable": true
},
"output": {
"end": "2026-10-23",
"base": "EUR",
"count": 17,
"quote": "USD",
"start": "2026-10-01",
"stats": {
"max": 1.1298,
"min": 1.1172,
"last": 1.1193,
"first": 1.1298,
"change_pct": -0.93
},
"points": [
{
"date": "2026-10-01",
"rate": 1.1298
},
{
"date": "2026-10-02",
"rate": 1.1225
},
{
"date": "2026-10-23",
"rate": 1.1193
}
],
"source": "Source: ECB statistics (euro foreign exchange reference rates), via the open-source Frankfurter API."
}
},
"maxAmountRequired": "2000",
"maxTimeoutSeconds": 120
}
],
"message": "Payment required: FXRate GET /fx/v1/history costs $0.002 per call in USDC. Currency converter and exchange rate API for AI agents: convert an amount between 31 currencies (USD, EUR, GBP, JPY, CNY, INR...) at the official European Central Bank reference rate, a rate table for any base currency, or a daily history back to 1999. Pay per call in USDC with any x402 client: read the PAYMENT-REQUIRED header (x402 v2) or the accepts list in this body (x402 v1), sign the payment and retry the same request with the PAYMENT-SIGNATURE (v2) or X-PAYMENT (v1) header. Networks: Base, Polygon, Arbitrum. No account, no API key. No crypto wallet? Buy prepaid credits by card or USDC at https://api.youraitools.co/credits/ and send them as a Bearer key. Free: 30 calls/day (remote MCP: convert_currency, fx_rates, fx_history), then $0.001 per call in USDC",
"x402Version": 1,
"payment_help": {
"docs": "https://api.youraitools.co/fx/",
"tool": "FXRate",
"what": "Currency converter and exchange rate API for AI agents: convert an amount between 31 currencies (USD, EUR, GBP, JPY, CNY, INR...) at the official European Central Bank reference rate, a rate table for any base currency, or a daily history back to 1999. Source: ECB statistics. Reference rates, not live trading quotes.",
"price": "$0.002 per call (USDC)",
"route": "GET https://api.youraitools.co/fx/v1/history",
"mcp_hub": "https://api.youraitools.co/mcp/hub",
"free_tier": "30 calls/day (remote MCP: convert_currency, fx_rates, fx_history), then $0.001 per call in USDC",
"pay_with_x402": "Pay per call in USDC with any x402 client: read the PAYMENT-REQUIRED header (x402 v2) or the accepts list in this body (x402 v1), sign the payment and retry the same request with the PAYMENT-SIGNATURE (v2) or X-PAYMENT (v1) header. Networks: Base, Polygon, Arbitrum. No account, no API key.",
"pay_with_credits": {
"url": "https://api.youraitools.co/credits/",
"use": "Send the key as Authorization: Bearer yatc_... on the same request; each call is deducted at the listed price.",
"card": "Pay by card (Stripe): $5, $20 or $50 credit packs, no crypto wallet needed.",
"wallet": "Or buy $1 or $5 of credits in USDC with the one-click browser wallet button on the same page.",
"card_checkout": "https://api.youraitools.co/credits/ (choose a pack under Pay by card; Stripe checkout opens in one click)"
}
}
}Accepts
The payment requirements as published to the catalog. Read the live 402 before paying — a price here is a claim, not a quote.
Pay 0.002 USDC on Base to 0x3c1A…08d6F. The signed payment is good for 2 minutes.
- Paid to
- 0x3c1A…08d6F
- USD Coin contract
- 0x8335…02913
- Payment window
- 2 minutes
- As published
- 2000 smallest units
That figure is in the token’s smallest units. Roundhouse does not hold this contract’s decimals, so it is shown as published rather than converted.
- Paid to
- 0x3c1A…08d6F
- Token contract
- 0x3c49…c3359
- Payment window
- 2 minutes
That figure is in the token’s smallest units. Roundhouse does not hold this contract’s decimals, so it is shown as published rather than converted.
- Paid to
- 0x3c1A…08d6F
- Token contract
- 0xaf88…e5831
- Payment window
- 2 minutes
The catalog’s raw entry
[
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x3c1A1E01e790Cd326495631B3b38Bd7068F08d6F",
"amount": "2000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 120
},
{
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x3c1A1E01e790Cd326495631B3b38Bd7068F08d6F",
"amount": "2000",
"scheme": "exact",
"network": "eip155:137",
"maxTimeoutSeconds": 120
},
{
"asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x3c1A1E01e790Cd326495631B3b38Bd7068F08d6F",
"amount": "2000",
"scheme": "exact",
"network": "eip155:42161",
"maxTimeoutSeconds": 120
}
]Extensions
{
"bazaar": {
"info": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"end": "2026-10-23",
"base": "EUR",
"quote": "USD",
"start": "2026-10-01"
}
},
"output": {
"type": "json",
"example": {
"end": "2026-10-23",
"base": "EUR",
"count": 17,
"quote": "USD",
"start": "2026-10-01",
"stats": {
"max": 1.1298,
"min": 1.1172,
"last": 1.1193,
"first": 1.1298,
"change_pct": -0.93
},
"points": [
{
"date": "2026-10-01",
"rate": 1.1298
},
{
"date": "2026-10-02",
"rate": 1.1225
},
{
"date": "2026-10-23",
"rate": 1.1193
}
],
"source": "Source: ECB statistics (euro foreign exchange reference rates), via the open-source Frankfurter API."
}
}
},
"schema": {
"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",
"required": [
"base",
"quote",
"start"
],
"properties": {
"end": {
"type": "string",
"description": "YYYY-MM-DD end date (default: today); max 366 days after start"
},
"base": {
"type": "string",
"description": "Base currency: ISO 4217 code, e.g. USD, EUR, GBP, JPY (31 supported)"
},
"quote": {
"type": "string",
"description": "Quote currency: ISO 4217 code, e.g. USD, EUR, GBP, JPY (31 supported)"
},
"start": {
"type": "string",
"description": "YYYY-MM-DD start date"
}
},
"description": "Search intents: historical exchange rates api, fx time series, currency history, eur usd history, forex history"
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object",
"required": [
"base",
"quote",
"points"
],
"properties": {
"end": {
"type": "string"
},
"base": {
"type": "string"
},
"quote": {
"type": "string"
},
"start": {
"type": "string"
},
"stats": {
"type": "object",
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
},
"last": {
"type": "number"
},
"first": {
"type": "number"
},
"change_pct": {
"type": "number"
}
}
},
"points": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string"
},
"rate": {
"type": "number"
}
}
}
},
"source": {
"type": "string"
}
}
}
}
}
}
}
}
}Provenance
- Seen in the source catalog
- 2026-10-26 11:41Z
- Last indexed by Roundhouse
- 2026-10-26 17:20Z
- Last enriched (probe, favicon, geo)
- 2026-10-26 12:16Z
- x402 version
- 2
- Max timeout
- 120s
- Liveness probe
- HTTP 402
Hand this page to an agent
Copy the prompt and paste it into Claude, an MCP client or your own agent — it will vet this service and call it over the free read API. No key, no account.
GET api.roundhouseai.io/v0/endpoints
This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 4 snapshots so far. Verified volume counts only settlements with an on-chain EIP-3009 marker.
Show the promptHide the prompt
Using Roundhouse, look up the x402 service FXRate by YourAITools and tell me whether it is worth paying: what a call costs, whether the endpoint answered when last probed, and what its payment record actually shows. curl -s 'https://api.roundhouseai.io/v0/endpoints?q=FXRate%20by%20YourAITools' curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>' Then call it: read the price from the live 402 at https://api.youraitools.co/fx/v1/history, never from a cached figure, and pay with an x402 client. The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except /v0/unified* and /v0/endpoints. Either pay over x402 (mint a personal key for $0.01 at GET https://api.roundhouseai.io/v0/test/x402), or ask me for an organization key, which I create at https://roundhouseai.io/dashboard/connections. If you have neither, ask before going further. If you do not have Roundhouse tools or skills installed, read https://roundhouseai.io/skill.md first — it is the whole procedure.