My Order Queue
TIP
hen resources are tight, orders may be queued. If you don't want to wait, you can request the Cancel Order interface to cancel the order 5 minutes after placing the order.
API Method
GET /v2/order/queue
Request params
Field | Position | Type | Required | Description |
---|---|---|---|---|
page | query | integer | true | Page |
Responses
Field | Type | Required | Description |
---|---|---|---|
code | integer | true | Response code |
msg | string | true | Code description |
request_id | string | true | |
data | []BuyOrderDetail | false |
Response example
{
"code": 0,
"msg": "Success",
"request_id": "55d48da4-f83d-483a-a104-3565b7c1d5f6",
"data": [
{
"order_no": "2408223529424189440100",
"order_type": 0,
"resource_type": 1,
"receive_address": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"price_in_sun": 105,
"freeze_time": 0,
"create_time": 1724320907,
"resource_value": 32000,
"frozen_resource_value": 0,
"rent_duration": 10,
"rent_time_unit": "m",
"rent_time_second": 600,
"rent_expire_time": 0,
"frozen_tx_id": "",
"pay_time": 1724320907,
"pay_amount": 3.92,
"refund_amount": 0,
"refund_time": 0,
"is_split": 0,
"is_lock": 1,
"lock_period": 200,
"status": 4,
"business_status": 1
}
],
"pagination": {
"page": 1,
"page_size": 20,
"has_more": false
}
}
Code demo
curl --location --request GET 'https://feee.io/open/v2/order/queue?page=<page>' \
--header 'key: <key>' \
--header 'User-Agent: Feee.io Client/1.0.0 (https://feee.io)'
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://feee.io/open/v2/order/queue?page=%3Cpage%3E"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("key", "<key>")
req.Header.Add("User-Agent", "Feee.io Client/1.0.0 (https://feee.io)")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://feee.io/open/v2/order/queue?page=%3Cpage%3E',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'key: <key>',
'User-Agent: Feee.io Client/1.0.0 (https://feee.io)'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import http.client
conn = http.client.HTTPSConnection("feee.io")
payload = ''
headers = {
'key': '<key>',
'User-Agent': 'Feee.io Client/1.0.0 (https://feee.io)'
}
conn.request("GET", "/open/v2/order/queue?page=%3Cpage%3E", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("https://feee.io/open/v2/order/queue?page=<page>")
.method("GET", body)
.addHeader("key", "<key>")
.addHeader("User-Agent", "Feee.io Client/1.0.0 (https://feee.io)")
.build();
Response response = client.newCall(request).execute();