curl --request POST \
--url https://app.pipecorn.com/api/v2/intents/accounts/stack/preview \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"stacks": [
"shopify",
"webflow"
],
"stack_match": "or",
"excluded_stacks": [
"wordpress"
],
"countries": [
"US",
"FR"
],
"included_industries": [
"2190",
"34"
],
"excluded_industries": [
"27"
],
"company_size": [
"11-50",
"51-200"
],
"webhook_url": "https://your-company.com/webhooks/stack",
"limit": 200,
"streaming": false,
"name": "Shopify prospects"
}
'import requests
url = "https://app.pipecorn.com/api/v2/intents/accounts/stack/preview"
payload = {
"stacks": ["shopify", "webflow"],
"stack_match": "or",
"excluded_stacks": ["wordpress"],
"countries": ["US", "FR"],
"included_industries": ["2190", "34"],
"excluded_industries": ["27"],
"company_size": ["11-50", "51-200"],
"webhook_url": "https://your-company.com/webhooks/stack",
"limit": 200,
"streaming": False,
"name": "Shopify prospects"
}
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({
stacks: ['shopify', 'webflow'],
stack_match: 'or',
excluded_stacks: ['wordpress'],
countries: ['US', 'FR'],
included_industries: ['2190', '34'],
excluded_industries: ['27'],
company_size: ['11-50', '51-200'],
webhook_url: 'https://your-company.com/webhooks/stack',
limit: 200,
streaming: false,
name: 'Shopify prospects'
})
};
fetch('https://app.pipecorn.com/api/v2/intents/accounts/stack/preview', 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.pipecorn.com/api/v2/intents/accounts/stack/preview",
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([
'stacks' => [
'shopify',
'webflow'
],
'stack_match' => 'or',
'excluded_stacks' => [
'wordpress'
],
'countries' => [
'US',
'FR'
],
'included_industries' => [
'2190',
'34'
],
'excluded_industries' => [
'27'
],
'company_size' => [
'11-50',
'51-200'
],
'webhook_url' => 'https://your-company.com/webhooks/stack',
'limit' => 200,
'streaming' => false,
'name' => 'Shopify prospects'
]),
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.pipecorn.com/api/v2/intents/accounts/stack/preview"
payload := strings.NewReader("{\n \"stacks\": [\n \"shopify\",\n \"webflow\"\n ],\n \"stack_match\": \"or\",\n \"excluded_stacks\": [\n \"wordpress\"\n ],\n \"countries\": [\n \"US\",\n \"FR\"\n ],\n \"included_industries\": [\n \"2190\",\n \"34\"\n ],\n \"excluded_industries\": [\n \"27\"\n ],\n \"company_size\": [\n \"11-50\",\n \"51-200\"\n ],\n \"webhook_url\": \"https://your-company.com/webhooks/stack\",\n \"limit\": 200,\n \"streaming\": false,\n \"name\": \"Shopify prospects\"\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.pipecorn.com/api/v2/intents/accounts/stack/preview")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"stacks\": [\n \"shopify\",\n \"webflow\"\n ],\n \"stack_match\": \"or\",\n \"excluded_stacks\": [\n \"wordpress\"\n ],\n \"countries\": [\n \"US\",\n \"FR\"\n ],\n \"included_industries\": [\n \"2190\",\n \"34\"\n ],\n \"excluded_industries\": [\n \"27\"\n ],\n \"company_size\": [\n \"11-50\",\n \"51-200\"\n ],\n \"webhook_url\": \"https://your-company.com/webhooks/stack\",\n \"limit\": 200,\n \"streaming\": false,\n \"name\": \"Shopify prospects\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.pipecorn.com/api/v2/intents/accounts/stack/preview")
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 \"stacks\": [\n \"shopify\",\n \"webflow\"\n ],\n \"stack_match\": \"or\",\n \"excluded_stacks\": [\n \"wordpress\"\n ],\n \"countries\": [\n \"US\",\n \"FR\"\n ],\n \"included_industries\": [\n \"2190\",\n \"34\"\n ],\n \"excluded_industries\": [\n \"27\"\n ],\n \"company_size\": [\n \"11-50\",\n \"51-200\"\n ],\n \"webhook_url\": \"https://your-company.com/webhooks/stack\",\n \"limit\": 200,\n \"streaming\": false,\n \"name\": \"Shopify prospects\"\n}"
response = http.request(request)
puts response.read_body{
"total_count": 428,
"preview": [
{
"name": "Acme",
"domain": "acme.com",
"website": "https://acme.com",
"industry": "Software Development",
"location": "Paris France",
"city": "Paris",
"country": "France",
"linkedin_url": "https://linkedin.com/company/acme",
"technologies_found": [
{
"technology_name": "Shopify",
"confidence": "high",
"job_mentions": 3
}
]
}
]
}{
"error": "<string>",
"message": "<string>",
"details": "<string>",
"unauthorized_params": [
"<string>"
],
"permitted_params": [
"<string>"
]
}{
"error": "A request with this Idempotency-Key is still being processed",
"code": "idempotency_key_in_use"
}{
"error": "Unauthorized parameters detected",
"unauthorized_params": [
"country"
],
"permitted_params": [
"stacks",
"stack_match",
"excluded_stacks",
"countries",
"included_industries",
"excluded_industries",
"company_size",
"webhook_url",
"limit",
"streaming",
"name"
]
}Find companies by tech stack (preview)
Count and preview companies using a given technology stack
curl --request POST \
--url https://app.pipecorn.com/api/v2/intents/accounts/stack/preview \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"stacks": [
"shopify",
"webflow"
],
"stack_match": "or",
"excluded_stacks": [
"wordpress"
],
"countries": [
"US",
"FR"
],
"included_industries": [
"2190",
"34"
],
"excluded_industries": [
"27"
],
"company_size": [
"11-50",
"51-200"
],
"webhook_url": "https://your-company.com/webhooks/stack",
"limit": 200,
"streaming": false,
"name": "Shopify prospects"
}
'import requests
url = "https://app.pipecorn.com/api/v2/intents/accounts/stack/preview"
payload = {
"stacks": ["shopify", "webflow"],
"stack_match": "or",
"excluded_stacks": ["wordpress"],
"countries": ["US", "FR"],
"included_industries": ["2190", "34"],
"excluded_industries": ["27"],
"company_size": ["11-50", "51-200"],
"webhook_url": "https://your-company.com/webhooks/stack",
"limit": 200,
"streaming": False,
"name": "Shopify prospects"
}
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({
stacks: ['shopify', 'webflow'],
stack_match: 'or',
excluded_stacks: ['wordpress'],
countries: ['US', 'FR'],
included_industries: ['2190', '34'],
excluded_industries: ['27'],
company_size: ['11-50', '51-200'],
webhook_url: 'https://your-company.com/webhooks/stack',
limit: 200,
streaming: false,
name: 'Shopify prospects'
})
};
fetch('https://app.pipecorn.com/api/v2/intents/accounts/stack/preview', 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.pipecorn.com/api/v2/intents/accounts/stack/preview",
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([
'stacks' => [
'shopify',
'webflow'
],
'stack_match' => 'or',
'excluded_stacks' => [
'wordpress'
],
'countries' => [
'US',
'FR'
],
'included_industries' => [
'2190',
'34'
],
'excluded_industries' => [
'27'
],
'company_size' => [
'11-50',
'51-200'
],
'webhook_url' => 'https://your-company.com/webhooks/stack',
'limit' => 200,
'streaming' => false,
'name' => 'Shopify prospects'
]),
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.pipecorn.com/api/v2/intents/accounts/stack/preview"
payload := strings.NewReader("{\n \"stacks\": [\n \"shopify\",\n \"webflow\"\n ],\n \"stack_match\": \"or\",\n \"excluded_stacks\": [\n \"wordpress\"\n ],\n \"countries\": [\n \"US\",\n \"FR\"\n ],\n \"included_industries\": [\n \"2190\",\n \"34\"\n ],\n \"excluded_industries\": [\n \"27\"\n ],\n \"company_size\": [\n \"11-50\",\n \"51-200\"\n ],\n \"webhook_url\": \"https://your-company.com/webhooks/stack\",\n \"limit\": 200,\n \"streaming\": false,\n \"name\": \"Shopify prospects\"\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.pipecorn.com/api/v2/intents/accounts/stack/preview")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"stacks\": [\n \"shopify\",\n \"webflow\"\n ],\n \"stack_match\": \"or\",\n \"excluded_stacks\": [\n \"wordpress\"\n ],\n \"countries\": [\n \"US\",\n \"FR\"\n ],\n \"included_industries\": [\n \"2190\",\n \"34\"\n ],\n \"excluded_industries\": [\n \"27\"\n ],\n \"company_size\": [\n \"11-50\",\n \"51-200\"\n ],\n \"webhook_url\": \"https://your-company.com/webhooks/stack\",\n \"limit\": 200,\n \"streaming\": false,\n \"name\": \"Shopify prospects\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.pipecorn.com/api/v2/intents/accounts/stack/preview")
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 \"stacks\": [\n \"shopify\",\n \"webflow\"\n ],\n \"stack_match\": \"or\",\n \"excluded_stacks\": [\n \"wordpress\"\n ],\n \"countries\": [\n \"US\",\n \"FR\"\n ],\n \"included_industries\": [\n \"2190\",\n \"34\"\n ],\n \"excluded_industries\": [\n \"27\"\n ],\n \"company_size\": [\n \"11-50\",\n \"51-200\"\n ],\n \"webhook_url\": \"https://your-company.com/webhooks/stack\",\n \"limit\": 200,\n \"streaming\": false,\n \"name\": \"Shopify prospects\"\n}"
response = http.request(request)
puts response.read_body{
"total_count": 428,
"preview": [
{
"name": "Acme",
"domain": "acme.com",
"website": "https://acme.com",
"industry": "Software Development",
"location": "Paris France",
"city": "Paris",
"country": "France",
"linkedin_url": "https://linkedin.com/company/acme",
"technologies_found": [
{
"technology_name": "Shopify",
"confidence": "high",
"job_mentions": 3
}
]
}
]
}{
"error": "<string>",
"message": "<string>",
"details": "<string>",
"unauthorized_params": [
"<string>"
],
"permitted_params": [
"<string>"
]
}{
"error": "A request with this Idempotency-Key is still being processed",
"code": "idempotency_key_in_use"
}{
"error": "Unauthorized parameters detected",
"unauthorized_params": [
"country"
],
"permitted_params": [
"stacks",
"stack_match",
"excluded_stacks",
"countries",
"included_industries",
"excluded_industries",
"company_size",
"webhook_url",
"limit",
"streaming",
"name"
]
}- Preview (this endpoint) — returns the exact total match count plus a blurred company sample. No credits.
- Extract — starts an async import and delivers the full company records to your webhook. Spends enrichment credits.
Credits and rate limits
- Credits: free — no credits are spent
- Authentication: standard v2 scheme (
X-API-KEY)
Resolving technology slugs
stacks and excluded_stacks take technology slugs, not display names.
Resolve names to slugs with the
Technology slug lookup
endpoint.
Accepted keys
The body takes the filtersstacks, stack_match, excluded_stacks,
countries, included_industries, excluded_industries and company_size.
The extract-only keys webhook_url, limit, streaming and name are
accepted and ignored, so the same body works for the preview and the
extract call (limit must
still be a positive integer). Any other key is rejected with 422, listing the keys it refused and every
key the endpoint accepts:
{
"error": "Unauthorized parameters detected",
"unauthorized_params": ["country"],
"permitted_params": ["stacks", "stack_match", "excluded_stacks", "countries", "included_industries", "excluded_industries", "company_size", "webhook_url", "limit", "streaming", "name"]
}
Example request
{
"stacks": ["shopify", "webflow"],
"stack_match": "or",
"countries": ["US", "FR"],
"included_industries": ["2190"],
"company_size": ["11-50", "51-200"]
}
Example response
{
"total_count": 428,
"preview": [
{
"name": "Acme",
"domain": "acme.com",
"website": "https://acme.com",
"industry": "Software Development",
"location": "Paris France",
"city": "Paris",
"country": "France",
"linkedin_url": "https://linkedin.com/company/acme",
"technologies_found": [
{ "technology_name": "Shopify", "confidence": "high", "job_mentions": 3 }
]
}
]
}
total_count is exact.
For the complete list of industry IDs used by included_industries /
excluded_industries, see the
LinkedIn Industry List.Authorizations
Headers
A unique value you generate per operation, such as a UUID. Retrying with the same key and the same body returns the stored response instead of running the request again, so a retry after a timeout never charges twice. Successful responses are kept for 24 hours; a failed request is not stored and can be retried with the same key.
255"4f1c2e9a-8a7d-4c1b-9f63-2d6e0b5a7c11"
Body
Technology slugs to match. Resolve names to slugs with GET /accounts/technologies.
["shopify", "webflow"]
How stacks combine. or matches companies using any listed technology; and requires all of them.
or, and "or"
Technology slugs to exclude.
["wordpress"]
ISO country codes, OR-matched against the company's country.
["US", "FR"]
LinkedIn industry IDs to include, OR-matched.
["2190", "34"]
LinkedIn industry IDs to exclude.
["27"]
Company size display buckets to include.
Self-employed, 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000, 10001+ ["11-50", "51-200"]
Accepted and ignored, so the same body works for the preview and the extract.
"https://your-company.com/webhooks/stack"
Accepted and ignored, so the same body works for the preview and the extract. limit is still validated: it must be a positive integer.
1 <= x <= 1000200
Accepted and ignored, so the same body works for the preview and the extract.
false
Accepted and ignored, so the same body works for the preview and the extract.
"Shopify prospects"
Was this page helpful?