Index price

method url:/api/third/info/indexPrice

request type:GET

request param:

param_name

param note

type

required

data type

schema

pairName

query

true

string

response param:

param_name

param note

type

schema

data

index price

number

example:

1 Set request parameters, query params:

pairName:ETH-USD

2 Assemble the complete request

curl --location 'https://zk-test.satori.finance/api/third/info/indexPrice?pairName=ETH-USD'

3 Return results

{
    "error": false,
    "code": 200,
    "msg": "SUCCESS",
    "data": "3200.605",
    "sid": "1798295744456785921"
}

Error Code:

code

msg

1004

Data is invalid: {param0}

Last updated