Get Company by ID (HubSpot)
HubSpot → Get Company by ID (HubSpot)
/v1/hubspot-get-company-by-id{ "company_id": "Acme, Inc." }
{ "ok": true, "data": { "id": "rec_4f3a91", "created_at": "sample", "updated_at": "sample", "archived": true, "domain": "https://acme.com", "name": "sample", "hubspot_owner_id": "rec_4f3a91", "industry": "sample", "type": "sample", "city": "sample", "state": "sample", "zip": "sample", "number_of_employee": "sample", "annual_revenue": "sample", "timezone": "sample", "description": "sample", "linkedin_company_page": "sample", "about_us": "sample", "close_date": "sample", "country": 1, "employee_range": "sample", "industry_group": "sample", "life_cycle_stage": "sample", "linkedin_handle": "sample", "analytics_source": "sample", "mobile_number": "sample", "quick_context": "sample", "revenue_range": "sample", "state_code": "sample", "address": "sample", "address_2": "sample", "website": "https://acme.com", "founded_year": "sample", "lead_status": "valid", "facebook_company_page": "sample", "facebook_fan": "sample", "googleplus_page": "sample", "linkedin_bio": "sample", "twitter_bio": "sample", "twitter_follower": "sample", "searchable_calculated_mobile_number": "sample", "pipeline": "sample", "twitter_handle": "sample", "target_account": 1 } }
Retrieve a single HubSpot company record by its company ID
Install
Add get company by id (hubspot) to your MCP client.
Drop this into claude_desktop_config.json (or your client's equivalent) and the tool shows up in any chat.
{ "mcpServers": { "texau": { "command": "npx", "args": ["-y", "@texau/mcp-server"], "env": { "TEXAU_API_KEY": "..." } } } }
Tool name: texau__hubspot-get-company-by-id
When to use this.
The "Get Company by ID" action for HubSpot enables users to retrieve detailed information about a specific company record using its unique company ID. This action requires a single input parameter, "companyId," which is a string representing the unique identifier of the company in HubSpot's CRM. Upon execution, it outputs a comprehensive array of data fields, including the company's name, domain, industry, location, revenue, employee count, and various social media links, among others. The output fields encompass diverse semantic types such as ID, company name, URL, date, boolean, phone, city, and country. This action is particularly useful for businesses seeking to integrate HubSpot data into their applications, enhance customer relationship management, or perform detailed company analyses. It falls under the CRM category, making it an essential tool for sales teams, marketers, and data analysts looking to leverage HubSpot's extensive company database.
Try it
Run a sample request.
The response is a deterministic, cached example. No live call, no credits used.
Get Company by ID (HubSpot)
Response
Output schema.
Every field returned in `data`. Click rows to expand nested objects.
idIdtextcreated_atCreated Atnullabletextupdated_atUpdated AtnullabletextarchivedArchivednullablebooleandomainDomaintextnameNametexthubspot_owner_idHubspot Owner IdnullabletextindustryIndustrytexttypeTypenullabletextcityCitytextstateStatenullabletextzipZipnullabletextnumber_of_employeeNumber Of Employeetextannual_revenueAnnual RevenuenullabletexttimezoneTimezonenullabletextdescriptionDescriptionnullabletextlinkedin_company_pageLinkedin Company Pagenullabletextabout_usAbout Usnullabletextclose_dateClose DatenullabletextcountryCountrytextemployee_rangeEmployee Rangenullabletextindustry_groupIndustry Groupnullabletextlife_cycle_stageLife Cycle Stagenullabletextlinkedin_handleLinkedin Handlenullabletextanalytics_sourceAnalytics Sourcenullabletextmobile_numberMobile Numbertextquick_contextQuick Contextnullabletextrevenue_rangeRevenue Rangenullabletextstate_codeState CodenullabletextaddressAddressnullabletextaddress_2Address 2nullabletextwebsiteWebsitetextfounded_yearFounded Yearnullabletextlead_statusLead Statusnullabletextfacebook_company_pageFacebook Company Pagenullabletextfacebook_fanFacebook Fannullabletextgoogleplus_pageGoogleplus Pagenullabletextlinkedin_bioLinkedin Bionullabletexttwitter_bioTwitter Bionullabletexttwitter_followerTwitter Followernullabletextsearchable_calculated_mobile_numberSearchable Calculated Mobile NumbernullabletextpipelinePipelinenullabletexttwitter_handleTwitter Handlenullabletexttarget_accountTarget Accountnullabletext
Integrate
Copy-pasteable snippets.
Real endpoint: https://v3-api.texau.com/api/v1/hubspot-get-company-by-id. Auth: x-api-key.
/v1/hubspot-get-company-by-idcurl -X POST 'https://v3-api.texau.com/api/v1/hubspot-get-company-by-id' \ -H 'x-api-key: $TEXAU_API_KEY' \ -H 'content-type: application/json' \ -d '{"company_id":"Acme, Inc."}'
{ "ok": true, "data": { "id": "rec_4f3a91", "created_at": "sample", "updated_at": "sample", "archived": true, "domain": "https://acme.com", "name": "sample", "hubspot_owner_id": "rec_4f3a91", "industry": "sample", "type": "sample", "city": "sample", "state": "sample", "zip": "sample", "number_of_employee": "sample", "annual_revenue": "sample", "timezone": "sample", "description": "sample", "linkedin_company_page": "sample", "about_us": "sample", "close_date": "sample", "country": 1, "employee_range": "sample", "industry_group": "sample", "life_cycle_stage": "sample", "linkedin_handle": "sample", "analytics_source": "sample", "mobile_number": "sample", "quick_context": "sample", "revenue_range": "sample", "state_code": "sample", "address": "sample", "address_2": "sample", "website": "https://acme.com", "founded_year": "sample", "lead_status": "valid", "facebook_company_page": "sample", "facebook_fan": "sample", "googleplus_page": "sample", "linkedin_bio": "sample", "twitter_bio": "sample", "twitter_follower": "sample", "searchable_calculated_mobile_number": "sample", "pipeline": "sample", "twitter_handle": "sample", "target_account": 1 } }
Compose
How this fits a workflow.
The next 2 actions most operators chain after this one.
crm
List Contacts (HubSpot)
Retrieves all HubSpot contacts with email, name, phone, company, and custom properties.
crm
Get Contact (HubSpot)
Retrieves a specific HubSpot contact by ID with all standard, demographic, and custom properties.
crm
Create Company (HubSpot)
Creates a new company record in HubSpot with firmographic properties and optional associations.
Output
Results land in a TexAu table.
Sample rows below.
Real result preview coming soon.
| Input | Status | Score |
|---|---|---|
| [email protected] | valid | 96 |
| [email protected] | risky | 54 |
| [email protected] | invalid | 12 |
Workflow
A real example.
Trigger → get company by id (hubspot) → enrich → push to your CRM. ~80 ms operator effort, the rest runs in the background.
Built for
Who runs this.
Reliability
Rate limits & reliability.
- Per-minute limit100 / min
- Per-day limit24,000 / day
- RetriesAutomatic w/ backoff
- ModeSync
Errors
HTTP status codes.
What each response means and what to do about it.
| Code | Cause | Fix |
|---|---|---|
| 200 OK | Action ran. Data in `data`. | Read response. |
| 400 Bad Request | Missing or malformed input. | Validate against the input schema. |
| 401 Unauthorized | Missing or invalid `x-api-key`. | Re-issue from /api-platform. |
| 403 Forbidden | Workspace lacks plan tier. | Upgrade or contact sales. |
| 404 Not Found | Action key not recognized. | Verify the slug. |
| 429 Rate Limited | Per-minute or per-day cap hit. | Backoff; reduce concurrency. |
| 500 Server Error | Unexpected TexAu issue. | Retry with backoff. |
| 502 Bad Gateway | Upstream provider 5xx. | Retry; we surface root cause. |
| 504 Timeout | Upstream slower than maxLatency. | Switch to `isAsync` polling. |
Related
More HubSpot actions.
crm
List Contacts (HubSpot)
Retrieves all HubSpot contacts with email, name, phone, company, and custom properties.
crm
Get Contact (HubSpot)
Retrieves a specific HubSpot contact by ID with all standard, demographic, and custom properties.
crm
Create Company (HubSpot)
Creates a new company record in HubSpot with firmographic properties and optional associations.
crm
Search Contacts (HubSpot)
Search for HubSpot CRM contacts by email address or other filters and retrieve their properties.
FAQ.
Is this real-time?
Yes. Synchronous actions return in ~1–4 s. Long-running work uses async polling (see status 504 → switch to async).
Do I get charged on failure?
No. Verified failures cost zero credits. Provider miss / 5xx / timeout cascade to the next provider in the waterfall when applicable.
Does it work with Claude / Cursor via MCP?
Yes. Add the texau MCP server to your client config, then call `texau__hubspot-...` directly.
What CRMs can I push results to?
HubSpot, Salesforce, Pipedrive, Zoho, and GoHighLevel are bidirectional. Smartlead, Instantly, Lemlist, HeyReach, Apollo Sequences, and Reply.io for outbound.
Run Get Company by ID (HubSpot) in 60 seconds.
Pull your API key, paste the cURL, ship to your CRM.