Network & price
Latest price
The latest price, in US dollars or the currency asked for. Testnets: always 0.00000000.
get/price/{network}
Request
- Base URL: https://sochain.com/api/v3
- URL: https://sochain.com/api/v3/price/{network}
- Auth: one of:
- none
- API key in header API-KEY
- API key in query parameter api_key
Path parameters
network'BTC' | 'LTC' | 'DOGE' | 'ZEC' | 'BTCTEST' | 'LTCTEST' | 'DOGETEST' | 'ZECTEST' required
Network code (any case).
Query parameters
currency'AUD' | 'BRL' | 'CAD' | 'CHF' | 'CNY' | 'CZK' | 'DKK' | 'EUR' | 'GBP' | 'HKD' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'ISK' | 'JPY' | 'KRW' | 'MXN' | 'MYR' | 'NOK' | 'NZD' | 'PHP' | 'PLN' | 'RON' | 'SEK' | 'SGD' | 'THB' | 'TRY' | 'USD' | 'ZAR'
Prices in this currency instead of US dollars (any case). Not a filter: on the paged endpoints it keeps the form you'd get without it.
Response
Success.
Example response
{
"data": {
"value": "0.00024300"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.