All tools
ClayC

by Clay

Search people and companies

Starts a search of Clay's database of people or companies from an advanced search query and returns a search id to page through the matches.

View on GitHub
Updated Sep 26, 2026Available asCLIAPI

Description

Read the query reference first (`GET /search/query-mode/reference`), then page through results with `POST /search/query-mode/{search_id}/run` while `has_more` is true. Results per search and per 30 days are capped by plan.

search-people-and-companies.md

Search people and companies

Starts a search of Clay's database of people or companies from an advanced search query and returns a search id to page through the matches.

Read the query reference first (GET /search/query-mode/reference), then page through results with POST /search/query-mode/{search_id}/run while has_more is true. Results per search and per 30 days are capped by plan.

Set up

Use the first option your agent supports.

CLI (official)

Install the command, then confirm it runs.

npm install --global @clay-run/cli
clay --version

Run clay searches query-mode create.

API (official)

Before doing anything else, make one read-only call to confirm access.

Rules

  • Ask the user before anything that sends messages, costs money, or changes data.
  • Never print API keys.

Built from these files in the repository

The layout and the rules come from lib/catalog/render-markdown.ts, the set-up wording from lib/catalog/render-access.ts.

Ways in

RouteSourceCallRequiredDocs
CLIOfficialclay searches query-mode createOAuthDocs
APIOfficialPOST /search/query-modeAPI key in $CLAY_PUBLIC_API_KEYDocs

Workflows using Search people and companies

No workflows yet
No published workflow uses Search people and companies yet.