cURL
curl --request POST \
--url https://app.bettercontact.rocks/api/v2/lead_finder/async \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"filters": {
"company": {
"include": [
"<string>"
],
"exclude": [
"<string>"
]
},
"company_industry": {
"include": [],
"exclude": []
},
"company_technology": {
"include": [
"<string>"
],
"exclude": [
"<string>"
]
},
"company_headcount_min": 5000000,
"company_headcount_max": 5000000,
"lead_fullname": {
"include": [
"<string>"
],
"exclude": [
"<string>"
]
},
"lead_linkedin_url": {
"include": [
"<string>"
],
"exclude": [
"<string>"
]
},
"lead_department": {
"include": [],
"exclude": []
},
"lead_function": {
"include": [],
"exclude": []
},
"lead_skills": {
"include": [
"<string>"
],
"exclude": [
"<string>"
]
},
"lead_job_title": {
"include": [
"<string>"
],
"exclude": [
"<string>"
],
"exact_match": true
},
"lead_location": {
"include": [
"<string>"
],
"exclude": [
"<string>"
]
},
"lead_seniority": {
"include": [],
"exclude": []
}
},
"limit": 100,
"offset": 101,
"webhook": "<string>"
}
'import requests
url = "https://app.bettercontact.rocks/api/v2/lead_finder/async"
payload = {
"filters": {
"company": {
"include": ["<string>"],
"exclude": ["<string>"]
},
"company_industry": {
"include": [],
"exclude": []
},
"company_technology": {
"include": ["<string>"],
"exclude": ["<string>"]
},
"company_headcount_min": 5000000,
"company_headcount_max": 5000000,
"lead_fullname": {
"include": ["<string>"],
"exclude": ["<string>"]
},
"lead_linkedin_url": {
"include": ["<string>"],
"exclude": ["<string>"]
},
"lead_department": {
"include": [],
"exclude": []
},
"lead_function": {
"include": [],
"exclude": []
},
"lead_skills": {
"include": ["<string>"],
"exclude": ["<string>"]
},
"lead_job_title": {
"include": ["<string>"],
"exclude": ["<string>"],
"exact_match": True
},
"lead_location": {
"include": ["<string>"],
"exclude": ["<string>"]
},
"lead_seniority": {
"include": [],
"exclude": []
}
},
"limit": 100,
"offset": 101,
"webhook": "<string>"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
filters: {
company: {include: ['<string>'], exclude: ['<string>']},
company_industry: {include: [], exclude: []},
company_technology: {include: ['<string>'], exclude: ['<string>']},
company_headcount_min: 5000000,
company_headcount_max: 5000000,
lead_fullname: {include: ['<string>'], exclude: ['<string>']},
lead_linkedin_url: {include: ['<string>'], exclude: ['<string>']},
lead_department: {include: [], exclude: []},
lead_function: {include: [], exclude: []},
lead_skills: {include: ['<string>'], exclude: ['<string>']},
lead_job_title: {include: ['<string>'], exclude: ['<string>'], exact_match: true},
lead_location: {include: ['<string>'], exclude: ['<string>']},
lead_seniority: {include: [], exclude: []}
},
limit: 100,
offset: 101,
webhook: '<string>'
})
};
fetch('https://app.bettercontact.rocks/api/v2/lead_finder/async', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.bettercontact.rocks/api/v2/lead_finder/async",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'filters' => [
'company' => [
'include' => [
'<string>'
],
'exclude' => [
'<string>'
]
],
'company_industry' => [
'include' => [
],
'exclude' => [
]
],
'company_technology' => [
'include' => [
'<string>'
],
'exclude' => [
'<string>'
]
],
'company_headcount_min' => 5000000,
'company_headcount_max' => 5000000,
'lead_fullname' => [
'include' => [
'<string>'
],
'exclude' => [
'<string>'
]
],
'lead_linkedin_url' => [
'include' => [
'<string>'
],
'exclude' => [
'<string>'
]
],
'lead_department' => [
'include' => [
],
'exclude' => [
]
],
'lead_function' => [
'include' => [
],
'exclude' => [
]
],
'lead_skills' => [
'include' => [
'<string>'
],
'exclude' => [
'<string>'
]
],
'lead_job_title' => [
'include' => [
'<string>'
],
'exclude' => [
'<string>'
],
'exact_match' => true
],
'lead_location' => [
'include' => [
'<string>'
],
'exclude' => [
'<string>'
]
],
'lead_seniority' => [
'include' => [
],
'exclude' => [
]
]
],
'limit' => 100,
'offset' => 101,
'webhook' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.bettercontact.rocks/api/v2/lead_finder/async"
payload := strings.NewReader("{\n \"filters\": {\n \"company\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"company_industry\": {\n \"include\": [],\n \"exclude\": []\n },\n \"company_technology\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"company_headcount_min\": 5000000,\n \"company_headcount_max\": 5000000,\n \"lead_fullname\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"lead_linkedin_url\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"lead_department\": {\n \"include\": [],\n \"exclude\": []\n },\n \"lead_function\": {\n \"include\": [],\n \"exclude\": []\n },\n \"lead_skills\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"lead_job_title\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ],\n \"exact_match\": true\n },\n \"lead_location\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"lead_seniority\": {\n \"include\": [],\n \"exclude\": []\n }\n },\n \"limit\": 100,\n \"offset\": 101,\n \"webhook\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.bettercontact.rocks/api/v2/lead_finder/async")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"filters\": {\n \"company\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"company_industry\": {\n \"include\": [],\n \"exclude\": []\n },\n \"company_technology\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"company_headcount_min\": 5000000,\n \"company_headcount_max\": 5000000,\n \"lead_fullname\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"lead_linkedin_url\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"lead_department\": {\n \"include\": [],\n \"exclude\": []\n },\n \"lead_function\": {\n \"include\": [],\n \"exclude\": []\n },\n \"lead_skills\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"lead_job_title\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ],\n \"exact_match\": true\n },\n \"lead_location\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"lead_seniority\": {\n \"include\": [],\n \"exclude\": []\n }\n },\n \"limit\": 100,\n \"offset\": 101,\n \"webhook\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.bettercontact.rocks/api/v2/lead_finder/async")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"filters\": {\n \"company\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"company_industry\": {\n \"include\": [],\n \"exclude\": []\n },\n \"company_technology\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"company_headcount_min\": 5000000,\n \"company_headcount_max\": 5000000,\n \"lead_fullname\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"lead_linkedin_url\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"lead_department\": {\n \"include\": [],\n \"exclude\": []\n },\n \"lead_function\": {\n \"include\": [],\n \"exclude\": []\n },\n \"lead_skills\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"lead_job_title\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ],\n \"exact_match\": true\n },\n \"lead_location\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"lead_seniority\": {\n \"include\": [],\n \"exclude\": []\n }\n },\n \"limit\": 100,\n \"offset\": 101,\n \"webhook\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Lead finder request accepted.",
"request_id": "bc39ffbfc24cf043b748"
}{
"error": "Unauthorized"
}Lead Finder - Get new leads
New Lead Finder Search
Find new leads based on Company and People criteria.
POST
/
lead_finder
/
async
cURL
curl --request POST \
--url https://app.bettercontact.rocks/api/v2/lead_finder/async \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"filters": {
"company": {
"include": [
"<string>"
],
"exclude": [
"<string>"
]
},
"company_industry": {
"include": [],
"exclude": []
},
"company_technology": {
"include": [
"<string>"
],
"exclude": [
"<string>"
]
},
"company_headcount_min": 5000000,
"company_headcount_max": 5000000,
"lead_fullname": {
"include": [
"<string>"
],
"exclude": [
"<string>"
]
},
"lead_linkedin_url": {
"include": [
"<string>"
],
"exclude": [
"<string>"
]
},
"lead_department": {
"include": [],
"exclude": []
},
"lead_function": {
"include": [],
"exclude": []
},
"lead_skills": {
"include": [
"<string>"
],
"exclude": [
"<string>"
]
},
"lead_job_title": {
"include": [
"<string>"
],
"exclude": [
"<string>"
],
"exact_match": true
},
"lead_location": {
"include": [
"<string>"
],
"exclude": [
"<string>"
]
},
"lead_seniority": {
"include": [],
"exclude": []
}
},
"limit": 100,
"offset": 101,
"webhook": "<string>"
}
'import requests
url = "https://app.bettercontact.rocks/api/v2/lead_finder/async"
payload = {
"filters": {
"company": {
"include": ["<string>"],
"exclude": ["<string>"]
},
"company_industry": {
"include": [],
"exclude": []
},
"company_technology": {
"include": ["<string>"],
"exclude": ["<string>"]
},
"company_headcount_min": 5000000,
"company_headcount_max": 5000000,
"lead_fullname": {
"include": ["<string>"],
"exclude": ["<string>"]
},
"lead_linkedin_url": {
"include": ["<string>"],
"exclude": ["<string>"]
},
"lead_department": {
"include": [],
"exclude": []
},
"lead_function": {
"include": [],
"exclude": []
},
"lead_skills": {
"include": ["<string>"],
"exclude": ["<string>"]
},
"lead_job_title": {
"include": ["<string>"],
"exclude": ["<string>"],
"exact_match": True
},
"lead_location": {
"include": ["<string>"],
"exclude": ["<string>"]
},
"lead_seniority": {
"include": [],
"exclude": []
}
},
"limit": 100,
"offset": 101,
"webhook": "<string>"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
filters: {
company: {include: ['<string>'], exclude: ['<string>']},
company_industry: {include: [], exclude: []},
company_technology: {include: ['<string>'], exclude: ['<string>']},
company_headcount_min: 5000000,
company_headcount_max: 5000000,
lead_fullname: {include: ['<string>'], exclude: ['<string>']},
lead_linkedin_url: {include: ['<string>'], exclude: ['<string>']},
lead_department: {include: [], exclude: []},
lead_function: {include: [], exclude: []},
lead_skills: {include: ['<string>'], exclude: ['<string>']},
lead_job_title: {include: ['<string>'], exclude: ['<string>'], exact_match: true},
lead_location: {include: ['<string>'], exclude: ['<string>']},
lead_seniority: {include: [], exclude: []}
},
limit: 100,
offset: 101,
webhook: '<string>'
})
};
fetch('https://app.bettercontact.rocks/api/v2/lead_finder/async', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.bettercontact.rocks/api/v2/lead_finder/async",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'filters' => [
'company' => [
'include' => [
'<string>'
],
'exclude' => [
'<string>'
]
],
'company_industry' => [
'include' => [
],
'exclude' => [
]
],
'company_technology' => [
'include' => [
'<string>'
],
'exclude' => [
'<string>'
]
],
'company_headcount_min' => 5000000,
'company_headcount_max' => 5000000,
'lead_fullname' => [
'include' => [
'<string>'
],
'exclude' => [
'<string>'
]
],
'lead_linkedin_url' => [
'include' => [
'<string>'
],
'exclude' => [
'<string>'
]
],
'lead_department' => [
'include' => [
],
'exclude' => [
]
],
'lead_function' => [
'include' => [
],
'exclude' => [
]
],
'lead_skills' => [
'include' => [
'<string>'
],
'exclude' => [
'<string>'
]
],
'lead_job_title' => [
'include' => [
'<string>'
],
'exclude' => [
'<string>'
],
'exact_match' => true
],
'lead_location' => [
'include' => [
'<string>'
],
'exclude' => [
'<string>'
]
],
'lead_seniority' => [
'include' => [
],
'exclude' => [
]
]
],
'limit' => 100,
'offset' => 101,
'webhook' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.bettercontact.rocks/api/v2/lead_finder/async"
payload := strings.NewReader("{\n \"filters\": {\n \"company\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"company_industry\": {\n \"include\": [],\n \"exclude\": []\n },\n \"company_technology\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"company_headcount_min\": 5000000,\n \"company_headcount_max\": 5000000,\n \"lead_fullname\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"lead_linkedin_url\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"lead_department\": {\n \"include\": [],\n \"exclude\": []\n },\n \"lead_function\": {\n \"include\": [],\n \"exclude\": []\n },\n \"lead_skills\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"lead_job_title\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ],\n \"exact_match\": true\n },\n \"lead_location\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"lead_seniority\": {\n \"include\": [],\n \"exclude\": []\n }\n },\n \"limit\": 100,\n \"offset\": 101,\n \"webhook\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.bettercontact.rocks/api/v2/lead_finder/async")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"filters\": {\n \"company\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"company_industry\": {\n \"include\": [],\n \"exclude\": []\n },\n \"company_technology\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"company_headcount_min\": 5000000,\n \"company_headcount_max\": 5000000,\n \"lead_fullname\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"lead_linkedin_url\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"lead_department\": {\n \"include\": [],\n \"exclude\": []\n },\n \"lead_function\": {\n \"include\": [],\n \"exclude\": []\n },\n \"lead_skills\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"lead_job_title\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ],\n \"exact_match\": true\n },\n \"lead_location\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"lead_seniority\": {\n \"include\": [],\n \"exclude\": []\n }\n },\n \"limit\": 100,\n \"offset\": 101,\n \"webhook\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.bettercontact.rocks/api/v2/lead_finder/async")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"filters\": {\n \"company\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"company_industry\": {\n \"include\": [],\n \"exclude\": []\n },\n \"company_technology\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"company_headcount_min\": 5000000,\n \"company_headcount_max\": 5000000,\n \"lead_fullname\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"lead_linkedin_url\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"lead_department\": {\n \"include\": [],\n \"exclude\": []\n },\n \"lead_function\": {\n \"include\": [],\n \"exclude\": []\n },\n \"lead_skills\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"lead_job_title\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ],\n \"exact_match\": true\n },\n \"lead_location\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"lead_seniority\": {\n \"include\": [],\n \"exclude\": []\n }\n },\n \"limit\": 100,\n \"offset\": 101,\n \"webhook\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Lead finder request accepted.",
"request_id": "bc39ffbfc24cf043b748"
}{
"error": "Unauthorized"
}Authorizations
Body
application/json
Filters and parameters for lead finding
Show child attributes
Show child attributes
Maximum number of results to return per request. Accepted values between 1 and 200. By default, up to 100 leads are returned
Required range:
1 <= x <= 200Example:
100
Number of results to skip before returning matches. Use this to paginate through results when the total number of leads found (visible in the leads_found attribute of the response) exceeds the limit of the current request. For example, if leads_found is 350 and limit is 100, set offset to 101 to retrieve the next page of results.
Example:
101
Optional URL to receive results automatically
Was this page helpful?
⌘I