Get one live open order
curl --request GET \
--url https://api.portfobit.com/api/v1/accounts/{account_id}/open-orders/{venue_order_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.portfobit.com/api/v1/accounts/{account_id}/open-orders/{venue_order_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.portfobit.com/api/v1/accounts/{account_id}/open-orders/{venue_order_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.portfobit.com/api/v1/accounts/{account_id}/open-orders/{venue_order_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.portfobit.com/api/v1/accounts/{account_id}/open-orders/{venue_order_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.portfobit.com/api/v1/accounts/{account_id}/open-orders/{venue_order_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.portfobit.com/api/v1/accounts/{account_id}/open-orders/{venue_order_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"account_id": "acc_01H8XFK9A",
"venue": "binance",
"venue_order_id": "12345",
"client_order_id": "cli_123",
"symbol": "BTC/USDT",
"type": "stop_loss_limit",
"time_in_force": "GTC",
"side": "sell",
"status": "open",
"price": "59000",
"amount": "0.1",
"filled": "0.02",
"remaining": "0.08",
"average": "59950",
"cost": "1199",
"fee": {
"cost": "1.199",
"currency": "USDT",
"rate": "0.001"
},
"reduce_only": true,
"post_only": false,
"trigger_price": "60000",
"stop_loss_price": "59000",
"take_profit_price": "65000",
"placed_at": "2026-08-07T08:00:00Z",
"last_trade_at": "2026-08-07T08:00:30Z"
},
"meta": {
"as_of": "2026-08-07T08:01:00Z",
"request_id": "req_01J2K8B7QW",
"generated_at": "2026-08-07T08:01:00Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"request_id": "<string>",
"generated_at": "2023-11-07T05:31:56Z"
}
}Activity
Get one live open order
Requires order:read. venue_order_id is the CEX ID, not a local ord_* history ID.
GET
/
accounts
/
{account_id}
/
open-orders
/
{venue_order_id}
Get one live open order
curl --request GET \
--url https://api.portfobit.com/api/v1/accounts/{account_id}/open-orders/{venue_order_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.portfobit.com/api/v1/accounts/{account_id}/open-orders/{venue_order_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.portfobit.com/api/v1/accounts/{account_id}/open-orders/{venue_order_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.portfobit.com/api/v1/accounts/{account_id}/open-orders/{venue_order_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.portfobit.com/api/v1/accounts/{account_id}/open-orders/{venue_order_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.portfobit.com/api/v1/accounts/{account_id}/open-orders/{venue_order_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.portfobit.com/api/v1/accounts/{account_id}/open-orders/{venue_order_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"account_id": "acc_01H8XFK9A",
"venue": "binance",
"venue_order_id": "12345",
"client_order_id": "cli_123",
"symbol": "BTC/USDT",
"type": "stop_loss_limit",
"time_in_force": "GTC",
"side": "sell",
"status": "open",
"price": "59000",
"amount": "0.1",
"filled": "0.02",
"remaining": "0.08",
"average": "59950",
"cost": "1199",
"fee": {
"cost": "1.199",
"currency": "USDT",
"rate": "0.001"
},
"reduce_only": true,
"post_only": false,
"trigger_price": "60000",
"stop_loss_price": "59000",
"take_profit_price": "65000",
"placed_at": "2026-08-07T08:00:00Z",
"last_trade_at": "2026-08-07T08:00:30Z"
},
"meta": {
"as_of": "2026-08-07T08:01:00Z",
"request_id": "req_01J2K8B7QW",
"generated_at": "2026-08-07T08:01:00Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"request_id": "<string>",
"generated_at": "2023-11-07T05:31:56Z"
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Connected CEX account ID.
CEX live-order ID, not a local order-history ID.
Query Parameters
CCXT unified symbol.