GET
/
pools
/
conversionRates
/
latest
/
{poolId}
Get the latest candlestick data for pool by id
curl --request GET \
  --url https://api.saucerswap.finance/pools/conversionRates/latest/{poolId} \
  --header 'x-api-key: <x-api-key>'
{
  "poolId": 1,
  "open": 0.0482115316666979,
  "high": 0.0482115316666979,
  "low": 0.04819650172584323,
  "close": 0.04819650172584323,
  "avg": 118.56339424557434,
  "volume": "0",
  "liquidity": "9668737245792",
  "volumeUsd": "0",
  "liquidityUsd": "4653.53",
  "timestampSeconds": 1697618460,
  "startTimestampSeconds": 1697616000
}
Hedera NetworkBase URL
Mainnethttps://api.saucerswap.finance
Testnethttps://test-api.saucerswap.finance
PreviewnetNot supported

Headers

x-api-key
string
default:875e1017-87b8-4b12-8301-6aa1f1aa073b
required

API key for authentication. The demo api key provided is globally rate limited. Do not use in production.

Path Parameters

poolId
integer
required

SaucerSwap pool id

Example:

1

Query Parameters

interval
enum<string>
required

Data interval

Available options:
FIVEMIN,
HOUR,
DAY,
WEEK
Example:

"HOUR"

inverted
boolean
default:false

Invert the data?

Response

200 - application/json

Successful response

poolId
integer
required

Saucerswap pool id

Example:

1

open
number
required

The open price of the token in tinybars (i.e. first minutely observation over the INTERVAL)

Example:

0.0482115316666979

high
number
required

The high price of the token over the INTERVAL, in tinybars

Example:

0.0482115316666979

low
number
required

The low price of the token over the INTERVAL, in tinybars

Example:

0.04819650172584323

close
number
required

The close price of the token over the INTERVAL, in tinybars

Example:

0.04819650172584323

avg
number
required

The (minutely) avg price of the token over the INTERVAL, in tinybars

Example:

118.56339424557434

volume
string
required

The sum of total volume traded of the token over the INTERVAL, in tinybars

Example:

"0"

liquidity
string
required

The point in time liquidity of the token, as of timestampSeconds (the end timestamp of the INTERVAL), in tinybars

Example:

"9668737245792"

volumeUsd
string
required

The sum of total volume traded of the token over the INTERVAL, in USD

Example:

"0"

liquidityUsd
string
required

The point in time liquidity of the token, as of timestampSeconds (the end timestamp of the INTERVAL), in USD

Example:

"4653.53"

timestampSeconds
integer
required

The end unix timestamp of the INTERVAL, in seconds

Example:

1697618460

startTimestampSeconds
integer
required

The start unix timestamp of the INTERVAL, in seconds

Example:

1697616000