Skip to main content
POST
/
accounts
/
Extract account search results
curl --request POST \
  --url https://app.prontohq.com/api/v2/accounts/ \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "search_url": "https://www.linkedin.com/sales/search/company?query=(revenueRange:%22%2410M-%24100M%22%20AND%20employeeCountRange:%2211-50%22%20AND%20industry:%22Technology%2C%20Information%20and%20Internet%22)",
  "name": "Tech Companies 10M-100M Revenue",
  "webhook_url": "https://webhook.site/8b53c96f-f2cd-4c24-bc09-b3c2176d7ea8",
  "streaming": false,
  "custom": {
    "source": "api",
    "campaign": "q1_outreach"
  }
}'
{
"id": "8e1dcba0-f0bb-4071-99fc-f18ba6559ccc",
"import_name": "Tech Companies 10M-100M Revenue",
"import_url": "https://www.linkedin.com/sales-api/salesApiLeadSearch?query=(revenueRange:%22%2410M-%24100M%22%20AND%20employeeCountRange:%2211-50%22%20AND%20industry:%22Technology%2C%20Information%20and%20Internet%22)",
"created_at": "2024-01-15T10:30:00Z",
"custom": {
"source": "api",
"campaign": "q1_outreach"
}
}
Extract company accounts from LinkedIn Sales Navigator search results and process them asynchronously. This endpoint creates an import job that will process the search results in the background and send the results to your specified webhook URL when complete.

Overview

This endpoint allows you to extract company data from LinkedIn Sales Navigator search URLs. The process is asynchronous - you’ll receive an immediate response with the import job details, and the actual results will be sent to your webhook URL when processing is complete.

Rate Limits

  • 1 request per second per user/IP address

Authorizations

X-API-KEY
string
header
required

Your API key

Body

application/json
search_url
string<uri>
required

LinkedIn Sales Navigator company search URL. Must start with 'https://www.linkedin.com/sales/search/company'

Example:

"https://www.linkedin.com/sales/search/company?query=(filters%3AList((type%3AANNUAL_REVENUE%2CrangeValue%3A(min%3A10%2Cmax%3A100)%2CselectedSubFilter%3AUSD)%2C(type%3AINDUSTRY%2Cvalues%3AList((id%3A6%2Ctext%3ATechnologie%252C%2520information%2520et%2520Internet%2CselectionType%3AINCLUDED)))))&sessionId=uYap7SN9RS6itaRp2Vt7Xg%3D%3D&viewAllFilters=true"

name
string
required

Name for the import job

Example:

"Tech Companies 10M-100M Revenue"

webhook_url
string<uri>
required

Webhook URL to receive the processed results

Example:

"https://webhook.site/8b53c96f-f2cd-4c24-bc09-b3c2176d7ea8"

streaming
boolean
default:false

Enable streaming mode for real-time results

Example:

false

custom
object

Custom attributes to associate with the import

Example:
{
"source": "api",
"campaign": "q1_outreach"
}

Response

Import job created successfully

id
string<uuid>

Unique identifier for the import job

Example:

"8e1dcba0-f0bb-4071-99fc-f18ba6559ccc"

import_name
string

Name of the import job

Example:

"Tech Companies 10M-100M Revenue"

import_url
string<uri>

The processed search URL used for extraction

Example:

"https://www.linkedin.com/sales-api/salesApiLeadSearch?query=(revenueRange:%22%2410M-%24100M%22%20AND%20employeeCountRange:%2211-50%22%20AND%20industry:%22Technology%2C%20Information%20and%20Internet%22)"

created_at
string<date-time>

Creation timestamp of the import job

Example:

"2024-01-15T10:30:00Z"

custom
object

Custom attributes associated with the import

Example:
{
"source": "api",
"campaign": "q1_outreach"
}