Get user ApiKey

Rate limit: 3 every second

API Overview


HTTP method

GET

Path

/api/v2/apiKey

Summary

Get the ApiKey associated with the user's account.

API description


HTTP Header

Field Type Required Description Example
X-API-SIG string Y Signature "138345244293157165270722452892
010987433674489288289416943333
00773464291931668,192524381644
249809013234960675797674572982
626096331826549685003177960107
94338,129650216991857917204601
962488677667247381368354153200
8712357317204831986826"

Request parameters

Field Type Required Description Example
accountId integer Y AccountID 10
publicKeyX string Y Public key X "123"
publicKeyY string Y Public key X "456"

Request example

HTTP
CURL
GET https://api.loopring.io/api/v2/apiKey?accountId=10&publicKeyX=123&publicKeyY=456 HTTP/1.1
Host: api.loopring.io
Connection: keep-alive
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: zh,en;q=0.9
X-API-SIG: dkkfinfasdf
curl -H "X-API-SIG:dkkfinfasdf" https://api.loopring.io/api/v2/apiKey\?accountId\=10\&publicKeyX\=123\&publicKeyY\=456

Response fields

Field Type Required Description Example
resultInfo ResultInfo Y Information returned by the API /
data string Y ApiKey "6BJaCehh0z4ta4TW5vwo
Kyo0yk5FdXkQxpt8AStG
49aU3dMNC9jid6syyWPE
MtTt"

Response example

{
    "resultInfo" : {
        "code" : 0,
        "message" : "SUCCESS"
    },
    "data" : "6BJaCehh0z4ta4TW5vwoKyo0yk5FdXkQxpt8AStG49aU3dMNC9jid6syyWPEMtTt"
}

Status code

Value Description
100000 Unknown error
101002 User not found
104001 Empty ApiKey
104002 Invalid ApiKey
104003 Invalid Account ID
104004 No signature information provided
104005 Wrong signature information

results matching ""

    No results matching ""