Enrich a lead by LinkedIn URL (alias)
get_lead_by_urlEnrich a LinkedIn profile URL into a B2B lead record with contact data and company insights. Returns cached or real-time matches based on mode.
Instructions
Alias of enrich_lead for a LinkedIn profile URL, kept for backwards compatibility. BILLABLE — about $0.0067 per record found (not-found is refunded) (Tier 0 list price; your account may pay a different rate — call get_balance for your real prices, and read cost.amount_charged in every response for what was actually spent). Prefer enrich_lead — it also accepts a Generect id (cheaper to get right) 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" = cached, sub-second, cheaper, free counts, core filters only. "realtime" = live LinkedIn lookup, 5–60s, pricier, supports every filter. "auto" (default) tries database first and only escalates to realtime if a filter you passed is unsupported there — an escalation is reported in the response. 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 |