{"_id":"5bc635dd22d682005c9ada70","project":"550f74bb6fc8130d0038aad3","version":{"_id":"550f75de61d9d30d00af9e01","__v":17,"project":"550f74bb6fc8130d0038aad3","forked_from":"550f74bb6fc8130d0038aad6","createdAt":"2015-03-23T02:09:34.221Z","releaseDate":"2015-03-23T02:09:34.221Z","categories":["550f75de61d9d30d00af9e02","551027e38579861900a86698","551029e08579861900a8669a","551029e7498062190006328a","5bc633a722d682005c9ad9e4","5bc633b08c4b0b000d6a7eaa","5bc633b48f3ff600626e3e18","5bc63538e5a6ba000d22ee6d","5bc63587a18a6b000decd295","5bc635c0937fcb0056223d9c","5bc6360f42f41800319aeaa6","5be5d13ff1d319002baca9ce","5be5d2287cd14d00291fbfdb","5be8b3b09f7cb70023c56a39","5be8b3cbb910100044e20206","5c1d769a4f6aed001fe527f0","5c402942010f0d001496dded"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"3.0.0","version":"3"},"category":{"_id":"5bc633b48f3ff600626e3e18","project":"550f74bb6fc8130d0038aad3","version":"550f75de61d9d30d00af9e01","__v":0,"sync":{"url":"","isSync":false},"reference":true,"createdAt":"2018-10-16T18:53:40.959Z","from_sync":false,"order":8,"slug":"transfers","title":"Transfers & Exchanges"},"user":"56ddd4424acab82000ae9d30","__v":7,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2018-10-16T19:02:53.019Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[{"name":"OK - as DIVISOR (default)","code":"{\n  \"DAIUSD\" : 1.0000000000000000,\n  \"ETHGBP\" : 0.00614438912894461535140759,\n  \"ETHDAI\" : 0.00468772651240999418604719,\n  \"BTCDAI\" : 0.0001553395057,\n  \"BTCUSD\" : 0.0001551095557793,\n  \"EURCNY\" : 0.1262048700,\n  \"ETHUSD\" : 0.00468067022563767608140186,\n  \"BRLEUR\" : 4.268617,\n  \"EURBTC\" : 5692.5720424425,\n  \"BRLHKD\" : 0.47708156844125,\n  \"DAIAUD\" : 0.7311389325235902,\n  \"DAIGBP\" : 1.3140247376079019\n   //And many more...\n}","language":"json","status":200},{"name":"OK - as PRICED","code":"{\n  \"AUDEUR\" : {\n    \"AUD\" : 1.59121648500278,\n    \"EUR\" : 0.6284500000\n  },\n  \"ETHAUD\" : {\n    \"AUD\" : 168.36495762445322,\n    \"ETH\" : 0.00593947822699870790826600\n  },\n  \"BRLMXN\" : {\n    \"MXN\" : 5.0634760000,\n    \"BRL\" : 0.19749278953825\n  },\n  \"MXNUSD\" : {\n    \"MXN\" : 18.920698,\n    \"USD\" : 0.0528521727\n  }\n  //And many more...\n}","language":"json","status":200},{"language":"text","code":""}]},"settings":"","examples":{"codes":[]},"method":"get","apiSetting":"5c50b085aae6150014b3e80e","auth":"required","params":[{"_id":"5c40259e055df5004b304eb4","ref":"","in":"query","required":false,"desc":"One of `DIVISOR`, `MULTIPLIER`, or `PRICED`. Dictates the structure and meaning of the numbers in the response","default":"DIVISOR","type":"string","name":"as"}],"url":"/v3/rates"},"isReference":true,"order":6,"body":"We offer an exchange rates endpoint which provides the current Wyre brokering rate. This is approximately the exchange rate that will be used for any relatively small exchange through our platform (larger exchanges may give different rates depending on market depth). It is a good way to track the Wyre exchange rates over time.\n\nThe ordering of the trade pair in the key represents the direction of an exchange. For example, `CADUSD` is the rate used for CAD into USD conversions (e.g. the sell rate). On the other hand, converting USD into CAD (the buy rate) would use the opposite rate under `USDCAD`.\n[block:callout]\n{\n  \"type\": \"info\",\n  \"body\": \"If you're not seeing a pair you were hoping (or expecting) to, please [let us know](mailto:support:::at:::sendwyre.com)\",\n  \"title\": \"Missing your favorite currency or asset pairs?\"\n}\n[/block]\n\n[block:api-header]\n{\n  \"title\": \"Rate Format\"\n}\n[/block]\n\n[block:parameters]\n{\n  \"data\": {\n    \"0-0\": \"`DIVISOR` (default)\",\n    \"0-1\": \"Exchange rate as a single number:\\n\\n`starting total / rate = result total`\",\n    \"1-0\": \"`MULTIPLIER`\",\n    \"1-1\": \"Exchange rate as a single number:\\n\\n`starting total * rate = result total`\",\n    \"2-0\": \"`PRICED`\",\n    \"2-1\": \"Exchange rate as multiplier and divisor, keyed on exchange rate units (\\\"price in\\\").\\n\\n```json\\n{ \\n  \\\"USDBTC\\\" : {\\n    \\\"USD\\\" : 3601.86255,\\n    \\\"BTC\\\" : 0.0002776341368162\\n  } \\n}\\n```\"\n  },\n  \"cols\": 2,\n  \"rows\": 3\n}\n[/block]","excerpt":"","slug":"live-exchange-rates","type":"endpoint","title":"Exchange Rates"}

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Query Params

as:
stringDIVISOR
One of `DIVISOR`, `MULTIPLIER`, or `PRICED`. Dictates the structure and meaning of the numbers in the response

Result Format


Documentation

We offer an exchange rates endpoint which provides the current Wyre brokering rate. This is approximately the exchange rate that will be used for any relatively small exchange through our platform (larger exchanges may give different rates depending on market depth). It is a good way to track the Wyre exchange rates over time. The ordering of the trade pair in the key represents the direction of an exchange. For example, `CADUSD` is the rate used for CAD into USD conversions (e.g. the sell rate). On the other hand, converting USD into CAD (the buy rate) would use the opposite rate under `USDCAD`. [block:callout] { "type": "info", "body": "If you're not seeing a pair you were hoping (or expecting) to, please [let us know](mailto:support@sendwyre.com)", "title": "Missing your favorite currency or asset pairs?" } [/block] [block:api-header] { "title": "Rate Format" } [/block] [block:parameters] { "data": { "0-0": "`DIVISOR` (default)", "0-1": "Exchange rate as a single number:\n\n`starting total / rate = result total`", "1-0": "`MULTIPLIER`", "1-1": "Exchange rate as a single number:\n\n`starting total * rate = result total`", "2-0": "`PRICED`", "2-1": "Exchange rate as multiplier and divisor, keyed on exchange rate units (\"price in\").\n\n```json\n{ \n \"USDBTC\" : {\n \"USD\" : 3601.86255,\n \"BTC\" : 0.0002776341368162\n } \n}\n```" }, "cols": 2, "rows": 3 } [/block]