{"openapi":"3.1.0","info":{"title":"fastFOREX (BYOK) API","version":"0.1.0","description":"fastFOREX (BYOK) lets an AI assistant read your own fastFOREX data through the fastFOREX API with a key you supply (fastFOREX API key). Read-only: 10 tools (get_rate, get_rates, convert_currency, get_historical_rates, get_time_series, list_currencies, list_crypto_currencies, get_crypto_prices, get_fx_quote, get_usage). The BYOK key travels with each request, is used for that one call only and is...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-fastforex.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-fastforex/docs"},"termsOfService":"https://connectorbay.com/byok-fastforex/terms"},"servers":[{"url":"https://byok-fastforex.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-fastforex/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/get_rate":{"post":{"operationId":"get_rate","summary":"Get the midpoint spot exchange rate from one currency to another (physical, crypto, or metal such as XAU against a physi","description":"Get the midpoint spot exchange rate from one currency to another (physical, crypto, or metal such as XAU against a physical currency). Use for \"What is the USD to EUR exchange rate right now\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"to_currency":{"description":"Target currency symbol, for example EUR.","maxLength":10,"title":"To Currency","type":"string"},"from_currency":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Base currency 3-letter symbol (physical, crypto or metal where supported). Defaults to USD.","title":"From Currency"}},"required":["to_currency"],"title":"get_rateArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_rates":{"post":{"operationId":"get_rates","summary":"Get midpoint spot rates from one base currency to several target currencies in one call. Use for \"Give me USD to EUR, GB","description":"Get midpoint spot rates from one base currency to several target currencies in one call. Use for \"Give me USD to EUR, GBP and JPY rates\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"to_currencies":{"description":"Comma-separated list of target currency symbols, for example 'EUR,GBP,JPY'.","maxLength":200,"title":"To Currencies","type":"string"},"from_currency":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Base currency 3-letter symbol (physical, crypto or metal where supported). Defaults to USD.","title":"From Currency"}},"required":["to_currencies"],"title":"get_ratesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/convert_currency":{"post":{"operationId":"convert_currency","summary":"Convert an amount from one currency into another (physical or digital) at the current midpoint rate. Use for \"Convert 19","description":"Convert an amount from one currency into another (physical or digital) at the current midpoint rate. Use for \"Convert 199.50 USD into euros\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"to_currency":{"description":"Target currency symbol, for example EUR.","maxLength":10,"title":"To Currency","type":"string"},"amount":{"description":"Amount of the source currency to convert.","title":"Amount","type":"number"},"from_currency":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Base currency 3-letter symbol (physical, crypto or metal where supported). Defaults to USD.","title":"From Currency"},"precision":{"anyOf":[{"maximum":10,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Decimal places to round the result to (default 2).","title":"Precision"}},"required":["to_currency","amount"],"title":"convert_currencyArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_historical_rates":{"post":{"operationId":"get_historical_rates","summary":"Get midpoint exchange rates for one past UTC date, from a base currency to chosen targets (all currencies when omitted).","description":"Get midpoint exchange rates for one past UTC date, from a base currency to chosen targets (all currencies when omitted). Use for \"What were the USD exchange rates on 2026-01-16\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"date":{"description":"UTC date, YYYY-MM-DD.","maxLength":10,"title":"Date","type":"string"},"from_currency":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Base currency 3-letter symbol (physical, crypto or metal where supported). Defaults to USD.","title":"From Currency"},"to_currencies":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated target symbols (default all currencies).","title":"To Currencies"}},"required":["date"],"title":"get_historical_ratesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_time_series":{"post":{"operationId":"get_time_series","summary":"Get daily exchange rates between two dates for one or more target currencies from a base currency. Use for \"Show the USD","description":"Get daily exchange rates between two dates for one or more target currencies from a base currency. Use for \"Show the USD to GBP daily rate for September 2026\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"to_currencies":{"description":"Comma-separated list of target currency symbols, for example 'EUR,GBP,JPY'.","maxLength":200,"title":"To Currencies","type":"string"},"start":{"description":"UTC start date, YYYY-MM-DD (as far back as 1970 depending on the pair).","maxLength":10,"title":"Start","type":"string"},"end":{"description":"UTC end date, YYYY-MM-DD.","maxLength":10,"title":"End","type":"string"},"from_currency":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Base currency 3-letter symbol (physical, crypto or metal where supported). Defaults to USD.","title":"From Currency"}},"required":["to_currencies","start","end"],"title":"get_time_seriesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_currencies":{"post":{"operationId":"list_currencies","summary":"List the 170+ supported physical currency symbols with their names. Use for \"Which currencies does fastFOREX support\".","description":"List the 170+ supported physical currency symbols with their names. Use for \"Which currencies does fastFOREX support\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_currenciesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_crypto_currencies":{"post":{"operationId":"list_crypto_currencies","summary":"List the 500+ supported cryptocurrency symbols with their names. Use for \"Which cryptocurrencies does fastFOREX support\"","description":"List the 500+ supported cryptocurrency symbols with their names. Use for \"Which cryptocurrencies does fastFOREX support\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_crypto_currenciesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_crypto_prices":{"post":{"operationId":"get_crypto_prices","summary":"Get real-time prices for up to 10 cryptocurrency pairs written as BASE/QUOTE, for example BTC/USD. Use for \"What are the","description":"Get real-time prices for up to 10 cryptocurrency pairs written as BASE/QUOTE, for example BTC/USD. Use for \"What are the BTC/USD and ETH/BTC prices\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"pairs":{"description":"Up to 10 comma-separated pairs in XXX/YYY format, for example 'BTC/USD,ETH/BTC'.","maxLength":200,"title":"Pairs","type":"string"}},"required":["pairs"],"title":"get_crypto_pricesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_fx_quote":{"post":{"operationId":"get_fx_quote","summary":"Get live bid and ask quotes for up to 10 FX trading pairs (needs the Extra or Premium plan). Use for \"What is the EUR/US","description":"Get live bid and ask quotes for up to 10 FX trading pairs (needs the Extra or Premium plan). Use for \"What is the EUR/USD bid and ask\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"pairs":{"description":"Up to 10 comma-separated pairs in XXXYYY or XXX/YYY format, for example 'EURUSD,GBPUSD'.","maxLength":200,"title":"Pairs","type":"string"}},"required":["pairs"],"title":"get_fx_quoteArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_usage":{"post":{"operationId":"get_usage","summary":"Get your own recent daily API usage, current billing period and remaining monthly quota. Use for \"How much of my fastFOR","description":"Get your own recent daily API usage, current billing period and remaining monthly quota. Use for \"How much of my fastFOREX quota is left this month\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"get_usageArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}