curl -X POST "https://prospect-api.smartlead.ai/api/v1/search-email-leads/search-contacts/find-emails/estimate" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"contacts": [
{ "firstName": "Jane", "lastName": "Doe", "companyDomain": "example.com" },
{ "firstName": "John", "lastName": "Roe", "companyDomain": "example.org" }
]
}'
{
"success": true,
"message": "Find emails estimate",
"data": {
"contacts_requested": 2,
"contacts_cached": 1,
"contacts_to_look_up": 1,
"max_credits": 1,
"credits_available": 2500,
"sufficient": true
}
}
{
"success": false,
"message": "contacts array is required and must have at least one item"
}
{
"message": "body/contacts must NOT have more than 10 items"
}
Smart Prospect
Estimate Find Emails Cost API
See how many of your contacts Find Emails would look up, the most it could charge, and whether your credits cover it, before you spend - POST /search-contacts/find-emails/estimate
POST
/
api
/
v1
/
search-email-leads
/
search-contacts
/
find-emails
/
estimate
curl -X POST "https://prospect-api.smartlead.ai/api/v1/search-email-leads/search-contacts/find-emails/estimate" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"contacts": [
{ "firstName": "Jane", "lastName": "Doe", "companyDomain": "example.com" },
{ "firstName": "John", "lastName": "Roe", "companyDomain": "example.org" }
]
}'
{
"success": true,
"message": "Find emails estimate",
"data": {
"contacts_requested": 2,
"contacts_cached": 1,
"contacts_to_look_up": 1,
"max_credits": 1,
"credits_available": 2500,
"sufficient": true
}
}
{
"success": false,
"message": "contacts array is required and must have at least one item"
}
{
"message": "body/contacts must NOT have more than 10 items"
}
Credit cost: Free. This call never looks up, charges or saves anything.
This endpoint requires your API key: pass it as the
api_key query parameter, or in an X-API-Key or Authorization: Bearer header (see Authentication).contacts you would send to Find Emails. The answer says how many of them you already looked up in the last 30 days (served free), how many Find Emails would look up, the most it could charge, your current balance, and whether the balance covers it. Call it before Find Emails so you, or the person you work for, can confirm the spend first.
max_credits is an upper bound: 1 credit per contact that would be looked up. The real charge can be lower, because only emails returned with status: "Found" and verification_status: "Valid" are charged.
Request Body
The contacts you plan to send to Find Emails (1 to 10 items). Each contact must have firstName, lastName and companyDomain.
curl -X POST "https://prospect-api.smartlead.ai/api/v1/search-email-leads/search-contacts/find-emails/estimate" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"contacts": [
{ "firstName": "Jane", "lastName": "Doe", "companyDomain": "example.com" },
{ "firstName": "John", "lastName": "Roe", "companyDomain": "example.org" }
]
}'
Response Fields
Contacts you looked up in the last 30 days: Find Emails returns them again for free.
null with a client (agency sub-account) API keyThe most Find Emails can charge for these contacts (1 credit per contact looked up). With a client API key every contact is counted
Whether
credits_available covers max_credits, or null when the balance could not be readResponse Codes
contacts missing or empty, more than 10 contacts, or a contact without firstName, lastName or companyDomain. An empty contacts array returns success: false and a message; every other invalid body returns only a message naming the field (for example body must have required property 'contacts')Too many estimates. Estimates have their own per-user window with the same limits as searching and fetching, so they never use up your search, fetch or Find Emails allowance (see Rate Limits)
{
"success": true,
"message": "Find emails estimate",
"data": {
"contacts_requested": 2,
"contacts_cached": 1,
"contacts_to_look_up": 1,
"max_credits": 1,
"credits_available": 2500,
"sufficient": true
}
}
{
"success": false,
"message": "contacts array is required and must have at least one item"
}
{
"message": "body/contacts must NOT have more than 10 items"
}
