bytemine

API Reference · Platform export

LinkedIn Profile Search API Reference

Platform documentation snapshot. Access, charging and provider requirements remain operation-specific; examples do not execute requests.

What it does

Deep professional-profile search across roughly 55 filters covering current and past roles, tenure, seniority, function, skills, education, geography and company attributes. Built for precise people targeting when title alone is not enough.

Use cases

  • Find people who held a specific role at a specific company for at least two years, then moved.
  • Recruit or map talent by skill plus tenure plus location without touching LinkedIn manually.
  • Build very narrow buying-committee lists (for example, security leaders at regulated mid-market firms).

Parameters

ParameterTypeDescription
keywordstringFree-text search across headline, summary, skills, interests, associations and full name
linkedin_urlstringExact profile lookup by LinkedIn URL or /in/slug
namestringFull-name phrase match
first_namestringFirst-name match
last_namestringLast-name match
titlestringstring[]
title_excludestringstring[]
companystringstring[]
company_excludestringstring[]
domainstringstring[]
senioritystringstring[]
job_functionstringstring[]
employment_typestringstring[]
started_afterdateCurrent role started on or after this date (YYYY-MM-DD)
started_beforedateCurrent role started on or before this date (YYYY-MM-DD)
started_within_daysintegerStarted the current role within the last N days (recent job changers)
min_months_in_roleintegerMinimum tenure in the current role, in months
max_months_in_roleintegerMaximum tenure in the current role, in months
past_titlestringstring[]
past_companystringstring[]
past_domainstringstring[]
industrystringstring[]
company_sizestringstring[]
company_typestringstring[]
min_employeesintegerMinimum employee count at current employer
max_employeesintegerMaximum employee count at current employer
min_employee_growth_12mofloatMinimum 12-month headcount growth multiplier at current employer (e.g. 1.2 = +20%)
founded_afterintegerCurrent employer founded in or after this year
founded_beforeintegerCurrent employer founded in or before this year
specialtiesstringPhrase match on current employer specialties
naics_codesstringstring[]
sic_codesstringstring[]
company_localitystringCurrent employer city / locality
company_regionstringCurrent employer state / region
company_country_isostringCurrent employer country ISO code
countrystringCountry name (e.g. "United States")
country_isostringstring[]
statestringState / province / admin district
citystringCity / locality
postal_codestringPostal code
locationstringPhrase match on the full formatted address
skillsstringstring[]
interestsstringstring[]
schoolstringSchool name phrase match
degreestringDegree phrase match
graduated_afterdateEducation end date on or after (YYYY-MM-DD)
graduated_beforedateEducation end date on or before (YYYY-MM-DD)
min_connectionsintegerMinimum number of professional connections
min_followersintegerMinimum follower count
min_jobs_countintegerMinimum number of recorded roles on the profile
active_onlybooleanOnly live (non-deleted) profiles. Default: true — set false to include deleted profiles
exclude_incompletebooleanExclude profiles flagged as incomplete. Default: false
require_linkedin_urlbooleanRequire a public LinkedIn URL. Default: true
sort_byenum"relevance" (default), "recent_job_change", "connections", "followers"
sizeintegerResults per page (1-50, default: 25)
fromintegerPagination offset (0-5000, default: 0)
countbooleanSet true for a free count-only query (0 credits, empty profiles array)

Response Schema

Complete documented fields for this section, with nested notation preserved. Endpoint-specific envelopes, availability and additional fields are described under each endpoint below.

FieldNotes
total
total_relation
from
size
has_more
profiles[] → linkedin_url, full_name, first_name, middle_name, last_name, nickname, headline, summary
profiles[] → skills, interests, associations, profile_status, is_incomplete, experience_count
profiles[] → location → formatted_address, city, neighborhood, state, county, postal_code, country, country_iso, region, latitude, longitude
profiles[] → social → connections, followers, recommenders, jobs_count, current_roles
profiles[] → education → school, degree, start_date, end_date
profiles[] → current_role → title, start_date, months_in_role, seniority, job_function, employment_type, description, location
profiles[] → current_role → company → name, domain, website, linkedin_slug, headline, industry, size_band, type, employee_count, employee_growth_12mo, founded, follower_count, specialties, naics_codes, sic_codes, locality, region, country_iso
profiles[] → past_roles[] → title, is_current, start_date, end_date, months_in_role, seniority, job_function, employment_type, description, location, company{...}
trimmed
credits_warning

Illustrative Example Response (synthetic, not a complete endpoint schema):

Example
{
  "data": [
    {
      "total": "string",
      "total_relation": "string",
      "from": "string",
      "size": "string",
      "has_more": false,
      "trimmed": "string",
      "credits_warning": "string",
      "profiles": [
        {
          "past_roles[] → title": "string",
          "is_current": false,
          "start_date": "2025-06-01T12:00:00Z",
          "end_date": "2025-06-01T12:00:00Z",
          "months_in_role": "string",
          "seniority": "string",
          "job_function": "string",
          "employment_type": "string",
          "description": "string",
          "location": "string",
          "company{...}": "string"
        }
      ]
    }
  ],
  "pagination": {
    "page": 1,
    "page_size": 20,
    "total": 1,
    "has_more": false
  },
  "credits_used": 1
}

POST /v1/linkedin/profile-search — Search LinkedIn Profiles

Search the enriched professional-profile index with the full filter set: identity, current role, tenure, past employers, company attributes, geography, skills, education and social metrics. Returns clean, normalized profiles keyed on the public LinkedIn URL — no internal identifiers or profile images. Costs 1 credit per profile returned. Use count: true to size a segment for free before spending credits.

Example Request Body:

Example
{
  "title": [
    "VP Sales",
    "Chief Revenue Officer"
  ],
  "seniority": [
    "Vice President (VP)",
    "Chief X Officer (CxO)"
  ],
  "industry": [
    "Computer Software"
  ],
  "country_iso": [
    "US"
  ],
  "min_employees": 100,
  "max_employees": 5000,
  "min_employee_growth_12mo": 1.1,
  "skills": [
    "Enterprise Sales"
  ],
  "max_months_in_role": 12,
  "sort_by": "recent_job_change",
  "size": 25,
  "from": 0
}

cURL Example:

Example
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
  -H 'Content-Type: application/json' \
  -H 'x-amz-security-token: YOUR-API-KEY' \
  -d '{
  "path": "/v1/linkedin/profile-search",
  "method": "POST",
  "body": {
    "title": [
      "VP Sales",
      "Chief Revenue Officer"
    ],
    "seniority": [
      "Vice President (VP)",
      "Chief X Officer (CxO)"
    ],
    "industry": [
      "Computer Software"
    ],
    "country_iso": [
      "US"
    ],
    "min_employees": 100,
    "max_employees": 5000,
    "min_employee_growth_12mo": 1.1,
    "skills": [
      "Enterprise Sales"
    ],
    "max_months_in_role": 12,
    "sort_by": "recent_job_change",
    "size": 25,
    "from": 0
  }
}'

POST /v1/linkedin/profile-search — Count Matching Profiles

Size a segment without consuming credits.

Example Request Body:

Example
{
  "count": true,
  "title": "Head of Marketing",
  "country_iso": "US",
  "min_employees": 50
}

cURL Example:

Example
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
  -H 'Content-Type: application/json' \
  -H 'x-amz-security-token: YOUR-API-KEY' \
  -d '{
  "path": "/v1/linkedin/profile-search",
  "method": "POST",
  "body": {
    "count": true,
    "title": "Head of Marketing",
    "country_iso": "US",
    "min_employees": 50
  }
}'

POST /v1/linkedin/profile-search — Lookup a Single Profile

Fetch one profile by LinkedIn URL. Costs 1 credit.

Example Request Body:

Example
{
  "linkedin_url": "https://www.linkedin.com/in/williamhgates/",
  "size": 1
}

cURL Example:

Example
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
  -H 'Content-Type: application/json' \
  -H 'x-amz-security-token: YOUR-API-KEY' \
  -d '{
  "path": "/v1/linkedin/profile-search",
  "method": "POST",
  "body": {
    "linkedin_url": "https://www.linkedin.com/in/williamhgates/",
    "size": 1
  }
}'

GET /v1/linkedin/hot-leads — Get Agent Hot Leads

Retrieve the hot leads your Bytemine LinkedIn agent has captured and qualified, newest first. Filter by qualification tier, capturing user, or a since timestamp. Free — reads your own workspace's lead feed.

Query Parameters:

  • qualification: Filter by qualification tier exactly as stored on the lead (as shown in the agent dashboard).
  • limit: Page size. Default 50, max 200.
  • offset: Pagination offset.
  • since: Only leads created at or after this ISO timestamp.
  • user_id: Only leads captured for this agent user.

cURL Example:

Example
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
  -H 'Content-Type: application/json' \
  -H 'x-amz-security-token: YOUR-API-KEY' \
  -d '{
  "path": "/v1/linkedin/hot-leads",
  "method": "GET"
}'