🟨List Limit Order

List all limit orders placed so far

API https://api.autosnipe.ai/sniper-api/limit/orders

Request Method Get

Request Headers

Name
Value

x-autosnipe-apikey

<YOUR_API_KEY>

x-autosnipe-signature

generated Signature

Content-Type

'application/json'

Request Params

Name
Type
Description

page

number

0 - default

type

number

0 - buy, 1 - sell, default - both

Response Params

{
    "status": 1,
    "message": "Success!",
    "data": {
        "resSelLimitOrders": [
            {
                "id": <limitOrderId>,
                "user_id": <user_id>,
                "token_id": <token_id>,
                "token_address": "<token_address>",
                "chain_id": 0,
                "amount": "<amount>",
                "type": <>,
                "rate": "<rate>",
                "jito_tip": "<>",
                "status": 0,
                "create_date": "2024-07-26T01:48:06.000Z",
                "is_pump": <>,
                "expiry_date": <>,
            }
        ],
        "isNext": false
    }
}
let body = {page}
callAuthAPI("/limit/orders", body, "GET")

Last updated