Enrich a lead by LinkedIn URL (alias)
get_lead_by_urlEnrich lead data from a LinkedIn profile URL. Use this alias for backward compatibility to retrieve enriched lead records.
Instructions
Alias of enrich_lead for a LinkedIn profile URL, kept for backwards compatibility. Billable: about $0.02 per record found (not-found is refunded) at the Tier 0 list price. Accounts can pay a different rate: get_balance returns this account's prices, and every response reports what was actually spent in cost.amount_charged_usd. enrich_lead does the same and also accepts a Generect id (the most accurate identifier) or an email for reverse lookup.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | LinkedIn profile URL (e.g. https://www.linkedin.com/in/username/). | |
| mode | No | Data mode. "database" = Generect's own index: sub-second, free counts, free thin rows (see detail) or cheaper full rows; it accepts a subset of the filters today and names any it rejects. "realtime" = live LinkedIn lookup, 5–60s, billed per row, accepts every realtime filter. "auto" (default) tries database first and escalates to realtime only if a filter you passed is rejected there (the escalation is reported, and is refused above the per-call spend ceiling). Pick "database" explicitly when a recent cached record is good enough and cost matters more than freshness. | |
| posts | No | DEPRECATED — accepted but ignored. Removed: v1 enrich returns the full profile without per-section toggles. | |
| compact | No | Default true: return a small per-lead summary (including the Generect `id`, which every later step accepts). Set false for the full raw record (~80 fields) — only worth it when you specifically need skills, education or other deep fields. | |
| comments | No | DEPRECATED — accepted but ignored. Removed: v1 enrich returns the full profile without per-section toggles. | |
| timeout_ms | No | Request timeout in milliseconds. | |
| inexact_company | No | DEPRECATED — accepted but ignored. Removed: v1 enrich matches on the identifier you pass. | |
| people_also_viewed | No | DEPRECATED — accepted but ignored. Removed: v1 enrich returns the full profile without per-section toggles. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | No | ||
| lead | No | ||
| mode | No | ||
| found | No | ||
| company | No | ||
| test_mode | No | ||
| test_mode_notice | No | ||
| vocabulary_warnings | No | ||
| deprecated_params_ignored | No |