# API \> Retrieve company via company ID

**URL:** <https://integration.keap.com/t/api-retrieve-company-via-company-id/41271>\
**Category:** API Q&A\
**Created:** [May 23, 2018, 1:22pm UTC](https://integration.keap.com/t/api-retrieve-company-via-company-id/41271 "2018-05-23T13:22:52Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![RalphMRivera](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/ralphmrivera/32/6656_2.png) [@RalphMRivera](https://integration.keap.com/u/RalphMRivera)\
**Post date:** [May 23, 2018, 1:22pm UTC](https://integration.keap.com/t/api-retrieve-company-via-company-id/41271/1 "2018-05-23T13:22:52Z")

</div>

Is there a way to retrieve a company based on its ID such as with contacts: `/contacts/{id}`

I only see `/companies` which returns multiple records if several companies have the same name.

---

<div class="post-metadata">

**Author:** ![Nicholas\_Trecina](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/nicholas_trecina/32/5338_2.png) [@Nicholas\_Trecina](https://integration.keap.com/u/Nicholas_Trecina)\
**Post date:** [May 23, 2018, 4:59pm UTC](https://integration.keap.com/t/api-retrieve-company-via-company-id/41271/2 "2018-05-23T16:59:30Z")

</div>

Hi @RalphMRivera, there currently isn’t a way in REST to retrieve an individual company from its ID. I will pass your request on to our product manager so we can prioritize building out the remaining company REST endpoints.

Alternatively you could use the XML-RPC API [`DataService.load`](https://developer.infusionsoft.com/docs/xml-rpc/#data-retrieve-a-record) method with `Company` as the table name to retrieve a single company record.

---

<div class="post-metadata">

**Author:** ![Walter\_Contreras](https://avatars.discourse-cdn.com/v4/letter/w/ba8739/32.png) [@Walter\_Contreras](https://integration.keap.com/u/Walter_Contreras)\
**Post date:** [November 12, 2018, 8:52pm UTC](https://integration.keap.com/t/api-retrieve-company-via-company-id/41271/3 "2018-11-12T20:52:34Z")

</div>

I want to retrieve a company by Id number, using the REST API

---

<div class="post-metadata">

**Author:** ![Shahzad\_Ali](https://avatars.discourse-cdn.com/v4/letter/s/e68b1a/32.png) [@Shahzad\_Ali](https://integration.keap.com/u/Shahzad_Ali)\
**Post date:** [July 21, 2019, 12:13am UTC](https://integration.keap.com/t/api-retrieve-company-via-company-id/41271/4 "2019-07-21T00:13:27Z")

</div>

Have the same requirement. Is the API ready yet?

---

<div class="post-metadata">

**Author:** ![Walter\_Contreras](https://avatars.discourse-cdn.com/v4/letter/w/ba8739/32.png) [@Walter\_Contreras](https://integration.keap.com/u/Walter_Contreras)\
**Post date:** [November 16, 2019, 12:13am UTC](https://integration.keap.com/t/api-retrieve-company-via-company-id/41271/5 "2019-11-16T00:13:21Z")

</div>

@Nicholas_Trecina what’s the way to use XMLRPC to get CustomFields?  
I have used [this Javascript API](https://github.com/justinhandley/infusionsoft-javascript-api) to try and bring the endpoint into this century but even when I include all the fields that I know exist `['AccountId', 'Address1Type', 'Address2Street1', 'Address2Street2', 'Address2Type', 'Address3Street1', 'Address3Street2', 'Address3Type', 'Anniversary', 'AssistantName', 'AssistantPhone', 'BillingInformation', 'Birthday', 'City', 'City2', 'City3', 'Company', 'CompanyID', 'ContactNotes', 'ContactType', 'Country', 'Country2', 'Country3', 'CreatedBy', 'DateCreated', 'Email', 'EmailAddress2', 'EmailAddress3', 'Fax1', 'Fax1Type', 'Fax2', 'Fax2Type', 'FirstName', 'Groups', 'Id', 'JobTitle', 'LastName', 'LastUpdated', 'LastUpdatedBy', 'MiddleName', 'Nickname', 'OwnerID', 'Password', 'Phone1', 'Phone1Ext', 'Phone1Type', 'Phone2', 'Phone2Ext', 'Phone2Type', 'Phone3', 'Phone3Ext', 'Phone3Type', 'Phone4', 'Phone4Ext', 'Phone4Type', 'Phone5', 'Phone5Ext', 'Phone5Type', 'PostalCode', 'PostalCode2', 'PostalCode3', 'ReferralCode', 'SpouseName', 'State', 'State2', 'State3', 'StreetAddress1', 'StreetAddress2', 'Suffix', 'Title', 'Username', 'Validated', 'Website', 'ZipFour1', 'ZipFour2', 'ZipFour3']` I still don’t get back _everything_

CustomFields are mission critical and I would really appreciate any input, or it would be even better if there were a way to get them back as a response from POST or PATCHing at a the company’s endpoint so we don’t have to needlessly waste and API transaction.

Thanks

(and happy anniversary to my previous post here)

---

<div class="post-metadata">

**Author:** ![JustinHandley](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/justinhandley/32/1598_2.png) [@JustinHandley](https://integration.keap.com/u/JustinHandley)\
**Post date:** [May 19, 2020, 10:50am UTC](https://integration.keap.com/t/api-retrieve-company-via-company-id/41271/6 "2020-05-19T10:50:16Z")

</div>

This is a serious weakness in the API - has there been any move to address this?

---

<div class="post-metadata">

**Author:** ![bradb](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/bradb/32/13_2.png) [@bradb](https://integration.keap.com/u/bradb)\
**Post date:** [May 19, 2020, 4:54pm UTC](https://integration.keap.com/t/api-retrieve-company-via-company-id/41271/7 "2020-05-19T16:54:50Z")

</div>

There are a couple different things going on in the thread but if you are referring to fetching company by id via REST it is being worked on now. It will be released in the next few weeks.

---

<div class="post-metadata">

**Author:** ![JustinHandley](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/justinhandley/32/1598_2.png) [@JustinHandley](https://integration.keap.com/u/JustinHandley)\
**Post date:** [May 19, 2020, 6:48pm UTC](https://integration.keap.com/t/api-retrieve-company-via-company-id/41271/8 "2020-05-19T18:48:21Z")

</div>

Hey @bradb - that is fantastic news. How do I make sure I get notified when that is released?
