GET /v1/fx/rates/:market
Request
Replace:market with an identifier from the table. You can use format according to your format access. Do not translate the identifier when switching documentation language.
Run these examples on your server. JavaScript and Python use the clients in the quickstart; configure
COTIZAVE_API_KEY there.
Response
Illustrative response: figures and dates are not current quotes.When to use it
Use it when you need one specific market. If you need several, all rates reduces requests and returns a shared snapshot.Display the rate
Always display the market, base currency and date. For BCV, retaineffective_date. An Australian interface can use en-AU number formatting and an Australian time zone for timestamp display; API values remain VES/USD or VES/EUR. Formatting a number does not convert it to AUD.
Errors
404 resource_not_found indicates an unavailable market. 402 feature_not_in_plan indicates a plan-restricted market. Do not substitute another market without an explicit application decision. western_union and other markets with type remittance only support conversion to VES.
The common errors for authentication, quota and availability also apply. API error responses are JSON; branch on code, not on the text of message.