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

# Fetch Transaction Data

GET https://heimdall.eka.io/#get9

### Fetch Transaction Data

**Endpoint:** `{{host}}/apis/external/transaction/fetchTransactionData`\
**Method:** GET

This endpoint is used to retrieve transaction data based on specified parameters such as date range, status, and type. The request allows users to filter transactions by providing the following query parameters:

* **offset**: The starting point for the returned data, useful for pagination.

* **pageSize**: The number of records to return in the response.

* **start\_date**: The beginning of the date range for filtering transactions (in Unix timestamp format).

* **end\_date**: The end of the date range for filtering transactions (in Unix timestamp format).

* **status**: The status of the transactions to filter (e.g., completed).

* **type**: The type of transaction to retrieve (e.g., invoice).

* **incrementalDataOnly**: A flag indicating whether to return only data that has changed since the last request.

The response will include the transaction data that matches the specified criteria, along with pagination details such as the current page and total number of pages. In the last execution, the response indicated no transactions were found within the provided parameters.

Reference: https://open-api-docs.dice.tech/dice-standardized-ap-is-v-2-copy/transactions/fetch-transaction-data

## Servers

- `https://heimdall.eka.io` (https://heimdall.eka.io, default)
- `https://heimdall.eka.ioapis` (https://heimdall.eka.ioapis)

## Response

### 200

Successful response

## Examples

**Response**

```json
{}
```

**SDK Code**

```python
import requests

url = "https://heimdall.eka.io/#get9"

response = requests.get(url)

print(response.json())
```

```javascript
const url = 'https://heimdall.eka.io/#get9';
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://heimdall.eka.io/#get9"

	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://heimdall.eka.io/#get9")

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://heimdall.eka.io/#get9")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://heimdall.eka.io/#get9');

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

```csharp
using RestSharp;

var client = new RestClient("https://heimdall.eka.io/#get9");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://heimdall.eka.io/#get9")! 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()
```