100 free credits. No credit card required. Get a key

LinkedIn search filter id API

Turns a name into the id LinkedIn’s searches take: locations, companies, industries, schools, job titles and people.

GET /v1/linkedin/search/parametersNot switched on yet1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/linkedin/search/parameters?type=INDUSTRY&keywords=fintech",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit

No bundled sample for this call. The response is a LinkedInParametersPage; its fields are listed below.

Parameters

NameTypeDescription
typequery · required"GEO" | "COMPANY" | "INDUSTRY" | "SCHOOL" | "TITLE" | "PEOPLE"What to look up. One of GEO, COMPANY, INDUSTRY, SCHOOL, TITLE, PEOPLE.
keywordsquery · requiredstringThe name to look up. Example: fintech.
accountquerystringOptional: the id of a LinkedIn account you connected (POST /v1/linkedin/accounts). The read then runs as that account (what it can see, its network distance) instead of on the shared pool. Example: csn_01JDX9EXAMPLE0000000000.
Response fields

200 with a LinkedInParametersPage, in LinkedIn’s own schema.org JSON-LD, with the rest of the public page beside it.

FieldTypeDescription
type"GEO" | "COMPANY" | "INDUSTRY" | "SCHOOL" | "TITLE" | "PEOPLE"
dataLinkedInParameterHit[]
Status codes
StatusMeaning
200Matching ids.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404LinkedIn has no such public page, or it was removed.
429Too many requests. Wait for Retry-After seconds.
503LinkedIn is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Questions

When can I use it?

It needs a signed-in LinkedIn session. Our shared, paced pool of sessions is not switched on yet, so a call answers 503 upstream_unavailable and is never charged. It is listed so you can plan for it.

Anything logged out?

Yes: the location and company id lookups work without a session.

LinkedIn is a trademark of LinkedIn Corporation. We are not affiliated with or endorsed by LinkedIn.