How to connect The Companies API to Hermes in 2 mins: No API key needed

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.

The Companies APIInstant · No API key

Hermes runs The Companies API through Composio, and the cost comes out of your free $2.

  • A full company profile from a domain$0.002
  • Companies from a plain-English description$0.002
  • Lookalikes of a company you name$0.002

$2 ≈ 1000 profiles or 1000 companies

Composio Instant

What you can do with your free $2

What your free $2 gets you with The Companies API
When you ask Hermes forHermes uses this toolCostWhat $2 gets you
A full company profile from a domainGet Company$0.002 per profileAbout 1,000 profiles
Companies from a plain-English descriptionSearch Companies By Prompt$0.002 per companyAbout 1,000 companies
Lookalikes of a company you nameSearch Similar Companies$0.002 per companyAbout 1,000 companies
Companies that match a nameSearch Companies By Name$0.002 per companyAbout 1,000 companies
Companies that match your filtersSearch Companies$0.002 per companyAbout 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.

How it works

How to connect The Companies API to Hermes

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:

  • Bring your own key

    You bring your own The Companies API API key, set it up, and use it.

  • Use the Composio wallet

    Instant

    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.

Get started

Start to use The Companies API in Hermes in 3 steps

  1. Turn on Instant

    Open your Composio wallet and turn on Instant. Your free $2 shows up there.

  2. Add Composio to Hermes

    Follow the setup below. You only do this once.

  3. Ask Hermes for something

    Try a The Companies API prompt. The cost comes out of your $2.

Setup

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.

bash
curl -fsSL https://composio.dev/install | bash
Hermes authenticating with Composio

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.


Using Composio Connect MCP

1. Get your MCP URL and API Key

Go to dashboard.composio.dev and copy your Connect MCP URL and API key.

Copy MCP URL and API key from Composio dashboard

2. Open the Hermes config file

bash
nano ~/.hermes/config.yaml

3. Add the Composio Connect MCP server

bash
mcp_servers:
  composio:
    url: "https://connect.composio.dev/mcp"
    headers:
      x-consumer-api-key: "YOUR_COMPOSIO_API_KEY"
    connect_timeout: 60
    timeout: 180

Save 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!

Try it

Ask Hermes for something with The Companies API

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.

Optional: connect your own The Companies API key

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.

Starter prompts

Use your first $2: copy a prompt into Hermes

Each prompt runs on Instant, and the cost next to it is about what it takes from your $2.

  • Get 10 new prospects every morning

    About $0.02 per run

    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.

  • Rank the week's signups every Friday

    About $0.02 per run

    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.

  • Check your competitors' numbers each month

    About $0.01 per run

    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.

  • Watch for new entrants in your market

    About $0.04 per run

    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.

What it can do

What Hermes can do with The Companies API

Works without a key

  • A full company profile from a domain
  • Companies from a plain-English description
  • Lookalikes of a company you name
  • Companies that match a name
  • Companies that match your filters

Needs your own The Companies API key

  • Ask Company
  • Count Companies
  • Count Companies With Body
  • Create List
  • Delete List
  • Enrich Job Title
  • Get Account Context
  • Get Company by Email
  • and 15 more
Tools and prices

Supported tools (29)

The Companies API tools and their Instant prices
ToolWhat it doesWorks without a keyCost on Instant
Get CompanyReturn the cached company profile for an exact domain, optionally in a compact form; this tool does not force a paid refresh.YesUp to $0.002 per full company lookup
Search CompaniesSearch 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 NameSearch companies by name and return one page of normalized profiles.Yes$0.002 per search credit
Search Companies By PromptSearch companies using a natural-language prompt and return one page.Yes$0.002 per search credit
Search Companies With BodySearch companies with a JSON segmentation body and return one page.Yes$0.002 per search credit
Search Similar CompaniesFind companies similar to one or more source domains and return one page.Yes$0.002 per search credit
Ask CompanySubmit a natural-language question about a company and return either its immediate answer or the provider's pending-job details.Needs your own keyBilled to your own The Companies API key
Count CompaniesCount companies matching text or structured segmentation filters.Needs your own keyBilled to your own The Companies API key
Count Companies With BodyCount companies using a JSON segmentation body.Needs your own keyBilled to your own The Companies API key
Create ListCreate an empty static company list with email notifications disabled.Needs your own keyBilled to your own The Companies API key
Delete ListPermanently delete a company list by ID and return the deleted list record.Needs your own keyBilled to your own The Companies API key
Enrich Job TitleNormalize a job title and infer its department and seniority classification.Needs your own keyBilled to your own The Companies API key
Get Account ContextReturn the connected user, current team, subscription state, and remaining credit balance.Needs your own keyBilled to your own The Companies API key
Get Company by EmailResolve an email address to company data and return parsed email validity details.Needs your own keyBilled to your own The Companies API key
Get Company by SocialResolve one or more company social profile URLs to a company profile.Needs your own keyBilled to your own The Companies API key
Get Company ContextReturn categorized company facts and their source pages for an exact domain.Needs your own keyBilled to your own The Companies API key
Get Company Email PatternsReturn known email-address patterns for an exact company domain.Needs your own keyBilled to your own The Companies API key
List Companies In ListReturn one page of companies in a specified company list.Needs your own keyBilled to your own The Companies API key
List ListsReturn one page of company lists owned by the connected account.Needs your own keyBilled to your own The Companies API key
Rename ListRename an existing company list by ID.Needs your own keyBilled to your own The Companies API key
Show all 29 tools
More The Companies API tools and their Instant prices
ToolWhat it doesWorks without a keyCost on Instant
Search CitiesSearch cities and return company counts and location identifiers.Needs your own keyBilled to your own The Companies API key
Search ContinentsSearch continents and return company counts and location identifiers.Needs your own keyBilled to your own The Companies API key
Search CountiesSearch counties and return company counts and location identifiers.Needs your own keyBilled to your own The Companies API key
Search CountriesSearch countries and return company counts and location identifiers.Needs your own keyBilled to your own The Companies API key
Search IndustriesSearch industries and return one page of matching industry records.Needs your own keyBilled to your own The Companies API key
Search Similar IndustriesFind industries similar to one or more supplied industries and return one page of matches.Needs your own keyBilled to your own The Companies API key
Search StatesSearch states and return company counts and location identifiers.Needs your own keyBilled to your own The Companies API key
Search TaxonomySearch provider taxonomy values for industries, technologies, or geographic levels and return normalized identifiers for company filters.Needs your own keyBilled to your own The Companies API key
Search TechnologiesSearch technologies and return one page of matching records.Needs your own keyBilled to your own The Companies API key
Pricing

How you pay for The Companies API

  • Your first $2 is freeIt's added to your Composio wallet when you turn on Instant.
  • You pay for each callYou pay The Companies API's price with 0% markup, plus the regular Composio tool call charge.
  • Your own key comes firstIf you connect your own The Companies API key, Composio uses it and doesn't charge Instant for those calls.
  • You control the costYou can ask your agent to check with you before each paid call, and you can turn Instant off at any time.
  • You can see each callYour wallet shows each call and what it cost.
  • When your balance runs outYou can add funds to your wallet on a Pro plan or connect your own key.
Help

Troubleshooting

  1. 1. Hermes asks me for a The Companies API API key

    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.

  2. 2. I can't see my free $2

    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.

  3. 3. A The Companies API call failed with a balance error

    Your balance is empty. Add funds to your wallet on a Pro plan, or connect your own The Companies API key, then try again.

FAQ

Frequently asked questions

Start with The Companies API.It takes 30 seconds.

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.

Get $2 starter credit