# Getting Unique Record From Tracking Code Api

**URL:** <https://community.hubspot.com/t/getting-unique-record-from-tracking-code-api/16378>\
**Category:** APIs & Integrations\
**Tags:** developer-tools, timeline-and-extensions-apis\
**Created:** [September 23, 2019, 11:52am UTC](https://community.hubspot.com/t/getting-unique-record-from-tracking-code-api/16378 "2019-09-23T11:52:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zohaib](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/zohaib/32/52876_2.png) [@zohaib](https://community.hubspot.com/u/zohaib)\
**Post date:** [September 23, 2019, 11:52am UTC](https://community.hubspot.com/t/getting-unique-record-from-tracking-code-api/16378/1 "2019-09-23T11:52:26Z")

</div>

Hi All

We are running into a problem, we have to migrate Tracking Code Api from Hubspot to Dynamics 365, but we are unable to find any unique field or column from hubspot on which we can set up a lookup and get just new records. We are using this API

Get a summary of analytics data collected by the HubSpot tracking code, broken down by page URL:  
[https://api.hubapi.com/analytics/v2/reports/pages/total?hapikey=demo](https://api.hubapi.com/analytics/v2/reports/pages/total?hapikey=demo)

Any help will appriciated.

Many Thanks

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [September 23, 2019, 8:29pm UTC](https://community.hubspot.com/t/getting-unique-record-from-tracking-code-api/16378/2 "2019-09-23T20:29:43Z")

</div>

Hi again, @zohaib.

Similar to [your other post](https://community.hubspot.com/t5/APIs-Integrations/Getting-unique-stats-from-Form-Submission-API/m-p/292650/highlight/true#M27263), if you’re wishing to filter the results of [this endpoint](https://developers.hubspot.com/docs/methods/analytics/get-analytics-data-breakdowns), are you using the `start=YYYYMMDD` and `end=YYYYMMDD` parameters?

Please let me know if I have misunderstood your question.
