Get the query reference
Fetch the query reference before writing a query. It describes the available fields and grammar.Create and run a people search
This pattern returns current software engineers whose employer is in the Software Development industry.Use cross-entity query patterns
Choose the record type you want returned, then query through its relationships.Find people based on their employer
Useexperiences.any(...) to return people whose current employer meets your criteria.
Find companies based on their employees
Usepeople.exists(...) to return companies that employ people matching your criteria.
Combine criteria with Boolean logic
Group related criteria with parentheses to express alternatives while keeping the company requirement.Fetch more results
The run endpoint is a stateful iterator. Its response containsdata, has_more, and source_type, and can include exhaustion_reason. If has_more is true, call POST /search/query-mode/{search_id}/run again to fetch the next page.
People results include a structured location and an array of experiences that matched the query. matched_experiences is always an array; it is empty when no specific experience matched.
clay_company_id, name, size, type, domain, country, industry, location, description, linkedin_url, annual_revenue, and total_funding_amount_range_usd.
Next steps
Structured filters
Use the older JSON filters format.

