| Provider | Billing Mode | Credentials | Cost per page Docs |
|---|---|---|---|
P Crustdata | Per Search | Managed, User | 2.00 credits 1 page = 100 records; 200 results = 2 pages |
Code Example
const options = {
method: 'POST',
headers: {'content-type': 'application/json', authorization: 'Bearer <TOKEN>'},
body: JSON.stringify({
config: {environment: 'production', dedup: {strategy: 'default'}},
searches: [
{
search_id: 'companies:profiles:crustdata@1',
config: {
limit: 10,
cursor: '',
filters: {
last_funding_amount: {from: null, to: null},
revenue_in_usd: {from: 10000, to: 1000000},
competitor_websites: ['https://google.com']
}
}
}
]
})
};
fetch('https://api.pipe0.com/v1/searches/run', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pipe0.com/v1/searches/run"
payload = {
"config": {
"environment": "production",
"dedup": { "strategy": "default" }
},
"searches": [
{
"search_id": "companies:profiles:crustdata@1",
"config": {
"limit": 10,
"cursor": "",
"filters": {
"last_funding_amount": {
"from": None,
"to": None
},
"revenue_in_usd": {
"from": 10000,
"to": 1000000
},
"competitor_websites": ["https://google.com"]
}
}
}
]
}
headers = {
"content-type": "application/json",
"authorization": "Bearer <TOKEN>"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)curl --request POST \
--url https://api.pipe0.com/v1/searches/run \
--header 'authorization: Bearer <TOKEN>' \
--header 'content-type: application/json' \
--data '
{
"config": {
"environment": "production",
"dedup": {
"strategy": "default"
}
},
"searches": [
{
"search_id": "companies:profiles:crustdata@1",
"config": {
"limit": 10,
"cursor": "",
"filters": {
"last_funding_amount": {
"from": null,
"to": null
},
"revenue_in_usd": {
"from": 10000,
"to": 1000000
},
"competitor_websites": [
"https://google.com"
]
}
}
}
]
}
'package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.pipe0.com/v1/searches/run"
payload := strings.NewReader("{\"config\":{\"environment\":\"production\",\"dedup\":{\"strategy\":\"default\"}},\"searches\":[{\"search_id\":\"companies:profiles:crustdata@1\",\"config\":{\"limit\":10,\"cursor\":\"\",\"filters\":{\"last_funding_amount\":{\"from\":null,\"to\":null},\"revenue_in_usd\":{\"from\":10000,\"to\":1000000},\"competitor_websites\":[\"https://google.com\"]}}}]}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("content-type", "application/json")
req.Header.Add("authorization", "Bearer <TOKEN>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<?php
require_once('vendor/autoload.php');
$client = new \GuzzleHttp\Client();
$response = $client->request('POST', 'https://api.pipe0.com/v1/searches/run', [
'body' => '{"config":{"environment":"production","dedup":{"strategy":"default"}},"searches":[{"search_id":"companies:profiles:crustdata@1","config":{"limit":10,"cursor":"","filters":{"last_funding_amount":{"from":null,"to":null},"revenue_in_usd":{"from":10000,"to":1000000},"competitor_websites":["https://google.com"]}}}]}',
'headers' => [
'authorization' => 'Bearer <TOKEN>',
'content-type' => 'application/json',
],
]);
echo $response->getBody();POST /v1/searches/run HTTP/1.1
Content-Type: application/json
Authorization: Bearer <TOKEN>
Host: api.pipe0.com
Content-Length: 312
{"config":{"environment":"production","dedup":{"strategy":"default"}},"searches":[{"search_id":"companies:profiles:crustdata@1","config":{"limit":10,"cursor":"","filters":{"last_funding_amount":{"from":null,"to":null},"revenue_in_usd":{"from":10000,"to":1000000},"competitor_websites":["https://google.com"]}}}]}