Skip to main content
GET
Get platform historical liquidity or volume data

Authorizations

x-api-key
string
header
required

API key provisioned by the SaucerSwap team. Request one from [email protected] and send it in the x-api-key header with every request.

Headers

x-api-key
string
required

API key for authentication. Request a key from [email protected].

Example:

"YOUR_API_KEY"

Query Parameters

from
integer
required

From unix seconds

Example:

1697600000

to
integer
required

To unix seconds

Example:

1697610000

interval
enum<string>
default:HOUR
required

Data interval

Available options:
HOUR,
DAY,
WEEK
Example:

"HOUR"

field
enum<string>
default:LIQUIDITY
required

Data type

Available options:
LIQUIDITY,
VOLUME
Example:

"LIQUIDITY"

Response

200 - application/json

Successful response

valueHbar
string

value in Tinybar

Example:

46701854905030720

timestampSeconds
integer
Example:

1697598000