get_leads
Get the actual B2B leads for a Parse: the matching companies and the public-record events that flagged them (real rows, including any free native contacts on the source record). PAID, priced PER LEAD RETURNED — connect with your API key (metered key billed per lead, or a SaaS key covered by your plan's lead entitlement) or pay keyless with an x402 USDC payment on Base or Solana (prepaid for up to limit leads). Compose the Parse with build_parse first, then pass its parse here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows per page (default 25, max 100). | |
| parse | No | Alternatively, the `parse` object returned by build_parse — replays the exact composed intent so a preview and its paid pull match. | |
| query | No | OPTIONAL value-prop LABEL only (what you sell) — it does NOT select the Parse and is never inferred. The Parse is composed ONLY from an explicit selection: a `preset_id`, or `target_entity` + `buying_moments`. | |
| offset | No | Row offset for paging (default 0). | |
| states | No | Two-letter US state codes to scope to; empty = nationwide. | |
| industry | No | An industry slug from list_industries (e.g. "freight-factoring", "pharma-sales") — scopes/labels the pick. Not a selector on its own. | |
| preset_id | No | Alternatively, a curated-Parse or preset id (from list_industries) to compose a proven Parse. | |
| attributes | No | Ideal-customer descriptors, e.g. ["small / emerging", "multi-location"]. | |
| target_entity | No | Structured pick: the entity you SELL TO. Taken verbatim (never guessed), so a pharma-brand seller can't be mis-targeted onto physicians. | |
| buying_moments | No | Structured pick: library template ids (buying-moment ids) from build_parse/list_industries output. Each maps to a real signal. |