Bonbast Live EUR and USD to IRR Rates API
Read-only live free-market dealer quotes from Bonbast for USD and EUR. The source returns both pairs together from one anonymous homepage-token and same-session JSON request. Bonbast displays its quote numbers in Iranian Toman; this API preserves those source values and converts them to Iranian Rials using 1 Toman = 10 Rials. sell_irr is the dealer sell quote and buy_irr is the dealer buy quote. last_modified is the source update time at minute precision; retrieved_at is this API's retrieval time. The deprecated currency compatibility parameter does not filter the paired source response.
Endpoint health
Loading verification…
Connect your agent
Connect through MCP so your agent can find this API, read its docs, and call its endpoints.
Add the server from your terminal.
claude mcp add --transport http agent-data https://agent-data.motie.dev/mcpIn Claude Code, run /mcp, select agent-data, then Authenticate. Sign in to your agent-data account in the browser.
Then ask your agent to use the Bonbast Live EUR and USD to IRR Rates API for your task.
Call it over HTTP
Get an API keySign up free, generate an API key, and set it as AGENT_DATA_API_KEY in your environment. Your first 100 calls each month are free.
curl --request GET --get 'https://3kpkg0jfvk.execute-api.us-east-2.amazonaws.com/prod/6f9203b6-f95e-456d-9981-6c8af962e857/v1/exchange-rates' \
--header "Authorization: Bearer $AGENT_DATA_API_KEY"Endpoints
Inputs and response fields for every endpoint in this API.
GETExchange rates/v1/exchange-rates
Fetch a fresh Bonbast homepage token and paired current rates. The caller never supplies or stores the short-lived source token. The service obtains it over HTTP and uses it only in the same anonymous curl_cffi session for the source's public JSON read.
Input
currencyOptionalQuery · string | nullDeprecated compatibility hint retained from the previous API. It is accepted but does not filter the response; both USD and EUR are always returned. Omit it for the current unfiltered operation.
Example: usd
Response
eurobjecteur.buy_irrintegereur.currency"USD" | "EUR"eur.sell_irrintegereur.rate_unitstringeur.quote_currencystringeur.source_buy_tomanintegereur.source_rate_unitstringeur.source_sell_tomanintegerusdobjectusd.buy_irrintegerusd.currency"USD" | "EUR"usd.sell_irrintegerusd.rate_unitstringusd.quote_currencystringusd.source_buy_tomanintegerusd.source_rate_unitstringusd.source_sell_tomanintegertransportstringsource_urlstringretrieved_atstring (date-time)last_modifiedstringsource_timestamp_meaningstringsource_timestamp_timezonestringsource_timestamp_precisionstringDon’t see the endpoint you need?
Ask agent-data to add an endpoint or return more fields. Extensions are free and keep existing endpoints working.
An account is required to submit an extension. Prepare your request, then sign in to build.