Looking up filter IDs for search
Some search filters want LinkedIn's internal IDs instead of text names. get_search_parameters looks them up.
Pass a type and an optional query:
- Type
locationwith query 'Netherlands' returns the geo ID - Type
industrywith query 'Software' returns the industry ID - Type
functionwith query 'Engineering' returns the job function ID - Type
schoolwith query 'MIT' returns the school ID
Other supported types include sales_industry, seniority, department, technologies, persona, region, postal_code, company, job_title, account_lists, and lead_lists. The query is a case-insensitive substring match, and you get an empty array when nothing matches (a sign to try a shorter or different query).
When do you actually need this? search_people auto-resolves location and industry names to IDs for you, so simple searches work with plain text. The lookup matters for Sales Navigator filters that only accept IDs, like function and school, and whenever a name is ambiguous and you want to pin the exact ID.
In the CLI:
crispy search params --type function --query EngineeringCommon mistakes: - Assuming a filter failed when the name simply didn't resolve. Look the ID up, then pass the ID directly. - Querying with a full official name. Substring matching means 'Financial' finds 'Financial Services', shorter is safer.
Pro tip: IDs are stable. If you prospect the same markets repeatedly, look your core IDs up once and reuse them in every search and saved search. It removes the ambiguity of name resolution entirely.