---
title: Transaction Details API
description: This API is unlike other report APIs--the Transaction Details API is a &quot;Streaming API&quot;. The API returns 1,000 records at a time. This allows the API framework to work efficiently amidst large volumes
---

[Skip to content](https://help.linktrust.com/en/knowledge/apis/version-2-affiliate/transaction-details-api#main-content)

English

Show submenu for translations

[Customer portal](https://help.linktrust.com/portal?hsLang=en)

![lt-logo.png\]](https://help.linktrust.com/hs-fs/hubfs/lt-logo.png?height=40&name=lt-logo.png)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [Customer portal](https://help.linktrust.com/portal)
- Contact us

 Contact us

 Hi, Welcome to the LinkTrust Help Center.

- There are no suggestions because the search field is empty.

1. [Help Center](https://help.linktrust.com/en/knowledge?hsLang=en)
2. [API's](https://help.linktrust.com/en/knowledge/apis?hsLang=en)
3. [Version 2 - Affiliate](https://help.linktrust.com/en/knowledge/apis?hsLang=en#version-2-affiliate)

# Transaction Details API

This API is unlike other report APIs--the Transaction Details API is a "Streaming API". The API returns 1,000 records at a time. This allows the API framework to work efficiently amidst large volumes of transaction data. When a call is made, if more than 1,000 transaction records exist for the set criteria, a "NextRowId" will be returned in the XML response. The “NextRowId” is the ID for the first record of the next 1,000 records. By including this as the “StartID” parameter in the next call, the system will return the subsequent 1,000 records. For example, if a call was made which spanned 2,300 records, the system would return 1,000 records and the “NextRowId” of “7876”. When the next call was made, by including “7876” as the “StartId”, the system would return the next 1,000 records and a “NextRowId” of “8876”. When the next call was made, “8876” would be used as the “StartId” which would return the remaining 300 records and "0" would be returned as the “NextRowId”.

### Base URL

/v2/TransactionDetails

### Parameters

*StartDate* - Required. This is the start date (starting point) to filter results by date.  Must be a valid date in the following format: MM/DD/YYYY.

*EndDate* - Required. This is the end date (endingpoint) to filter results by date.  Must be a valid date in the following format: MM/DD/YYYY.

*CampaignId* - Required. A valid Campaign ID from your account.

*StartId* - This is the Next Row ID value that is returned when the API is run for more than 1000 records. It is used to retrieve the next set of clicks.

### Example URL

https://affiliateapi.linktrust.com/v2/TransactionDetails?CampaignId={Valid campaign ID}&startDate=10/31/2013&endDate=10/31/2013

### Example XML Response

\<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns=""xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/"i:type="ConversionReport"\>

\<IsMoreAvailable\>false\</IsMoreAvailable\>

\<NextRowId\>0\</NextRowId\>

\<Transactions\>

\<ConversionTransaction\>

\<ADID\>0\</ADID\>

\<AdditionalClickData/\>

\<AffiliateRefID/\>

\<Approval\>Yes\</Approval\>

\<CID\>100000\</CID\>

\<Date\>11/05/201308:59:56\</Date\>

\<SID/\>

\<TransactionID\>PNO130-203146\</TransactionID\>

\<ClickCountry\>US\</ClickCountry\>

\<ClickDate\>11/05/201308:59:22\</ClickDate\>

\<ClickID\>11\_57\_4d5a996f-4475-46de-be86-f32a6ef6d1df\</ClickID\>

\<ClickIPAddress\>66.133.97.204\</ClickIPAddress\>

\<ClickReferrer/\>

\<ClickUserAgent\>Mozilla/5.0(Windows NT6.1; WOW64) AppleWebKit/537.36(KHTML, like Gecko) Chrome/30.0.1599.101Safari/537.36

\</ClickUserAgent\>

\<Commission\>15.33\</Commission\>

\<ConversionCountry\>US\</ConversionCountry\>

\<ConversionIPAddress\>66.133.97.204\</ConversionIPAddress\>

\<ConversionReferrer/\>

\<ConversionUserAgent\>Mozilla/5.0(Windows NT6.1; WOW64) AppleWebKit/537.36(KHTML, like Gecko) Chrome/30.0.1599.101Safari/537.36

\</ConversionUserAgent\>

\</ConversionTransaction\>

\<ConversionTransaction\>

\<ADID\>0\</ADID\>

\<AdditionalClickData/\>

\<AffiliateRefID/\>

\<Approval\>No\</Approval\>

\<CID\>100000\</CID\>

\<Date\>11/05/201309:01:15\</Date\>

\<SID/\>

\<TransactionID\>PNO130-203147\</TransactionID\>

\<ClickCountry\>US\</ClickCountry\>

\<ClickDate\>11/05/201309:00:51\</ClickDate\>

\<ClickID\>11\_58\_5fefd03e-f72c-4d10-990c-299ae0775e88\</ClickID\>

\<ClickIPAddress\>66.133.97.204\</ClickIPAddress\>

\<ClickReferrer/\>

\<ClickUserAgent\>Mozilla/5.0(Windows NT6.1; WOW64) AppleWebKit/537.36(KHTML, like Gecko) Chrome/30.0.1599.101Safari/537.36

\</ClickUserAgent\>

\<Commission\>15.33\</Commission\>

\<ConversionCountry\>US\</ConversionCountry\>

\<ConversionIPAddress\>66.133.97.204\</ConversionIPAddress\>

\<ConversionReferrer/\>

\<ConversionUserAgent\>Mozilla/5.0(Windows NT6.1; WOW64) AppleWebKit/537.36(KHTML, like Gecko) Chrome/30.0.1599.101Safari/537.36

\</ConversionUserAgent\>

\</ConversionTransaction\>

\</Transactions\>

\</z:anyType\>

Example JSON Response

{  
Transactions: \[2\]0:  {  
Commission: "15.33"  
ClickDate: "11/05/2013 08:59:22"  
ClickID: "11\_57\_4d5a996f-4475-46de-be86-f32a6ef6d1df"  
ClickIPAddress: "66.133.97.204"  
ClickCountry: "US"  
ConversionIPAddress: "66.133.97.204"  
ConversionCountry: "US"  
ClickReferrer: ""  
ClickUserAgent: "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36"  
ConversionReferrer: ""  
ConversionUserAgent: "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36"  
TransactionID: "PNO130-203146"  
Date: "11/05/2013 08:59:56"  
CID: 100000  
Approval: "Yes"  
ADID: 0  
SID: ""  
AffiliateRefID: ""  
AdditionalClickData: \[0\]  
}  
-1: {  
Commission: "15.33"  
ClickDate: "11/05/2013 09:00:51"  
ClickID: "11\_58\_5fefd03e-f72c-4d10-990c-299ae0775e88"  
ClickIPAddress: "66.133.97.204"  
ClickCountry: "US"  
ConversionIPAddress: "66.133.97.204"  
ConversionCountry: "US"  
ClickReferrer: ""  
ClickUserAgent: "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36"  
ConversionReferrer: ""  
ConversionUserAgent: "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36"  
TransactionID: "PNO130-203147"  
Date: "11/05/2013 09:01:15"  
CID: 100000  
Approval: "No"  
ADID: 0  
SID: ""  
AffiliateRefID: ""  
AdditionalClickData: \[0\]  
}  
IsMoreAvailable: false  
NextRowId: 0  
}

 

You can[request a demo](https://linktrust.com/request-demo/) to see LinkTrust up close and experience how it can help you, or[start your free 14-day trial](https://linktrust.com/free-trial/) now.

Need help with this feature or have questions? You can contact our support team at [support@linktrust.com](mailto:support@linktrust.com)

- [Advertiser Center](https://help.linktrust.com/en/knowledge/advertiser-center?hsLang=en)
- [Affiliate Center](https://help.linktrust.com/en/knowledge/affiliate-center?hsLang=en)
- [Affiliate Settings](https://help.linktrust.com/en/knowledge/affiliate-settings?hsLang=en)
- [API's](https://help.linktrust.com/en/knowledge/apis?hsLang=en#main-content)

    - [API v1 Framework](https://help.linktrust.com/en/knowledge/apis?hsLang=en#api-v1-framework)
    - [Version 2 - Affiliate](https://help.linktrust.com/en/knowledge/apis?hsLang=en#version-2-affiliate)
    - [Version 2 - Partner](https://help.linktrust.com/en/knowledge/apis?hsLang=en#version-2-partner)
- [Campaign Settings](https://help.linktrust.com/en/knowledge/campaign-settings?hsLang=en#main-content)

    - [Advertise - Affiliates](https://help.linktrust.com/en/knowledge/campaign-settings?hsLang=en#advertise-affiliates)
- [FAQs](https://help.linktrust.com/en/knowledge/faqs?hsLang=en#main-content)

    - [Pixel/Conversion Tracking](https://help.linktrust.com/en/knowledge/faqs?hsLang=en#pixel-conversion-tracking)
    - [Affiliates](https://help.linktrust.com/en/knowledge/faqs?hsLang=en#affiliates)
    - [Getting Started](https://help.linktrust.com/en/knowledge/faqs?hsLang=en#getting-started)
    - [General Questions](https://help.linktrust.com/en/knowledge/faqs?hsLang=en#general-questions)
- [Lead Gen](https://help.linktrust.com/en/knowledge/lead-gen?hsLang=en)
- [MarketPlace](https://help.linktrust.com/en/knowledge/marketplace?hsLang=en#main-content)

    - [Shopping for Offers](https://help.linktrust.com/en/knowledge/marketplace?hsLang=en#shopping-for-offers)
- [Partner (Admin) Center](https://help.linktrust.com/en/knowledge/partner-admin-center?hsLang=en)
- [Reporting](https://help.linktrust.com/en/knowledge/reporting?hsLang=en)
- [Tokens](https://help.linktrust.com/en/knowledge/tokens?hsLang=en)
- [Videos](https://help.linktrust.com/en/knowledge/videos?hsLang=en#main-content)

    - [Features](https://help.linktrust.com/en/knowledge/videos?hsLang=en#features)
    - [Lead Generation](https://help.linktrust.com/en/knowledge/videos?hsLang=en#lead-generation)
    - [Product Updates](https://help.linktrust.com/en/knowledge/videos?hsLang=en#product-updates)
- [What's New?](https://help.linktrust.com/en/knowledge/whats-new?hsLang=en#main-content)

    - [2022](https://help.linktrust.com/en/knowledge/whats-new?hsLang=en#2022)
    - [2023](https://help.linktrust.com/en/knowledge/whats-new?hsLang=en#2023)
- [3rd Party Integrations](https://help.linktrust.com/en/knowledge/3rd-party-integrations?hsLang=en#main-content)

    - [Affiliate Payment](https://help.linktrust.com/en/knowledge/3rd-party-integrations?hsLang=en#affiliate-payment)
    - [Email Compliance](https://help.linktrust.com/en/knowledge/3rd-party-integrations?hsLang=en#email-compliance)
    - [Fraud Prevention Tools](https://help.linktrust.com/en/knowledge/3rd-party-integrations?hsLang=en#fraud-prevention-tools)
    - [Offer Listing](https://help.linktrust.com/en/knowledge/3rd-party-integrations?hsLang=en#offer-listing)
    - [Pay-Per-Call](https://help.linktrust.com/en/knowledge/3rd-party-integrations?hsLang=en#pay-per-call)
    - [TrackDrive](https://help.linktrust.com/en/knowledge/3rd-party-integrations?hsLang=en#trackdrive)
    - [Stripe](https://help.linktrust.com/en/knowledge/3rd-party-integrations?hsLang=en#stripe)
    - [eCommerce](https://help.linktrust.com/en/knowledge/3rd-party-integrations?hsLang=en#ecommerce)

# linktrust.com

Help Center

Copyright © 2026, linktrust.com