Facebook Pixel
APILinkedIn Search

Search LinkedIn jobs

Search for job postings on LinkedIn with various filters. Supports pagination and multiple filter criteria including location, job type, experience level, and more. Falls back to unified search if primary search returns no results. Rate Limit: 300 searches per account per month (resets on the 1st of each month).

POST/search/jobs
Authentication requiredSearch

Code Examples

curl -X POST 'https://api.connectsafely.ai/linkedin/search/jobs' \
-H 'Authorization: Bearer <your_api_key>' \
-H 'Content-Type: application/json' \
-d '{"accountId":"acc_12345","keywords":"","count":25,"start":0,"filters":{"locationId":"San Francisco, CA","geoUrn":"urn:li:example:123456","companyIds":["Acme Inc"],"jobType":["default"],"experienceLevel":["example_value"],"workplaceType":["default"],"datePosted":"2024-01-15","industry":["Technology"],"easyApply":false}}'

Parameters

No parameters.

Request Body

FieldTypeRequiredDescription
accountIdstringNoLinkedIn account ID to use for the search. If not provided, uses the default account.
keywordsstringNoSearch keywords for job title, company, or description
countnumberNoNumber of results to return per page
startnumberNoPagination offset (0-indexed)
filtersobjectNoOptional filters to narrow down search results

Example

{
  "accountId": "acc_12345",
  "keywords": "",
  "count": 25,
  "start": 0,
  "filters": {
    "locationId": "San Francisco, CA",
    "geoUrn": "urn:li:example:123456",
    "companyIds": [
      "Acme Inc"
    ],
    "jobType": [
      "default"
    ],
    "experienceLevel": [
      "example_value"
    ],
    "workplaceType": [
      "default"
    ],
    "datePosted": "2024-01-15",
    "industry": [
      "Technology"
    ],
    "easyApply": false
  }
}

Responses

StatusDescription
200Jobs retrieved successfully
400Bad Request - Invalid request parameters
401Unauthorized - Invalid or missing API key
500Internal Server Error - Failed to get LinkedIn credentials or search failed

200 Response Parameters

NameTypeDescription
successboolean
jobsarray
paginationany
hasMorebooleanWhether more results are available

200 Example

{
  "success": true,
  "jobs": [
    {
      "jobId": "4367156030",
      "title": "Founding Software Engineer - AI and Backend",
      "companyName": "Dexicon",
      "companyId": "109565258",
      "companyUniversalName": "dexicon",
      "location": "Bengaluru, Karnataka, India (Remote)",
      "isRemote": true,
      "isHybrid": false,
      "jobUrl": "https://www.linkedin.com/jobs/view/4367156030/",
      "easyApply": false
    },
    {
      "jobId": "4321502503",
      "title": "Software Engineer (backend)",
      "companyName": "Kodo",
      "companyId": "28718046",
      "companyUniversalName": "kodohq",
      "location": "Mumbai Metropolitan Region (On-site)",
      "isRemote": false,
      "isHybrid": false,
      "jobUrl": "https://www.linkedin.com/jobs/view/4321502503/",
      "easyApply": true
    }
  ],
  "pagination": {
    "count": 25,
    "start": 0,
    "total": 1000
  },
  "hasMore": true
}

400 Response Parameters

NameTypeDescription
successboolean
errorobject

400 Example

{
  "success": false,
  "error": {
    "issues": [
      {
        "code": "invalid_type",
        "expected": "string",
        "received": "undefined",
        "path": [
          "keywords"
        ],
        "message": "Required"
      }
    ],
    "name": "ZodError"
  }
}

401 Response Parameters

NameTypeDescription
errorstring

401 Example

{
  "error": "Unauthorized - Invalid credentials"
}

500 Response Parameters

NameTypeDescription
errorstring

500 Example

{
  "error": "Failed to search jobs",
  "success": false
}