Skip to main content
POST
/
sourcing
/
advanced
/
profiles
/
search
Advance Sourcing API endpoint — search profiles
curl --request POST \
  --url https://app.leonar.app/api/v1/sourcing/advanced/profiles/search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "page": 1,
  "page_size": 25,
  "job_titles": [
    "VP of Product",
    "Head of Product"
  ],
  "companies": [
    "Stripe",
    "Datadog"
  ],
  "locations": [
    "Paris, France",
    "London, United Kingdom"
  ],
  "skills": [
    "(SaaS AND Product) NOT Intern"
  ],
  "current_titles_only": true
}
'
{
  "data": {
    "metadata": {
      "page": 1,
      "page_size": 25,
      "total_results": 1280
    },
    "profiles": [
      {
        "id": "adv_prof_01HZY8Y7J6F0P8S3VJ8NR9",
        "linkedin_url": "https://www.linkedin.com/in/jane-doe",
        "full_name": "Jane Doe",
        "title": "VP of Product",
        "headline": "VP of Product at ExampleCo",
        "location": "Paris, France",
        "industry": "Software",
        "company": {
          "name": "ExampleCo",
          "domain": "example.com"
        },
        "contact_availability": {
          "work_email": true,
          "personal_email": false,
          "phone": true
        }
      }
    ],
    "credits": {
      "search_credits_used": 25
    }
  }
}

Authorizations

Authorization
string
header
required

API key starting with leo_

Body

application/json
page
integer
default:1
required

Results page to return.

Required range: x >= 1
page_size
integer
default:25

Number of profiles per page.

Required range: 1 <= x <= 25
name
string

Profile name to search for.

job_titles
string[]

Job titles to include. Boolean syntax is supported inside values.

Maximum array length: 50
exclude_job_titles
string[]

Job titles to exclude. Boolean syntax is supported inside values.

Maximum array length: 50
current_titles_only
boolean
default:true

When true, only current job titles are matched.

Include related job titles in profile matching.

match_experience
enum<string>
default:current

Controls whether job title and company filters must match the same current or historical experience.

Available options:
current,
past,
current_or_past
job_functions
string[]

Functional areas such as Engineering, Sales, Marketing, Finance, or Product.

Maximum array length: 50
seniorities
string[]

Seniority levels to include.

Maximum array length: 50
companies
string[]

Current or previous company names to include.

Maximum array length: 50
exclude_companies
string[]

Company names to exclude.

Maximum array length: 50
company_domains
string[]

Company website domains to include.

Maximum array length: 50
company_linkedin_urls
string[]

Company profile URLs or company identifiers. Cannot be combined with unrelated company search filters when used as the primary company matcher.

Maximum array length: 25
locations
string[]

Profile locations to include.

Maximum array length: 50
exclude_locations
string[]

Profile locations to exclude.

Maximum array length: 50
industries
string[]

Industries to include.

Maximum array length: 50
skills
string[]

Skills to include. Boolean syntax is supported inside values.

Maximum array length: 50
education
string[]

Schools or educational institutions to include.

Maximum array length: 50
keywords
string[]

General profile keywords. Boolean syntax is supported inside values.

Maximum array length: 50
output_fields
string[]

Optional list of profile fields to include in the response.

Response

Advanced profile search results.

data
object