LinkedIn Profile search API

POST

API health

24h health
Normal
24h average time
—
  • Healthy / normal
  • Available
  • Limited
  • Mostly down
Normal

Search LinkedIn member profiles by current job title in keyword and an optional location, with headline, current company and title, and work history where shown. It does not look people up by exact name or email, and a match does not confirm identity, experience or job availability.

Price $0.56 per 1,000 requests ($0.000556 per call). Failed calls and empty results are not charged. Synchronous. For slow jobs add "mode": "async" to the body, take the job_id and poll.

AI prompt

Paste this into your AI assistant. It already holds this endpoint's parameters, response fields and an example request, so the assistant can ask what you need and then write the scraper.

Please help me write a data collection script with the EveryInfra LinkedIn Profile search endpoint (linkedin/profile_search).

Endpoint contract:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to linkedin and action to profile_search, and put the parameters inside params.
- Required parameters:
  - keyword: Specifies the search string, acting as a post search keyword in search, a current job title in profile_search, or a job search term or full job URL in jobs.
- Optional parameters:
  - location: Specifies location text for person profiles in profile_search or job locations in jobs. When keyword in the jobs action is already a full search URL, the URL's embedded criteria take precedence and location is ignored.
  - locations: Accepts a location array as a compatibility alias. Prefer location: this array is not guaranteed to behave the same way, and it is not a way to run cross-country batch searches.
  - limit: The most rows to return in this call, an integer from 1 to 100. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. (default: 10)
- Returns a list of records. Main fields of each record: id, username, name, url, headline, location, current_company, current_title, avatar_url, is_premium, is_open_profile, email (Email address); 22 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=linkedin.
- Example request body:
{
  "platform": "linkedin",
  "action": "profile_search",
  "params": {
    "keyword": "software engineer"
  }
}
- Price: $0.56 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.

Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.

Request parameters

NameInTypeRequiredDefaultDescription
AuthorizationheaderstringYes-Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository.
platformbodystringYeslinkedinPlatform identifier, fixed value.
actionbodystringYesprofile_searchCapability identifier, fixed value.
keywordbody.paramsNot declaredYes-Specifies the search string, acting as a post search keyword in search, a current job title in profile_search, or a job search term or full job URL in jobs. Searching for people with this parameter does not perform an exact match by individual name or email.
locationbody.paramsNot declaredNo-Specifies location text for person profiles in profile_search or job locations in jobs. When keyword in the jobs action is already a full search URL, the URL's embedded criteria take precedence and location is ignored.
locationsbody.paramsNot declaredNo-Accepts a location array as a compatibility alias. Prefer location: this array is not guaranteed to behave the same way, and it is not a way to run cross-country batch searches.
limitbody.paramsinteger (1–100)No10The most rows to return in this call, an integer from 1 to 100. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge.

Code samples

bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "linkedin",
  "action": "profile_search",
  "params": {
    "keyword": "software engineer"
  }
}'

[OpenAPI definition (JSON)]Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.

Response example

Real response

Captured September 26, 2026 at 08:56 (UTC) by calling this API with the parameters in the code sample above. results and count are that call's real response with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2. id, billing and quota differ on every call, so only their shape is shown.

json
{
  "id": "req_…",
  "platform": "linkedin",
  "action": "profile_search",
  "results": [
    {
      "id": "ACoAACXb95sB22H5-5xhoNGXDMoE3VGMNeUbYps",
      "username": "(已隐去)",
      "name": "Kevin Yee",
      "url": "https://linkedin.com/in/kevin-yee-9b7874158",
      "headline": "Software Engineer",
      "location": "Fremont, California, United States",
      "avatar_url": "https://media.licdn.com/(已隐去)",
      "is_premium": false,
      "is_open_profile": false,
      "platform": "linkedin"
    },
    {
      "id": "ACoAABva6FcBs-9HJMvUDX4wX8YUbHTxC-yGsdo",
      "username": "(已隐去)",
      "name": "Romain Arnaud",
      "url": "https://linkedin.com/in/romain-arnaud",
      "headline": "Principal Software Engineer - Trusted Software Delivery",
      "location": "Waltham, Massachusetts, United States",
      "avatar_url": "https://media.licdn.com/(已隐去)",
      "is_premium": false,
      "is_open_profile": false,
      "platform": "linkedin"
    }
  ],
  "count": 10,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}

Response fields

Business data is in results. The table lists the fields a record can contain; values the platform does not show are never made up.

FieldMeaning
idThe record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms.
usernameUsername (@handle).
nameName of the object itself, for account, product and business capabilities.
urlLink to the record on the platform.
headlineKeeps the platform's own meaning
locationLocation description passed through as is; the format varies by platform.
current_companyKeeps the platform's own meaning
current_titleKeeps the platform's own meaning
avatar_urlAvatar image link. Some platforms return sized CDN links that can expire.
is_premiumKeeps the platform's own meaning
is_open_profileKeeps the platform's own meaning
emailEmail address. On person_profile and profile_search it is a work address inferred from public information and then validated; on employees it is present only when the source gives one. May be empty, and it does not mean the person agreed to marketing contact.
aboutLong-form About text of the profile (person_profile, profile_search).
follower_countFollowers. null means not disclosed, not 0.
connection_countNumber of connections (person_profile, profile_search).
is_verifiedWhether the platform verified the account. null means it cannot be determined.
is_creatorWhether the profile runs in creator mode.
is_influencerKeeps the platform's own meaning
is_top_voiceWhether the profile carries the LinkedIn Top Voice badge.
current_company_urlLinkedIn page URL of the current company.
experienceWork-history list (person_profile, profile_search): each entry carries title, company, company page URL, date range and duration text, plus location, description, employment_type and skills when the source gives them.
educationEducation list (person_profile, profile_search): each entry carries school, school page URL, date range and duration text.
platformSource platform identifier, the same as platform in the request (for example xiaohongshu, tiktok).

Errors and billing

401
Missing or invalid key. Authentication runs before parameter checks, so unauthenticated requests never see the parameter schema.
422
Wrong parameter name or value. The error lists the parameters and allowed values this capability accepts and the closest match; it happens before any charge.
402
Insufficient balance. Top up first.
429
The account's per-minute request limit was reached (all of its API keys count together; a key's own lower limit applies first). Wait for Retry-After and try again; a rate package in the console raises the limit.
503
Could not complete right now. Any charge for the call goes back to your balance automatically, and the billing receipt in the response states the actual outcome, including when it is not yet known. Do not resend blindly.
200 empty
The request completed without data and is not charged (billing.reason = empty_result_refunded).

Official references

Used only to check objects and terms. They do not imply authorization or endorsement of EveryInfra by the platform.

  • LinkedIn Official Documentation: Public Profiles May Include Only Select Sections ↗

    Official documentation notes that public profiles are simplified versions where users control which sections remain visible, occasionally yielding reduced previews. Profile search candidates do not equal complete work histories, contact details, or verified identities.

    Checked 2026-09-04

  • LinkedIn User Agreement: Restrictions on Scraping, Copying, and Reuse ↗

    Section 8.2 of the User Agreement restricts automated scraping, circumventing access controls, and copying, using, displaying, or distributing content without consent from rights holders, including content obtained through third parties. Separate written permission requires independent confirmation, and public availability does not confer an exemption.

    Checked 2026-09-04