Skip to main content
POST
candleSnapshot

Authorizations

X-API-KEY
string
header
required

API key to access the API (Optional)

Query Parameters

chainId
enum<number>
default:999
required

Unique identifier for a blockchain network.

Available options:
999,
998
Example:

999

provider
enum<string>

Specify which provider to use. The project's provider priority list is used by default if no providers are selected. (Priority list can be managed on Uniblock's dashboard)

Available options:
Dwellir,
Chainstack,
Covalent

Body

application/json
type
enum<string>
default:candleSnapshot
required
Available options:
candleSnapshot
Example:

"candleSnapshot"

req
object
required

The candle query.

Response

200 - application/json

Successful response.

t
number
required

Open time, epoch ms.

Example:

1704067200000

T
number
required

Close time, epoch ms.

Example:

1704070800000

s
string
required

Coin symbol.

Example:

"BTC"

i
string
required

Interval.

Example:

"1h"

o
string
required

Open price.

Example:

"63000.0"

c
string
required

Close price.

Example:

"63500.0"

h
string
required

High price.

Example:

"63800.0"

l
string
required

Low price.

Example:

"62900.0"

v
string
required

Volume.

Example:

"1234.5"

n
number
required

Trade count.

Example:

42

Example: