> This page is for Taurus PROTECT, version v3.38.
> For other versions, use one of these documentation indexes:
> - v3.58 (default): https://taurushq.ferndocs.com/protect-capital/v3.58/llms.txt
> - v3.56: https://taurushq.ferndocs.com/protect-capital/v3.56/llms.txt
> - v3.54: https://taurushq.ferndocs.com/protect-capital/v3.54/llms.txt
> - v3.52: https://taurushq.ferndocs.com/protect-capital/v3.52/llms.txt
> - v3.50: https://taurushq.ferndocs.com/protect-capital/v3.50/llms.txt
> - v3.48: https://taurushq.ferndocs.com/protect-capital/v3.48/llms.txt
> - v3.46: https://taurushq.ferndocs.com/protect-capital/v3.46/llms.txt
> - v3.44: https://taurushq.ferndocs.com/protect-capital/v3.44/llms.txt
> - v3.42: https://taurushq.ferndocs.com/protect-capital/v3.42/llms.txt
> - v3.40: https://taurushq.ferndocs.com/protect-capital/v3.40/llms.txt
> - v3.38: https://taurushq.ferndocs.com/protect-capital/v3.38/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://taurushq.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://taurushq.ferndocs.com/_mcp/server.

# List transactions

GET https://your-protect-instance.example.com/api/rest/v1/transactions

This endpoint returns a list of transactions

Reference: https://taurushq.ferndocs.com/protect-capital/reference/transactions/list

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Query parameters

- `currency` (string, optional) — Filter on ID or symbol of the currency
- `direction` (string, optional)
- `query` (string, optional) — Filter by query string in any of the fields address, customerid, transactionid, hash, type.
- `limit` (long, optional)
- `offset` (long, optional)
- `from` (datetime, optional)
- `to` (datetime, optional)
- `transactionIds` (list of string, optional) — Filter on Protect internal transactionID. This is purely internal and should rarely be used by clients
- `type` (string, optional)
- `source` (string, optional) — Returns only transaction that have this address as a source
- `destination` (string, optional) — Returns only transaction that have this address as a destination
- `ids` (list of string, optional) — Filter on Protect transaction ID, as visible in the transaction objects.
- `blockchain` (string, optional)
- `network` (string, optional)
- `fromBlockNumber` (string, optional)
- `toBlockNumber` (string, optional)
- `hashes` (list of string, optional) — Filter on transaction hash, as visible in the transaction objects.
- `address` (string, optional) — Returns only transaction that have this address as either a source or a destination
- `amountAbove` (string, optional) — Returns only transactions with an amount strictly above the given amount
- `excludeUnknownSourceDestination` (boolean, optional) — Returns only transactions with a known source and destination, default false

## Response

### 200

A successful response.

- `result` (list of tgvalidatordTransaction, optional)
- `totalItems` (string, optional)

## Errors

### 400 Bad Request Error

Bad Request: indicates that the server cannot or will not process the request due to something that is perceived to be a client error (for example, malformed request syntax, invalid request message framing, or deceptive request routing)

- `any`

### 401 Unauthorized Error

Unauthorized: indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource

- `any`

### 403 Forbidden Error

Forbidden: indicates that the server understands the request but refuses to authorize it

- `any`

### 404 Not Found Error

Not Found: indicates that the server cannot find the requested resource

- `any`

### 500 Internal Server Error

Internal Server Error: indicates that the server encountered an unexpected condition that prevented it from fulfilling the request

- `any`

### 503 Service Unavailable Error

Service Unavailable: indicates that the server is not ready to handle the request.

- `any`

## Types

### tgvalidatordTransaction

- `id` (string, optional)
- `direction` (string, optional)
- `currency` (string, optional)
- `sources` (list of tgvalidatordAddressInfo, optional)
- `destinations` (list of tgvalidatordAddressInfo, optional)
- `amount` (string, optional) — Amount in the smallest currency unit, based on the currency decimals. Example: 1500000000000000000 WEI (smallest ETH unit) corresponds to 1.5 ETH (ETH has 18 decimals places)
- `amountMainUnit` (string, optional)
- `fee` (string, optional)
- `feeMainUnit` (string, optional)
- `hash` (string, optional)
- `block` (string, optional)
- `receptionDate` (datetime, optional)
- `confirmationDate` (datetime, optional)
- `transactionId` (string, optional)
- `type` (string, optional)
- `uniqueId` (string, optional)
- `blockchain` (string, optional)
- `arg1` (string, optional) — If set, serves as a sub-identifier to the blockchain field for the type of resource this transaction relates to. Typically a contract address.
- `arg2` (string, optional) — If set, serves as a sub-identifier to the arg1 field for the type of resource this transaction relates to. Typically a token ID.
- `currencyInfo` (tgvalidatordCurrency, optional)
- `network` (string, optional)
- `requestId` (string, optional) — If set, contains the request ID that this transaction originated from.
- `confirmationBlock` (string, optional)
- `requestVisible` (boolean, optional) — Indicates whether the requestId value refers to a request that is visible to the user.
- `travelRule` (tgvalidatordTravelRule, optional)
- `status` (string, optional) — [NEW, SUCCESS, PENDING, TEMPORARY_FAILURE, INVALID, TIMEOUT, MINED, LOST, EXPIRED]
- `platformFees` (list of tgvalidatordPlatformFee, optional) — Platform fees on transactions such as exchange withdrawals.
- `attributes` (list of tgvalidatordTransactionAttribute, optional) — A list of key-value transaction attributes.

### tgvalidatordAddressInfo

- `address` (string, optional)
- `label` (string, optional) — Label of the address if it is known to Taurus-PROTECT (i.e. if it's an internal or a whitelisted address)
- `container` (string, optional)
- `customerId` (string, optional)
- `amount` (string, optional) — Amount in the smallest currency unit, based on the currency decimals. Example: 1500000000000000000 WEI (smallest ETH unit) corresponds to 1.5 ETH (ETH has 18 decimals places)
- `amountMainUnit` (string, optional)
- `type` (string, optional) — The type of the transaction element (one of source or destination)
- `idx` (string, optional)
- `internalAddressId` (string, optional) — ID of the internal address, if the address is an internal one. Otherwise this field is left empty (or 0)
- `whitelistedAddressId` (string, optional) — ID of the whitelisted address, if the address is an whitelisted one. Otherwise this field is left empty (or 0)
- `scores` (list of tgvalidatordTransactionScore, optional) — Transaction scores related to this address (only for destinations). Up to one score per [KYT provider, score type].

### tgvalidatordCurrency

- `name` (string, optional)
- `symbol` (string, optional)
- `coinTypeIndex` (string, optional)
- `blockchain` (string, optional)
- `isToken` (boolean, optional)
- `isERC20` (boolean, optional)
- `decimals` (string, optional)
- `contractAddress` (string, optional)
- `hasStaking` (boolean, optional)
- `isUTXOBased` (boolean, optional)
- `isAccountBased` (boolean, optional)
- `isFiat` (boolean, optional)
- `isFA12` (boolean, optional)
- `isFA20` (boolean, optional)
- `isNFT` (boolean, optional)
- `enabled` (boolean, optional)
- `id` (string, optional)
- `displayName` (string, optional)
- `type` (string, optional)
- `wlcaId` (string, optional)
- `network` (string, optional)
- `tokenID` (string, optional)
- `logo` (string, optional) — Data URI Scheme (e.g. 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==')

### tgvalidatordTravelRule

- `originatorPersonTravelRuleData` (tgvalidatordPersonTravelRuleData, optional)
- `originatorCompanyTravelRuleData` (tgvalidatordCompanyTravelRuleData, optional)
- `beneficiaryCompanyTravelRuleData` (tgvalidatordCompanyTravelRuleData, optional)
- `beneficiaryPersonTravelRuleData` (tgvalidatordPersonTravelRuleData, optional)
- `currency` (string, optional)
- `amount` (string, optional)
- `amountMainUnit` (string, optional)
- `transactionHash` (string, optional)
- `originatorParticipant` (string, optional)
- `beneficiaryParticipant` (string, optional)
- `initiationDate` (datetime, optional)
- `confirmationDate` (datetime, optional)
- `blockchain` (string, optional)
- `network` (string, optional)

### tgvalidatordPlatformFee

- `type` (string, optional) — The fee type. This can only be "exchange", but other types may be added in the future.
- `amount` (string, optional)
- `amountMainUnit` (string, optional)
- `symbol` (string, optional) — The symbol returned with the fee amount if provided.

### tgvalidatordTransactionAttribute

- `id` (string, optional)
- `key` (string, optional)
- `value` (string, optional)

### tgvalidatordTransactionScore

- `id` (string, optional)
- `provider` (string, optional)
- `type` (string, optional)
- `score` (string, optional)
- `updateDate` (datetime, optional)

### tgvalidatordPersonTravelRuleData

- `name` (string, optional)
- `houseNumber` (string, optional)
- `street` (string, optional)
- `city` (string, optional)
- `province` (string, optional)
- `postalCode` (string, optional)
- `country` (string, optional)
- `idNumber` (string, optional)
- `externalCustomerID` (string, optional)
- `birthdate` (string, optional)
- `birthPlace` (string, optional)
- `accountNumber` (string, optional)

### tgvalidatordCompanyTravelRuleData

- `department` (string, optional)
- `buildingNumber` (string, optional)
- `street` (string, optional)
- `city` (string, optional)
- `province` (string, optional)
- `postalCode` (string, optional)
- `country` (string, optional)
- `legalEntityIdentifier` (string, optional)
- `businessName` (string, optional)
- `accountNumber` (string, optional)

## Examples

**Response**

```json
{
  "result": [
    {
      "id": "string",
      "direction": "string",
      "currency": "string",
      "sources": [
        {
          "address": "string",
          "label": "string",
          "container": "string",
          "customerId": "string",
          "amount": "string",
          "amountMainUnit": "string",
          "type": "string",
          "idx": "string",
          "internalAddressId": "string",
          "whitelistedAddressId": "string",
          "scores": [
            {
              "id": "string",
              "provider": "string",
              "type": "string",
              "score": "string",
              "updateDate": "2024-01-15T09:30:00Z"
            }
          ]
        }
      ],
      "destinations": [
        {
          "address": "string",
          "label": "string",
          "container": "string",
          "customerId": "string",
          "amount": "string",
          "amountMainUnit": "string",
          "type": "string",
          "idx": "string",
          "internalAddressId": "string",
          "whitelistedAddressId": "string",
          "scores": [
            {
              "id": "string",
              "provider": "string",
              "type": "string",
              "score": "string",
              "updateDate": "2024-01-15T09:30:00Z"
            }
          ]
        }
      ],
      "amount": "string",
      "amountMainUnit": "string",
      "fee": "string",
      "feeMainUnit": "string",
      "hash": "string",
      "block": "string",
      "receptionDate": "2024-01-15T09:30:00Z",
      "confirmationDate": "2024-01-15T09:30:00Z",
      "transactionId": "string",
      "type": "string",
      "uniqueId": "string",
      "blockchain": "string",
      "arg1": "string",
      "arg2": "string",
      "currencyInfo": {
        "name": "string",
        "symbol": "string",
        "coinTypeIndex": "string",
        "blockchain": "string",
        "isToken": true,
        "isERC20": true,
        "decimals": "string",
        "contractAddress": "string",
        "hasStaking": true,
        "isUTXOBased": true,
        "isAccountBased": true,
        "isFiat": true,
        "isFA12": true,
        "isFA20": true,
        "isNFT": true,
        "enabled": true,
        "id": "string",
        "displayName": "string",
        "type": "string",
        "wlcaId": "string",
        "network": "string",
        "tokenID": "string",
        "logo": "string"
      },
      "network": "string",
      "requestId": "string",
      "confirmationBlock": "string",
      "requestVisible": true,
      "travelRule": {
        "originatorPersonTravelRuleData": {
          "name": "string",
          "houseNumber": "string",
          "street": "string",
          "city": "string",
          "province": "string",
          "postalCode": "string",
          "country": "string",
          "idNumber": "string",
          "externalCustomerID": "string",
          "birthdate": "string",
          "birthPlace": "string",
          "accountNumber": "string"
        },
        "originatorCompanyTravelRuleData": {
          "department": "string",
          "buildingNumber": "string",
          "street": "string",
          "city": "string",
          "province": "string",
          "postalCode": "string",
          "country": "string",
          "legalEntityIdentifier": "string",
          "businessName": "string",
          "accountNumber": "string"
        },
        "beneficiaryCompanyTravelRuleData": {
          "department": "string",
          "buildingNumber": "string",
          "street": "string",
          "city": "string",
          "province": "string",
          "postalCode": "string",
          "country": "string",
          "legalEntityIdentifier": "string",
          "businessName": "string",
          "accountNumber": "string"
        },
        "beneficiaryPersonTravelRuleData": {
          "name": "string",
          "houseNumber": "string",
          "street": "string",
          "city": "string",
          "province": "string",
          "postalCode": "string",
          "country": "string",
          "idNumber": "string",
          "externalCustomerID": "string",
          "birthdate": "string",
          "birthPlace": "string",
          "accountNumber": "string"
        },
        "currency": "string",
        "amount": "string",
        "amountMainUnit": "string",
        "transactionHash": "string",
        "originatorParticipant": "string",
        "beneficiaryParticipant": "string",
        "initiationDate": "2024-01-15T09:30:00Z",
        "confirmationDate": "2024-01-15T09:30:00Z",
        "blockchain": "string",
        "network": "string"
      },
      "status": "string",
      "platformFees": [
        {
          "type": "string",
          "amount": "string",
          "amountMainUnit": "string",
          "symbol": "string"
        }
      ],
      "attributes": [
        {
          "id": "string",
          "key": "string",
          "value": "string"
        }
      ]
    }
  ],
  "totalItems": "string"
}
```

**SDK Code**

```python
import requests

url = "https://your-protect-instance.example.com/api/rest/v1/transactions"

headers = {"Authorization": "Bearer <token>"}

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

print(response.json())
```

```javascript
const url = 'https://your-protect-instance.example.com/api/rest/v1/transactions';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://your-protect-instance.example.com/api/rest/v1/transactions"

	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(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://your-protect-instance.example.com/api/rest/v1/transactions")

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
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://your-protect-instance.example.com/api/rest/v1/transactions")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://your-protect-instance.example.com/api/rest/v1/transactions', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://your-protect-instance.example.com/api/rest/v1/transactions");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://your-protect-instance.example.com/api/rest/v1/transactions")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```