Skip to main content
GET
/
transactions
/
v2
/
fetch_all_transactions
Get All Transactions
curl --request GET \
  --url https://api.linkio.world/transactions/v2/fetch_all_transactions \
  --header 'ngnc-sec-key: <api-key>'
import requests

url = "https://api.linkio.world/transactions/v2/fetch_all_transactions"

headers = {"ngnc-sec-key": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {'ngnc-sec-key': '<api-key>'}};

fetch('https://api.linkio.world/transactions/v2/fetch_all_transactions', 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.linkio.world/transactions/v2/fetch_all_transactions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"ngnc-sec-key: <api-key>"
],
]);

$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.linkio.world/transactions/v2/fetch_all_transactions"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("ngnc-sec-key", "<api-key>")

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.linkio.world/transactions/v2/fetch_all_transactions")
.header("ngnc-sec-key", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.linkio.world/transactions/v2/fetch_all_transactions")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["ngnc-sec-key"] = '<api-key>'

response = http.request(request)
puts response.read_body
{
  "status": "Success",
  "message": "Transactions retrieved.",
  "summary": {
    "total_transactions": 150,
    "total_deposits": 90,
    "total_withdrawals": 60
  },
  "transactions": [
    {
      "business_id": "<string>",
      "transaction_reference": "link-otc-12345678",
      "amount": 123,
      "currency": "NGN",
      "stable": "USDC",
      "payout_amount": 123,
      "rate": 123,
      "payment_method": "NIP",
      "transaction_status": "pending",
      "transaction_date": "June 05, 2026 14:30:00"
    }
  ],
  "pagination": {
    "total": 347,
    "page": 1,
    "limit": 20,
    "total_pages": 18
  }
}
{
"status": "Failed",
"message": "Invalid 'from' date."
}

Authorizations

ngnc-sec-key
string
header
default:""
required

Query Parameters

type
enum<string>

Filter by transaction direction. Omit to return both onramp and offramp transactions.

Available options:
onramp,
offramp
page
integer
default:1

Page number (1-based). Defaults to 1.

Required range: x >= 1
limit
integer
default:20

Number of transactions per page. Defaults to 20, maximum 100.

Required range: 1 <= x <= 100
status
enum<string>

Filter by transaction status. Omit to return transactions of all statuses.

Available options:
Completed,
Failed,
Cancelled
from
string<date>

Start of date range (ISO 8601, e.g. 2026-01-01). Inclusive.

Example:

"2026-01-01"

to
string<date>

End of date range (ISO 8601, e.g. 2026-06-30). Inclusive — covers the full day up to 23:59:59.

Example:

"2026-06-30"

Response

Transactions retrieved successfully.

status
string
Example:

"Success"

message
string
Example:

"Transactions retrieved."

summary
object
transactions
object[]
pagination
object