Discover supported lead filters and values
curl --request GET \
--url https://api.sendpilot.ai/v1/lead-database/filters \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.sendpilot.ai/v1/lead-database/filters"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.sendpilot.ai/v1/lead-database/filters', 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://api.sendpilot.ai/v1/lead-database/filters",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api.sendpilot.ai/v1/lead-database/filters"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sendpilot.ai/v1/lead-database/filters")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sendpilot.ai/v1/lead-database/filters")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"filters": [
{}
],
"filter": "<string>",
"values": [
{}
],
"total": 123,
"offset": 123,
"limit": 123,
"has_more": true
}Lead Database
Discover Lead Filters
List supported filter schemas and search or paginate all bundled filter values without spending credits.
GET
/
v1
/
lead-database
/
filters
Discover supported lead filters and values
curl --request GET \
--url https://api.sendpilot.ai/v1/lead-database/filters \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.sendpilot.ai/v1/lead-database/filters"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.sendpilot.ai/v1/lead-database/filters', 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://api.sendpilot.ai/v1/lead-database/filters",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api.sendpilot.ai/v1/lead-database/filters"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sendpilot.ai/v1/lead-database/filters")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sendpilot.ai/v1/lead-database/filters")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"filters": [
{}
],
"filter": "<string>",
"values": [
{}
],
"total": 123,
"offset": 123,
"limit": 123,
"has_more": true
}Requires
The response supplies exact
leads:read. Omit filter to list the 90 supported public filter definitions. Use filter plus optional search to inspect its values. offset starts at 0; limit defaults to 50 and is capped at 100.
Each definition includes its primary name, input_schema, value_mode and REST compatibility aliases. enum has a fixed allowed list; catalog provides the bundled vocabulary; free_form has no exhaustive list. Use primary names in MCP, whose schema does not advertise REST aliases.
curl 'https://api.sendpilot.ai/v1/lead-database/filters?filter=industries&search=software&limit=25' \
-H "X-API-Key: $SENDPILOT_API_KEY"
value entries and readable labels, with total and has_more. SIC/NAICS include filters use code objects; exclude filters use code strings. Company-size exclusions use numeric codes. Copy the value appropriate to the field’s input schema.
All bundled job-title values are reachable through pagination, including beyond the first 70,000 entries. MCP offers this endpoint as get_lead_search_filters, with query and an opaque cursor. Neither form starts a search or spends credits.Authorizations
API key for authentication (prefix: sp_live_ or sp_test_)
Query Parameters
Filter name. Omit to list supported filters.
Case-insensitive filter-name or value search.
Required range:
0 <= x <= 1000000Required range:
1 <= x <= 100Response
Filter names, descriptions, input_schema, value_mode and compatibility aliases.
Exact input values and readable labels. Empty for free-form filters.