curl --request POST \
--url https://api.example.com/api/v1/email-finder/bulk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"rows": [
{}
],
"file_name": "<string>",
"include_catch_all": false
}
'import requests
url = "https://api.example.com/api/v1/email-finder/bulk"
payload = {
"rows": [{}],
"file_name": "<string>",
"include_catch_all": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({rows: [{}], file_name: '<string>', include_catch_all: false})
};
fetch('https://api.example.com/api/v1/email-finder/bulk', 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.example.com/api/v1/email-finder/bulk",
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([
'rows' => [
[
]
],
'file_name' => '<string>',
'include_catch_all' => false
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://api.example.com/api/v1/email-finder/bulk"
payload := strings.NewReader("{\n \"rows\": [\n {}\n ],\n \"file_name\": \"<string>\",\n \"include_catch_all\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://api.example.com/api/v1/email-finder/bulk")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"rows\": [\n {}\n ],\n \"file_name\": \"<string>\",\n \"include_catch_all\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/email-finder/bulk")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"rows\": [\n {}\n ],\n \"file_name\": \"<string>\",\n \"include_catch_all\": false\n}"
response = http.request(request)
puts response.read_body{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Bulk Search
Bulk find: 3 credits/row, full SMTP+BaviMail verification.
Equivalent to running /find for each row in parallel via ARQ workers. Rows
must all use the same shape: name with domain or company, or
ledger-only linkedin_url. Company-only rows are resolved via
_resolve_company_domain before charging; unresolved rows are skipped with
no charge and reported in skipped_unresolved.
PR3b: variable-cost reservation. Reserves the MAX possible
email_finder_credits (= len(rows)) up front via atomic check+sendEvent,
then refunds unused via negative track. Per AC3 CB22 cost-shape table.
Thin wrapper over execute_bulk_search (Stream C / PR-D commit 1). The
Bavi agent tool find_emails_for_dataset invokes the service directly,
bypassing this HTTP layer.
A row whose domain accepts every address is a refunded miss. With
include_catch_all (default false) the status answer also shows that row’s
best address, as a catch_all row counted in catch_all_count. It is still
refunded, and the saved results list still only holds verified addresses.
curl --request POST \
--url https://api.example.com/api/v1/email-finder/bulk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"rows": [
{}
],
"file_name": "<string>",
"include_catch_all": false
}
'import requests
url = "https://api.example.com/api/v1/email-finder/bulk"
payload = {
"rows": [{}],
"file_name": "<string>",
"include_catch_all": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({rows: [{}], file_name: '<string>', include_catch_all: false})
};
fetch('https://api.example.com/api/v1/email-finder/bulk', 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.example.com/api/v1/email-finder/bulk",
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([
'rows' => [
[
]
],
'file_name' => '<string>',
'include_catch_all' => false
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://api.example.com/api/v1/email-finder/bulk"
payload := strings.NewReader("{\n \"rows\": [\n {}\n ],\n \"file_name\": \"<string>\",\n \"include_catch_all\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://api.example.com/api/v1/email-finder/bulk")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"rows\": [\n {}\n ],\n \"file_name\": \"<string>\",\n \"include_catch_all\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/email-finder/bulk")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"rows\": [\n {}\n ],\n \"file_name\": \"<string>\",\n \"include_catch_all\": false\n}"
response = http.request(request)
puts response.read_body{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Body
List of {name, company|domain} rows or ledger-only {linkedin_url} rows
Original upload filename
255Show the best address for a row whose domain accepts every address, as a 'catch_all' row in the status answer. Not charged either way.
Response
Successful Response