Skip to main content
POST
/
sourcing
/
linkedin
/
companies
Search LinkedIn companies
curl --request POST \
  --url https://app.leonar.app/api/v1/sourcing/linkedin/companies \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "keywords": "<string>",
  "location_ids": {},
  "url": "<string>",
  "cursor": "<string>",
  "page_size": 20
}
'
{
  "data": {
    "items": [
      {}
    ],
    "paging": {
      "start": 123,
      "page_count": 123,
      "total_count": 123
    },
    "cursor": "<string>",
    "has_more": true
  }
}

Authorizations

Authorization
string
header
required

API key starting with leo_

Body

application/json
account_id
string<uuid>
required

Connected LinkedIn account ID

keywords
string
required

Company search keywords (required)

location_ids
object

LinkedIn geo IDs mapped to display names. Do NOT use plain-text names — call GET /sourcing/linkedin/locations?q=<name>&account_id=<id> first to resolve. Example: {"103644278": "New York"}

url
string<uri>

Alternative — paste a LinkedIn companies search URL directly

cursor
string

Pagination cursor from a previous response

page_size
integer
default:20
Required range: 1 <= x <= 25

Response

Company search results

Generic response for LinkedIn search endpoints (jobs, posts, companies)

data
object