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

# List transactions

GET https://ramps.clixpesa.com/transactions

Lists onramp and offramp transactions associated with a blockchain address.

Reference: https://docs.clixpesa.com/api-reference/ramps-api/transactions/list-transactions

## Servers

- `https://ramps.clixpesa.com` (Production, default)
- `http://localhost:3000` (Local development and Base Sepolia mock onramp)

## Request

### Query parameters

- `address` (string, required) — Blockchain address whose ramp transactions should be returned.
- `paginated` (enum, optional)
  - Allowed values: `true`, `false`
- `page` (string, optional) — One-based page number.
- `pageSize` (string, optional) — Results per page, up to 100.

## Response

### 200

Transaction results, optionally wrapped with pagination metadata.

- `Transactions_listTransactions_Response_200`
  - list of TransactionsGetResponsesContentApplicationJsonSchemaOneOf0Items
  - TransactionsListTransactionsResponse2001

## Errors

### 422 Unprocessable Entity Error

The request could not be completed.

- `error` (string, required)

### 500 Internal Server Error

The request could not be completed.

- `error` (string, required)

## Types

### TransactionsGetResponsesContentApplicationJsonSchemaOneOf0Items

- `id` (string, required)
- `type` (TransactionsGetResponsesContentApplicationJsonSchemaOneOf0ItemsType, required)
- `amount` (string, required)
- `currency` (string, required)
- `status` (TransactionsGetResponsesContentApplicationJsonSchemaOneOf0ItemsStatus, required) — Current transaction lifecycle state.
- `createdAt` (double, required) — Unix timestamp in seconds.
- `updatedAt` (double, required) — Unix timestamp in seconds.
- `from` (string, optional, nullable)
- `to` (string, optional, nullable)
- `chain` (string, optional, nullable)
- `txHash` (string, optional, nullable)
- `paymentRail` (TransactionsGetResponsesContentApplicationJsonSchemaOneOf0ItemsPaymentRail, optional, nullable) — Rail used to collect or deliver fiat funds.
- `metadata` (TransactionsGetResponsesContentApplicationJsonSchemaOneOf0ItemsMetadata, optional, nullable)

### TransactionsListTransactionsResponse2001

- `transactions` (list of TransactionsGetResponsesContentApplicationJsonSchemaOneOf1TransactionsItems, required)
- `pagination` (TransactionsGetResponsesContentApplicationJsonSchemaOneOf1Pagination, required)

### TransactionsGetResponsesContentApplicationJsonSchemaOneOf0ItemsType

- "onramp"
- "offramp"
- "transfer"
- "deposit"
- "swap"

### TransactionsGetResponsesContentApplicationJsonSchemaOneOf0ItemsStatus

Current transaction lifecycle state.

- "pending"
- "processing"
- "complete"
- "failed"
- "cancelled"

### TransactionsGetResponsesContentApplicationJsonSchemaOneOf0ItemsPaymentRail

Rail used to collect or deliver fiat funds.

- "momo"
- "paybill"
- "sepa"
- "ach"
- "crypto"
- "wire"
- "swift"

### TransactionsGetResponsesContentApplicationJsonSchemaOneOf0ItemsMetadata

- `referenceId` (string, required)
- `refAmount` (string, optional, nullable)
- `refCurrency` (string, optional, nullable)
- `bankName` (string, optional, nullable)
- `accountName` (string, optional, nullable)
- `accountNumber` (string, optional, nullable)
- `provider` (string, optional, nullable)
- `refTxCode` (string, optional, nullable)

### TransactionsGetResponsesContentApplicationJsonSchemaOneOf1TransactionsItems

- `id` (string, required)
- `type` (TransactionsGetResponsesContentApplicationJsonSchemaOneOf1TransactionsItemsType, required)
- `amount` (string, required)
- `currency` (string, required)
- `status` (TransactionsGetResponsesContentApplicationJsonSchemaOneOf1TransactionsItemsStatus, required) — Current transaction lifecycle state.
- `createdAt` (double, required) — Unix timestamp in seconds.
- `updatedAt` (double, required) — Unix timestamp in seconds.
- `from` (string, optional, nullable)
- `to` (string, optional, nullable)
- `chain` (string, optional, nullable)
- `txHash` (string, optional, nullable)
- `paymentRail` (TransactionsGetResponsesContentApplicationJsonSchemaOneOf1TransactionsItemsPaymentRail, optional, nullable) — Rail used to collect or deliver fiat funds.
- `metadata` (TransactionsGetResponsesContentApplicationJsonSchemaOneOf1TransactionsItemsMetadata, optional, nullable)

### TransactionsGetResponsesContentApplicationJsonSchemaOneOf1Pagination

- `page` (TransactionsGetResponsesContentApplicationJsonSchemaOneOf1PaginationPage, required)
- `pageSize` (TransactionsGetResponsesContentApplicationJsonSchemaOneOf1PaginationPageSize, required)
- `offset` (TransactionsGetResponsesContentApplicationJsonSchemaOneOf1PaginationOffset, required)
- `hasNextPage` (boolean, required)

### TransactionsGetResponsesContentApplicationJsonSchemaOneOf1TransactionsItemsType

- "onramp"
- "offramp"
- "transfer"
- "deposit"
- "swap"

### TransactionsGetResponsesContentApplicationJsonSchemaOneOf1TransactionsItemsStatus

Current transaction lifecycle state.

- "pending"
- "processing"
- "complete"
- "failed"
- "cancelled"

### TransactionsGetResponsesContentApplicationJsonSchemaOneOf1TransactionsItemsPaymentRail

Rail used to collect or deliver fiat funds.

- "momo"
- "paybill"
- "sepa"
- "ach"
- "crypto"
- "wire"
- "swift"

### TransactionsGetResponsesContentApplicationJsonSchemaOneOf1TransactionsItemsMetadata

- `referenceId` (string, required)
- `refAmount` (string, optional, nullable)
- `refCurrency` (string, optional, nullable)
- `bankName` (string, optional, nullable)
- `accountName` (string, optional, nullable)
- `accountNumber` (string, optional, nullable)
- `provider` (string, optional, nullable)
- `refTxCode` (string, optional, nullable)

### TransactionsGetResponsesContentApplicationJsonSchemaOneOf1PaginationPage

- string
- integer

### TransactionsGetResponsesContentApplicationJsonSchemaOneOf1PaginationPageSize

- string
- integer

### TransactionsGetResponsesContentApplicationJsonSchemaOneOf1PaginationOffset

- string
- integer

## Examples

**Response**

```json
[
  {
    "amount": "1",
    "chain": "string",
    "createdAt": 1.1,
    "currency": "USDC",
    "from": "string",
    "id": "0xdocs-mock-onramp-001",
    "metadata": {
      "accountName": "string",
      "accountNumber": "string",
      "bankName": "string",
      "provider": "string",
      "refAmount": "string",
      "refCurrency": "string",
      "refTxCode": "string",
      "referenceId": "string"
    },
    "paymentRail": "momo",
    "status": "pending",
    "to": "string",
    "txHash": "string",
    "type": "onramp",
    "updatedAt": 1.1
  }
]
```

**SDK Code**

```python
import requests

url = "https://ramps.clixpesa.com/transactions"

querystring = {"address":"0x1111111111111111111111111111111111111111"}

response = requests.get(url, params=querystring)

print(response.json())
```

```javascript
const url = 'https://ramps.clixpesa.com/transactions?address=0x1111111111111111111111111111111111111111';
const options = {method: 'GET'};

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://ramps.clixpesa.com/transactions?address=0x1111111111111111111111111111111111111111"

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

	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://ramps.clixpesa.com/transactions?address=0x1111111111111111111111111111111111111111")

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

request = Net::HTTP::Get.new(url)

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://ramps.clixpesa.com/transactions?address=0x1111111111111111111111111111111111111111")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://ramps.clixpesa.com/transactions?address=0x1111111111111111111111111111111111111111');

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

```csharp
using RestSharp;

var client = new RestClient("https://ramps.clixpesa.com/transactions?address=0x1111111111111111111111111111111111111111");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://ramps.clixpesa.com/transactions?address=0x1111111111111111111111111111111111111111")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

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