Crypto Prices

API Endpoint: https://sennetai.com/api/crypto/prices/{coin_symbol}/

To get the prices from a cryptocurrency you need to make a GET request.

Curl Example

curl https://sennetai.com/api/crypto/prices/BTC/ -H 'Authorization:Token __your_api_token__'

curl https://sennetai.com/api/crypto/prices/BTC/ -H 'Authorization:Token FqWduKf7LZrhv8m28Ixd4IppRQLy4YQ0'

Response

Today: Price per five minutes
Week: Price per hour
Year: Price per day
-----------------------

{
 'today': [
   [1615623229158, 57671.70898087], [1615623589695, 57676.4355825], ...],
 'week': [
   [1615107972052, 50556.43752969], [1615111401541, 51058.03611706], ...]
 'year': [
   [1584230400000, 5214.18911218], [1584316800000, 5397.93353919], ...]
}