curl --request GET \
--url https://gateway-sandbox.matambaintelligence.com/v1/orders \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://gateway-sandbox.matambaintelligence.com/v1/orders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://gateway-sandbox.matambaintelligence.com/v1/orders"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://gateway-sandbox.matambaintelligence.com/v1/orders"
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))
}{
"object": "list",
"has_more": false,
"next_cursor": null,
"data": [
{
"object": "order",
"id": "ord_7kq2m4xw5pz3ncvha6de",
"state": "pending",
"account": "1000000001",
"symbol": "STANBICETF30",
"side": "buy",
"quantity": 50,
"type": "limit",
"time_in_force": "day",
"price_kobo": 12000,
"filled_quantity": 0,
"exchange_order_id": "1790316761507",
"reason": null,
"reject_reason": null,
"created_at": "2026-09-25T06:20:11Z",
"updated_at": "2026-09-25T06:20:11Z",
"filled_at": null,
"average_fill_price_kobo_decimal": null,
"client_reference": null
},
{
"object": "order",
"id": "ord_62jxryztxctob7uopekg",
"state": "filled",
"account": "1000000001",
"symbol": "DANGCEM",
"side": "buy",
"quantity": 10,
"type": "market",
"time_in_force": "day",
"price_kobo": null,
"filled_quantity": 10,
"exchange_order_id": "1790316754123",
"reason": null,
"reject_reason": null,
"created_at": "2026-09-25T06:12:34Z",
"updated_at": "2026-09-25T06:13:02Z",
"filled_at": "2026-09-25T06:13:02Z",
"average_fill_price_kobo_decimal": "47500",
"client_reference": null
}
]
}List your orders
Returns your orders, newest first. If you place an order while you paginate, it appears before the first page and doesn’t shift the pages that follow. Filters narrow the list and can be combined. Keep the same filters for every page. Requires the read scope.
curl --request GET \
--url https://gateway-sandbox.matambaintelligence.com/v1/orders \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://gateway-sandbox.matambaintelligence.com/v1/orders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://gateway-sandbox.matambaintelligence.com/v1/orders"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://gateway-sandbox.matambaintelligence.com/v1/orders"
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))
}{
"object": "list",
"has_more": false,
"next_cursor": null,
"data": [
{
"object": "order",
"id": "ord_7kq2m4xw5pz3ncvha6de",
"state": "pending",
"account": "1000000001",
"symbol": "STANBICETF30",
"side": "buy",
"quantity": 50,
"type": "limit",
"time_in_force": "day",
"price_kobo": 12000,
"filled_quantity": 0,
"exchange_order_id": "1790316761507",
"reason": null,
"reject_reason": null,
"created_at": "2026-09-25T06:20:11Z",
"updated_at": "2026-09-25T06:20:11Z",
"filled_at": null,
"average_fill_price_kobo_decimal": null,
"client_reference": null
},
{
"object": "order",
"id": "ord_62jxryztxctob7uopekg",
"state": "filled",
"account": "1000000001",
"symbol": "DANGCEM",
"side": "buy",
"quantity": 10,
"type": "market",
"time_in_force": "day",
"price_kobo": null,
"filled_quantity": 10,
"exchange_order_id": "1790316754123",
"reason": null,
"reject_reason": null,
"created_at": "2026-09-25T06:12:34Z",
"updated_at": "2026-09-25T06:13:02Z",
"filled_at": "2026-09-25T06:13:02Z",
"average_fill_price_kobo_decimal": "47500",
"client_reference": null
}
]
}Authorizations
Query Parameters
Only orders in this state.
sending: stored, and the send is in progress. If it still reads sending after its request has ended, its outcome was not recorded: it resolves as an uncertain order does, and an identical order is refused with 409 similar_order_unresolved until then. pending: the exchange has the order. partially_filled, filled: some or all of the order has traded. uncertain: the exchange did not confirm receipt. The gateway does not resubmit it, and our operations team reconciles it against the exchange's records. Until it resolves, an identical order on the same account is refused with 409 similar_order_unresolved. rejected: the broker or the exchange rejected it; see reject_reason. refused: it never reached the exchange: we refused it before sending, or our operations team confirmed the exchange never received it. cancelled: the exchange confirmed the cancel. expired: its time in force ran out. New values can be added: handle an unrecognised value with a safe default.
sending, pending, partially_filled, filled, uncertain, rejected, refused, cancelled, expired Only the ones you sent with this client_reference, matched exactly.
Your own reference for this, such as your internal ID, so you can find it again. 1 to 64 printable ASCII characters, with no spaces, matched exactly. We store it and return it. It's part of the request an Idempotency-Key stands for, so a retry with a different client_reference returns 409. Never put personal data in it: no names, phone numbers, email addresses, BVN, NIN or account numbers of your customers.
1 - 64^[!-~]{1,64}$"ord-88213"
Response
A page of orders.