Skip to main content

Overview

The Translate Query API converts a free-text description of your target companies into the structured filters object accepted by the List Generation API. Its primary purpose is to let you describe a target company list in plain English and get back a deterministic, reusable filters object — instead of looking up enum values, industry codes, and filter keys yourself. This endpoint does not return any companies itself — it only returns the equivalent filters object. Pass that object into the filters parameter of a subsequent List Generation API call to fetch the actual matching companies. Endpoint
Pass a single query field in the JSON request body. The backend interprets the location, funding stage, industry, and other filterable attributes mentioned in the query and resolves them to the corresponding structured filter keys and values used by List Generation.

Authentication

All requests must include an API key in the x-api-key HTTP header.
Never expose your API key in client-side code, browser requests, or public repositories. A missing or invalid key returns 401 Unauthorized.

Request Reference

Example requests:

Response

Response envelope

When the query cannot be mapped to any recognizable filters, the API returns an empty filters object ({}).

Using the translated filters with List Generation

Once you have the filters object, pass it directly into the filters parameter of a List Generation call to fetch matching companies:
Translating a query once and reviewing the resulting filters object lets you catch any misinterpretation (e.g. an unexpected industry code) before committing to a full List Generation call — and gives you a deterministic, reusable filter object for repeated runs, instead of relying on natural language query interpretation each time you call List Generation directly.