# Limit Fields From API

**URL:** <https://forum.mautic.org/t/limit-fields-from-api/15675>\
**Category:** Development\
**Created:** [August 17, 2020, 4:29am UTC](https://forum.mautic.org/t/limit-fields-from-api/15675 "2020-08-17T04:29:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gary.harrison](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gary.harrison/32/2864_2.png) [@gary.harrison](https://forum.mautic.org/u/gary.harrison)\
**Post date:** [August 17, 2020, 4:29am UTC](https://forum.mautic.org/t/limit-fields-from-api/15675/1 "2020-08-17T04:29:05Z")

</div>

Hi Everyone.

I’m trying to sync data from our CRM and Mautic via the API. I’m trying to get the Mautic Contact ID via a API call using something like…

[https://mydatabase/api/contacts?search=email:my@email.net](https://mydatabase/api/contacts?search=email:my@email.net)

…but i’m getting all the data for that contact passed back (542 rows). Is there a better way to retrieve the Contact ID via the API?

Thanks!!!
