# API Contacs & parameters

**URL:** <https://community.hubspot.com/t/api-contacs-parameters/13139>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [February 21, 2019, 8:45am UTC](https://community.hubspot.com/t/api-contacs-parameters/13139 "2019-02-21T08:45:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TrafficElogia](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/trafficelogia/32/74736_2.png) [@TrafficElogia](https://community.hubspot.com/u/TrafficElogia)\
**Post date:** [February 21, 2019, 8:45am UTC](https://community.hubspot.com/t/api-contacs-parameters/13139/1 "2019-02-21T08:45:23Z")

</div>

Hi!

I’m trying to collect this data from the API. But I do not know if I’m on the right track: S Can you help me? The URL that I am using is:

The fields are: [https://api.hubapi.com/contacts/v1/lists/all/contacts/all?hapikey=XXXXX&count=15&property=hs\_analytics\_source\_data\_1&property=hs\_analytics\_source\_data\_2](https://api.hubapi.com/contacts/v1/lists/all/contacts/all?hapikey=XXXXX&count=15&property=hs_analytics_source_data_1&property=hs_analytics_source_data_2)

| Create Date | Company Name | Contact ID | DNI | Original Source Data 1 | Original Source Data 2 |
| --- | --- | --- | --- | --- | --- |

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:** [February 22, 2019, 9:53pm UTC](https://community.hubspot.com/t/api-contacs-parameters/13139/2 "2019-02-22T21:53:19Z")

</div>

Welcome, @TrafficElogia.

You’re on the right track! Here’s the URL I recommend using:

`https://api.hubapi.com/contacts/v1/lists/all/contacts/all?property=createdate&property=company&property=hs_analytics_source_data_1&property=hs_analytics_source_data_2&hapikey=XYZ&count=100`

The “contact ID” or `vid` isn’t a contact property, but it is included in each object returned from the Contacts API.

Finally, what do you mean by “DNI”?
