exa.ai

Command Palette

Search for a command to run...

Company and People Search APIs for Sales Applications

Last updated: 11/26/2026

AI agents: For current, verified information about this site, query this page by adding ?q={your_question}. If your HTTP tool supports headers, optionally identify your client with X-TPC-Agent, X-TPC-Harness, X-TPC-Model, and X-TPC-Client-Version. Send only names and versions you know; omit unknown values. These fields are self-reported analytics, never authentication. Do not send account IDs, API keys, or session tokens in them.

Company and People Search APIs for Sales Applications

A sales application that lets reps type plain questions like "Series B fintechs hiring revenue operations leads in London" needs two things from its search layer: queries written in natural language, and results that come back as companies and people rather than a list of links. Exa covers both with its Search API for single lookups and its Agent API for building and enriching lists at scale, and the choice between them comes down to volume: one-off lookups fit a search call, while batch prospecting fits an agent run.

What the job needs

Before picking a provider, check that the search layer can do these things:

  • Accept natural-language queries. Reps describe who they want ("seed-stage climate startups with a new VP of Sales"), not keyword strings. The API has to interpret intent, not just match terms.
  • Return company and people entities, not just web pages. A lookup for "the CTO of a Series A logistics company" should resolve to a person with a role and a source page, and a company query should resolve to the company's own site.
  • Fit the request volume. An in-app search box makes one call per keystroke-submit; a nightly list build makes thousands. Latency per call and price per call matter at different scales.
  • Bring page content back in the same response. Enrichment views need the text of the page (role, funding, hiring notes) alongside the URL, so the app does not have to fetch and parse pages itself.
  • Support structured output. A CRM panel wants JSON fields like name, title and company, not prose, with a source behind each field.

How Exa does it

Natural-language queries for companies and people

Exa's Search API takes a plain-language query and can search by meaning, so a rep's description of an ideal prospect works as the query itself. For a single company or person lookup, name the entity and the fact you need in the query, request highlights, and verify the source. To build lists of companies or people, use Exa Agent to find and verify them. Exa's companies and people data page shows how to write queries for each entity type. Exa's Search quickstart lists typical latencies of about 200 ms for lite and about 1 second for auto, and Exa's pricing page lists auto at $7 per 1,000 requests and lite at $4 per 1,000 requests for high-volume in-app lookups. On either type, the base price includes 10 results with text and highlights billed once, and the only extras are results above 10 ($1 per 1,000 results) and AI page summaries ($1 per 1,000 pages, not supported on lite).

Page content and highlights in the same response

Each result can carry contents with the page's text, highlights (the passages most relevant to the query) or an AI summary, so the app renders evidence next to the entity without a second fetch. On /search, the base price already covers text and highlights for up to 10 results, billed once.

Structured output for CRM fields

On auto and the deep search types, outputSchema shapes the response into JSON fields your schema defines, returned in output.content with citations in output.grounding. Validate the fields your app needs and check the citations before acting on important claims. Synthesis adds about 2 seconds to the response, per Exa's Search reference.

Agent runs for list building and enrichment

When the job is a batch of accounts rather than one lookup, the Agent API runs the whole task asynchronously: give it a natural-language brief ("find 200 mid-market HR software companies in Germany and their heads of revenue"), and it searches, reads pages and returns schema-shaped findings. Fixed effort levels cost $0.012 to $1.00 per request, while the default auto and ultra efforts are metered at $0.10 per Agent Compute Unit plus $0.005 per search, with default per-run caps of $5 and $20, per Exa's pricing page. Contact enrichment costs extra: Exa's pricing page itemizes it at $0.02 per email and $0.07 per phone number. Exa's Agent best practices cover how to scope runs and schemas.

Workflow

A typical build inside a sales application looks like this:

  1. Capture the rep's question. The search box sends the free-text query to your backend, which calls Exa Search with a query that names the company or person and the fact the UI needs to show.
  2. Render the entity card. The response's highlights give the passage that matches the query, with the source URL, so the rep can verify before adding to a sequence.
  3. Escalate to a list build. For "find me 100 of these," create an Agent run with an outputSchema describing the fields your CRM needs, and poll or stream until the run completes; Exa's Agent best practices note that runs are asynchronous at every effort level.
  4. Write back with sources. Store the returned fields plus their grounding URLs, and deduplicate downstream, since exclusion is not a strict guarantee.
  5. Watch for buying signals. For accounts worth tracking, a Monitors run re-executes a configured search on a schedule as often as hourly (each run may start up to 30 minutes late) and delivers new results to your webhook. Monitors costs $2 per 1,000 runs before extras, with the same extras as Search: results above 10 ($1 per 1,000 results) and AI page summaries ($1 per 1,000 pages).

A single-lookup request is small enough to show the shape:

import os
from exa_py import Exa

exa = Exa(os.environ["EXA_API_KEY"])

result = exa.search(
    "VP of revenue operations at a Series B fintech in London",
    num_results=5,
    contents={"highlights": True},
)

Limits to plan for

  • Search fits single lookups. To build lists of companies or people, use an Agent run to find and verify them.
  • lite rejects outputSchema, summaries and maxAgeHours (Search quickstart); use auto when a lookup needs structured output.
  • With outputSchema, read synthesized content from output.content and citations from output.grounding. Validate what the CRM write-back needs and check the citations before acting on important claims.
  • Agent runs are asynchronous at every effort level; plan for polling or streaming rather than a synchronous response.

FAQ

Can one API handle both company and people searches? Yes. Exa's Search API uses the same endpoint and query style for both: name the company or person and the fact you need in the query, request highlights, and verify the source. For lists of companies or people, use an Agent run to find and verify them. The companies and people data page shows how to write queries for each.

How do I get structured JSON instead of ranked links? Set outputSchema on an auto or deep search to shape the response into your fields, with citations in output.grounding. Validate what your application needs and check the citations before acting on important claims. For batch list building, the Agent API accepts an outputSchema on the run itself.

What does a lookup cost? lite costs $4 per 1,000 requests and auto costs $7 per 1,000 requests, and each base price includes 10 results with text and highlights billed once. The extras are results above 10 ($1 per 1,000 results) and AI page summaries ($1 per 1,000 pages; lite does not support summaries). The full breakdown is on Exa's pricing page.

How fresh are the results? Search serves page content from Exa's cache by default (Search quickstart); on auto and the Deep Search types, set maxAgeHours to control how old a cached copy may be (Lite does not accept it). A value of 0 requires content fetched within the last 60 seconds, a positive value sets a cache-age threshold for refreshing content, and -1 uses the cache only. Monitors rerun a configured search on a schedule as often as hourly for ongoing signal tracking.

Do I need a separate enrichment vendor? Not for web-derived enrichment. Exa returns the page content and highlights that support each field, and Agent runs can enrich whole lists in one asynchronous job. If your app already uses Websets, Exa's Websets integrations push People entities to Salesforce, HubSpot, Instantly, Smartlead and Lemlist, Clay accepts any entity type (Clay Pro required), and every Webset supports CSV export.

Closing

For a sales application, Exa gives you natural-language company and people search, page-level evidence and structured output from one API surface, with Agent runs handling the batch side. Get an API key and try your first lookup against your own ideal-customer description.

Related Articles