Integrating The Companies API with Hermes
Using Composio Connect CLI
1. Install the Composio CLI
Run the install script directly, or paste https://composio.dev/hermes into your Hermes chat box to have it installed for you.
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.SIGN UP
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.LOG IN
You can get 10 new prospects every morning, rank the week's signups every Friday and check your competitors' numbers each month from Hermes. Composio runs each call on its own The Companies API account, so you don't need a The Companies API API key, and your first $2 is free.
Hermes runs The Companies API through Composio, and the cost comes out of your free $2.
$2 ≈ 1000 profiles or 1000 companies
| When you ask Hermes for | Hermes uses this tool | Cost | What $2 gets you |
|---|---|---|---|
| A full company profile from a domain | Get Company | $0.002 per profile | About 1,000 profiles |
| Companies from a plain-English description | Search Companies By Prompt | $0.002 per company | About 1,000 companies |
| Lookalikes of a company you name | Search Similar Companies | $0.002 per company | About 1,000 companies |
| Companies that match a name | Search Companies By Name | $0.002 per company | About 1,000 companies |
| Companies that match your filters | Search Companies | $0.002 per company | About 1,000 companies |
You pay The Companies API's price for each call with 0% markup, plus the regular Composio tool call charge. There's no The Companies API subscription, and you only pay for what you use.
6 of 29 The Companies API tools work without a key. For Ask Company, Count Companies, Count Companies With Body, Create List, Delete List, Enrich Job Title and 17 more, connect your own The Companies API key. Read how Instant works.
Composio adds The Companies API to Hermes as an Instant toolkit. You connect Composio to Hermes once, and then Hermes can use The Companies API right away. There are two ways to do this:
You bring your own The Companies API API key, set it up, and use it.
Composio runs each call on its own The Companies API account, so you don't have to set anything up at The Companies API, and your first $2 is free.
You do the setup one time and it takes about a minute. If you build The Companies API into your own product, turn on Instant toolkits in your project settings so your agent can call The Companies API for each of your users without a The Companies API API key, and read Instant tools in the Composio docs for the setup steps and code examples.
Open your Composio wallet and turn on Instant. Your free $2 shows up there.
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.Open my wallet
Follow the setup below. You only do this once.
Try a The Companies API prompt. The cost comes out of your $2.
1. Install the Composio CLI
Run the install script directly, or paste https://composio.dev/hermes into your Hermes chat box to have it installed for you.
curl -fsSL https://composio.dev/install | bash
2. Authenticate
Once the CLI is installed, ask Hermes to authenticate with Composio.
3. Connect to The Companies API
Ask your agent to connect to The Companies API, or simply request any The Companies API-related task. Hermes will prompt you to authenticate and authorize access.
4. Done. You're all set with a new The Companies API connection.
1. Get your MCP URL and API Key
Go to dashboard.composio.dev and copy your Connect MCP URL and API key.

2. Open the Hermes config file
nano ~/.hermes/config.yaml3. Add the Composio Connect MCP server
mcp_servers:
composio:
url: "https://connect.composio.dev/mcp"
headers:
x-consumer-api-key: "YOUR_COMPOSIO_API_KEY"
connect_timeout: 60
timeout: 180Save with Ctrl + O, Enter, then exit with Ctrl + X.
4. Restart your Hermes agent
Once restarted, ask your agent to connect to The Companies API or request any The Companies API-related task. It will prompt you to authenticate and authorize access.
5. Done!
Start a new chat and try this prompt:
Every weekday at 8, find 10 companies that match this description and that you haven't sent me before: [description of your ideal customer]. Message me each one's name, domain, employee count and one line on why it fits.
Hermes runs it on Instant and shows you the result. It doesn't ask you for a The Companies API key, and the cost comes out of your $2. You can see each call in your wallet.
If you want Ask Company, Count Companies, Count Companies With Body, Create List, Delete List, Enrich Job Title and 17 more, you need your own key. Ask Hermes to connect your The Companies API account, and it gives you a Composio link:
Connect my The Companies API account using Composio.
Open the link, paste your The Companies API API key and click Connect Account. You can get a key from The Companies API token settings. After that, Composio uses your key first and doesn't charge Instant for those calls.
Each prompt runs on Instant, and the cost next to it is about what it takes from your $2.
Sends you a fresh batch of companies that match your description each morning, without repeats.
Every weekday at 8, find 10 companies that match this description and that you haven't sent me before: [description of your ideal customer]. Message me each one's name, domain, employee count and one line on why it fits.
Collects the signup emails you send during the week and ranks the companies behind them on Friday.
I'll message you work emails from new signups as they come in. Every Friday at 4, look up the company behind each one from that week and message me the list ranked by fit with [your ideal customer], with industry, size and monthly visits.
Looks up your competitors once a month and tells you what changed in size and website traffic.
On the first of each month, look up [up to 5 competitor domains]. Compare with what you saved last month and message me any change in employee count, monthly website visits or description.
Pulls the companies most like yours each week and tells you about any that weren't on the list before.
Every Monday, find the 20 companies most similar to [your domain]. Compare with the list you saved last week and message me any company that's new, with its domain, founding year, size and what it does.
| Tool | What it does | Works without a key | Cost on Instant |
|---|---|---|---|
| Get Company | Return the cached company profile for an exact domain, optionally in a compact form; this tool does not force a paid refresh. | Yes | Up to $0.002 per full company lookup |
| Search Companies | Search the company database with text or structured segmentation conditions and return one page of matching company profiles. | Yes | $0.002 per search credit |
| Search Companies By Name | Search companies by name and return one page of normalized profiles. | Yes | $0.002 per search credit |
| Search Companies By Prompt | Search companies using a natural-language prompt and return one page. | Yes | $0.002 per search credit |
| Search Companies With Body | Search companies with a JSON segmentation body and return one page. | Yes | $0.002 per search credit |
| Search Similar Companies | Find companies similar to one or more source domains and return one page. | Yes | $0.002 per search credit |
| Ask Company | Submit a natural-language question about a company and return either its immediate answer or the provider's pending-job details. | Needs your own key | Billed to your own The Companies API key |
| Count Companies | Count companies matching text or structured segmentation filters. | Needs your own key | Billed to your own The Companies API key |
| Count Companies With Body | Count companies using a JSON segmentation body. | Needs your own key | Billed to your own The Companies API key |
| Create List | Create an empty static company list with email notifications disabled. | Needs your own key | Billed to your own The Companies API key |
| Delete List | Permanently delete a company list by ID and return the deleted list record. | Needs your own key | Billed to your own The Companies API key |
| Enrich Job Title | Normalize a job title and infer its department and seniority classification. | Needs your own key | Billed to your own The Companies API key |
| Get Account Context | Return the connected user, current team, subscription state, and remaining credit balance. | Needs your own key | Billed to your own The Companies API key |
| Get Company by Email | Resolve an email address to company data and return parsed email validity details. | Needs your own key | Billed to your own The Companies API key |
| Get Company by Social | Resolve one or more company social profile URLs to a company profile. | Needs your own key | Billed to your own The Companies API key |
| Get Company Context | Return categorized company facts and their source pages for an exact domain. | Needs your own key | Billed to your own The Companies API key |
| Get Company Email Patterns | Return known email-address patterns for an exact company domain. | Needs your own key | Billed to your own The Companies API key |
| List Companies In List | Return one page of companies in a specified company list. | Needs your own key | Billed to your own The Companies API key |
| List Lists | Return one page of company lists owned by the connected account. | Needs your own key | Billed to your own The Companies API key |
| Rename List | Rename an existing company list by ID. | Needs your own key | Billed to your own The Companies API key |
| Tool | What it does | Works without a key | Cost on Instant |
|---|---|---|---|
| Search Cities | Search cities and return company counts and location identifiers. | Needs your own key | Billed to your own The Companies API key |
| Search Continents | Search continents and return company counts and location identifiers. | Needs your own key | Billed to your own The Companies API key |
| Search Counties | Search counties and return company counts and location identifiers. | Needs your own key | Billed to your own The Companies API key |
| Search Countries | Search countries and return company counts and location identifiers. | Needs your own key | Billed to your own The Companies API key |
| Search Industries | Search industries and return one page of matching industry records. | Needs your own key | Billed to your own The Companies API key |
| Search Similar Industries | Find industries similar to one or more supplied industries and return one page of matches. | Needs your own key | Billed to your own The Companies API key |
| Search States | Search states and return company counts and location identifiers. | Needs your own key | Billed to your own The Companies API key |
| Search Taxonomy | Search provider taxonomy values for industries, technologies, or geographic levels and return normalized identifiers for company filters. | Needs your own key | Billed to your own The Companies API key |
| Search Technologies | Search technologies and return one page of matching records. | Needs your own key | Billed to your own The Companies API key |
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.Open my Composio wallet
You may have asked for something that needs your own key, like Ask Company, Count Companies, Count Companies With Body, Create List, Delete List, Enrich Job Title and 17 more. Those tools don't run on Instant. For everything else, check that Instant is turned on in your Composio wallet, then ask again.
Open your wallet in the Composio dashboard and check that Instant is turned on. If the $2 still isn't there, email support@composio.dev from the address you signed up with.
Your balance is empty. Add funds to your wallet on a Pro plan, or connect your own The Companies API key, then try again.
HubSpot is an all-in-one marketing, sales, and customer service platform. It lets teams nurture leads, automate outreach, and track every customer interaction in one place.
Pipedrive is a sales management platform offering pipeline visualization, lead tracking, and workflow automation. It helps sales teams keep deals moving forward efficiently and never miss a follow-up.
Salesforce is a leading CRM platform that helps businesses manage sales, service, and marketing. It centralizes customer data, enabling teams to drive growth and build strong relationships.
Apollo is a CRM and lead generation platform that helps businesses discover contacts and manage sales pipelines. Use it to streamline customer outreach and track your deals from one place.
Not for the 6 tools that run on Instant. Composio runs those calls on its own The Companies API account, and you only add Composio to your agent. The other 23 tools need your own The Companies API key.
Yes. Every Composio account gets $2 of Instant credit once you turn on Instant, and you can use it on The Companies API or on any other Instant toolkit.
You can get about 1,000 profiles, about 1,000 companies or about 1,000 companies. The price list on this page shows the cost of each tool.
Instant calls stop. You can add funds to your wallet on a Pro plan, or connect your own The Companies API key.
You pay The Companies API's price for each call with 0% markup, plus the regular Composio tool call charge.
Yes. Connect your key from the The Companies API toolkit in your Composio dashboard. Composio always uses your own connection first, and it doesn't charge Instant for those calls.
You can use 6 of the 29 tools without a key, including Get Company, Search Companies, Search Companies By Name, Search Companies By Prompt, Search Companies With Body and Search Similar Companies. The other 23 tools need your own The Companies API key.
Composio is SOC 2 Type II compliant.
New accounts get a one-time $2 starter credit for Instant calls.Run The Companies API from your agent with no The Companies API key.
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.Get $2 starter credit