Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 762 Bytes

README.md

File metadata and controls

40 lines (34 loc) · 762 Bytes

A price Oracle that can give you accurate average price data from multiple sources - built for high availability and redundancy

API Endpoints:

/api/v1/currencies

  • returns all the collected data we have for other tickers against pivx

/api/v1/price/{ticker}

  • returns the collected market data we have for the selected {ticker}

Returns in this format:

[
  {
  "currency": "USD",
  "value": 0.55,
  "last_updated": 0 // just the timestamp this data was last updated successfully
  },
 ...
]

/api/v1/historical/{currency}

Returns in this format:

[
    {
        "timestamp": 1723563825,
        "value": 0.19862725
    },
    {
        "timestamp": 1723567431,
        "value": 0.20194085
    },
    ...
]