---
title: Click Listing API
description: Must use a GET method to run the Click Listing API.  The click data is the same data that is in the Click Listing report except for the API is only for CPA, CPL and Leadgen clicks.  CPC clicks are con
---

[Skip to content](https://help.linktrust.com/en/knowledge/click-listing-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 - Partner](https://help.linktrust.com/en/knowledge/apis?hsLang=en#version-2-partner)

# Click Listing API

Must use a **GET** method to run the Click Listing API.  The click data is the same data that is in the Click Listing report except for the API is only for CPA, CPL and Leadgen clicks.  CPC clicks are considered to be conversions and can be pulled using the transaction details API.  The date range must be within the same month or you will receive an error message.  The results will display 5000 clicks at a time.and will contain a "Next Row ID" which you will add as the startid for your next call.  

You are able to pull clicks in XML or JSON format by including the following headers.

- *Accept:application/xml* for an xml response
- *Accept:application/json* for a json response

### Base URL

https://api.linktrust.com/v2/reports/clicklisting

### Parameters

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

*StartDate* - Required. This is the starting date that you wish to run the API.  Must be a valid date within the same month. Cannot be after the EndDate.

*EndDate*- Required. This is the ending date that you wish to run the API.  Must be a valid date within the same month. Cannot be before the StartDate.

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

*AffiliateId* - A valid Affiliate ID from your account.

### Example URL

https://api.linktrust.com/v2/reports/clicklisting?startid=123456&StartDate=12/7/2015&EndDate=12/7/2015&CampaignId=123456&AffiliateId=123456

### Example XML Response

\<z:anyType i:type="ClickListingReport"\> 

\<Clicks\> 

\<ClickListingReport\>

\<AdditionalData\>\<Data /\>\</AdditionalData\>

\<AffiliateId\>100000\</AffiliateId\>

\<AffiliateReferenceId /\>

\<CampaignId\>100260\</CampaignId\>

\<ClickDateTime\>2015-12-07T15:23:29.82\</ClickDateTime\>

\<ClickId\>12\_35463\_abf02835-0b67-4109-9b24-43fd0184bb24\</ClickId\>

\<CountryCode\>US\</CountryCode\>

\<CreativeId\>104790\</CreativeId\>

\<FromCampaignId\>0\</FromCampaignId\>

\<IPAddress\>66.102.8.147\</IPAddress\>

\<MerchantId\>100010\</MerchantId\>

\<Referrer\>http://www.google.co.jp/url?     sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CDEQFjAD&url=http%3A%2F%2Fgoo.gl%2FwcWAO5&ei=4QZmVqvtCbqc2wP7Kw&usg=AFQjCNGWONHG1bT2RdlLG-KIcXLdhhggLw\</Referrer\>

\<SubId /\>

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

\</ClickListingReport\>

\<ClickListingReport\>

    \<AdditionalData\>\<Data /\>\</AdditionalData\>

\<AffiliateId\>100000\</AffiliateId\>

\<AffiliateReferenceId /\>

\<CampaignId\>100260\</CampaignId\>

\<ClickDateTime\>2015-12-07T15:24:45.393\</ClickDateTime\>

\<ClickId\>12\_35469\_c7d8d463-25ed-40ce-a341-11e878324fba\</ClickId\>

\<CountryCode\>US\</CountryCode\>

\<CreativeId\>104790\</CreativeId\>

\<FromCampaignId\>0\</FromCampaignId\>

\<IPAddress\>66.249.92.17\</IPAddress\>

\<MerchantId\>100010\</MerchantId\>

\<Referrer /\>

\<SubId /\>

\<UserAgent\>Mozilla/5.0(Macintosh; Intel Mac OS X 10\_8\_4) AppleWebKit/537.36(KHTML, like Gecko) Chrome/28.0.1500.71Safari/537.36\</UserAgent\>

\</ClickListingReport\>

\</Clicks\>

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

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

\</z:anyType\>

Example JSON Response  
{"Clicks":\[  
{  
"CampaignId":100260,  
"AffiliateId":100000,  
"CreativeId":104790,  
"SubId":"",  
"AffiliateReferenceId":"",  
"ClickDateTime":"2015-12-07T15:23:29.82",  
"UserAgent":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.91 Safari/537.36",  
"Referrer":"http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CDEQFjAD&url=http%3A%2F%2Fgoo.gl%2FwcWAO5&ei=4QZmVqvtCbqc2wP7Kw&usg=AFQjCNGWONHG1bT2RdlLG-KIcXLdhhggLw",  
"IPAddress":"66.102.8.147",  
"MerchantId":100010,  
"CountryCode":"US",  
"AdditionalData":"\<Data /\>",  
"FromCampaignId":0,  
"ClickId":"12\_35463\_abf02835-0b67-4109-9b24-43fd0184bb24"  
},  
{  
"CampaignId":100260,  
"AffiliateId":100000,  
"CreativeId":104790,  
"SubId":"",  
"AffiliateReferenceId":"",  
"ClickDateTime":"2015-12-07T15:24:45.393",  
"UserAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_8\_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.71 Safari/537.36",  
"Referrer":"",  
"IPAddress":"66.249.92.17",  
"MerchantId":100010,  
"CountryCode":"US",  
"AdditionalData":"\<Data /\>",  
"FromCampaignId":0,  
"ClickId":"12\_35469\_c7d8d463-25ed-40ce-a341-11e878324fba"  
}\],  
"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