The current BTC->Fiat rate can be retrieved in https://quote.coins.ph/v1/markets.
{"meta":
{
"total_count":8,
"next_page":null,
"previous_page":null
},
"markets":[
{
"symbol":"BTC-CLP",
"currency":
"CLP",
"product":"BTC",
"bid":"1000000",
"ask":"1000000",
"expires_in_seconds":0
},
{"symbol":"BTC-HKD",
"currency":"HKD",
"product":"BTC",
"bid":"1839.63",
"ask":"1876.42",
"expires_in_seconds":18
},
{
"symbol":"BTC-IDR",
"currency":"IDR",
"product":"BTC",
"bid":"3033900",
"ask":"3092742",
"expires_in_seconds":18
},
{
"symbol":"BTC-MYR",
"currency":"MYR",
"product":"BTC",
"bid":"855.85",
"ask":"872.96",
"expires_in_seconds":18
},{
"symbol":"BTC-PHP"
,"currency":"PHP",
"product":"BTC",
"bid":"10604",
"ask":"10731",
"expires_in_seconds":18
},
{
"symbol":"BTC-THB",
"currency":"THB",
"product":"BTC",
"bid":"7630.9",
"ask":"7837.79",
"expires_in_seconds":18
},{
"symbol":"BTC-TWD",
"currency":"TWD",
"product":"BTC",
"bid":"7294.66",
"ask":"7367.6",
"expires_in_seconds":18
},{
"symbol":"BTC-VND",
"currency":"VND",
"product":"BTC",
"bid":"5145595",
"ask":"5197051",
"expires_in_seconds":18
}
]
}
A particular market rate can be retrieved by specifying its symbol, for example https://quote.coins.ph/v1/markets/BTC-PHP
{
"market":{
"symbol":"BTC-PHP",
"currency":"PHP",
"product":"BTC",
"bid":"10596",
"ask":"10723",
"expires_in_seconds":9
}
}
Properties
- symbol - Market symbol, which is a unique identifier for the exchange rate.
- currency - The currency to be exchanged to produce one unit of
product
. - product - The currency produced when the required amount of
currency
is exchanged. - bid - The price per unit when
product
is being exchanged forcurrency
. - ask - The price per unit when
currency
is being exchanged forproduct
. - expires_in_seconds - The amount of seconds before the quote expires.