POST /email_finder • Credits: 5 credits per call, charged only when an email is found
The RichAPI Email Finder API finds a person's work email address. Send a first name, a last name, and a company domain, or send a LinkedIn profile URL. The endpoint is POST https://api.richapi.ai/api/v1/email_finder. It returns a JSON response that holds the email address, the source that found it, and a per-source execution log. One call costs 5 credits ($0.10), and RichAPI charges those credits only for a call that finds an email.
What Email Finder does
Email Finder solves one problem: you know who a person is, but you do not know the work email address. You send a name plus a company domain, or a LinkedIn profile URL. RichAPI then runs a waterfall across several email sources. A waterfall tries each source in a fixed order and stops at the first source that returns an email. RichAPI pays every source it tries, but it charges you one flat price for the whole call. The response names the source that won, and it lists every source that RichAPI tried.
What is the Email Finder endpoint?
Method:
POSTURL:
https://api.richapi.ai/api/v1/email_finderAuthentication:
x-api-keyheaderResponse: synchronous JSON
Cost: 5 credits per call, charged on a hit only
Success status:
200
How to send an Email Finder request
Copy your API key from the RichAPI dashboard.
Set the
x-api-keyheader to your API key.Set the
Content-Typeheader toapplication/json.Build a request body with one accepted input shape.
For the name shape, send
first_name,last_name, andcompany_domain.For the LinkedIn shape, send
linkedin_url.Send the request to
https://api.richapi.ai/api/v1/email_finder.Read the
successfield in the response.If
successistrue, read the email fromresult.email.
CAUTION: A request body that satisfies no input shape returns 400. RichAPI charges no credits for that request.
cURL
curl -X POST https://api.richapi.ai/api/v1/email_finder
-H "x-api-key: YOUR_API_KEY"
-H "Content-Type: application/json"
-d '{
"first_name": "John",
"last_name": "Doe",
"company_domain": "acme.com"
}'
Python
import requests
response = requests.post(
"https://api.richapi.ai/api/v1/email_finder",
headers={"x-api-key": "YOUR_API_KEY"},
json={
"first_name": "John",
"last_name": "Doe",
"company_domain": "acme.com",
},
timeout=60,
)
response.raise_for_status()
data = response.json()
if data["success"]:
print(data["result"]["email"])
else:
print("No email found. This call was not billed.")
Node.js
const response = await fetch("https://api.richapi.ai/api/v1/email_finder", {
method: "POST",
headers: {
"x-api-key": "YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
first_name: "John",
last_name: "Doe",
company_domain: "acme.com",
}),
});
const data = await response.json();
if (data.success) {
console.log(data.result.email);
} else {
console.log("No email found. This call was not billed.");
}
Which parameters does Email Finder accept?
Every parameter is a string. Every parameter has an empty string as its default. No single parameter is required on its own. The request body must satisfy one accepted input shape.
Parameter | Type | Required | Default | Description |
| string | Conditional |
| The person's first name. Required for the name shape. Example: |
| string | Conditional |
| The person's last name. Required for the name shape. Example: |
| string | Conditional |
| The company domain. Required for the name shape. Example: |
| string | Conditional |
| The person's LinkedIn profile URL. Required for the LinkedIn shape. |
| string | No |
| The company name. It does not replace |
Which input shapes does Email Finder accept?
Shape | Parameters to send | When to use it |
Name plus domain |
| You know the person's name and the employer's website. |
LinkedIn URL |
| You know only the LinkedIn profile. |
RichAPI strips a leading https:// from company_domain. RichAPI also lowercases and trims the domain. If the request body satisfies neither shape, the API returns 400 and names the accepted shapes in the accepted_input_shapes field.
What does Email Finder return?
Email Finder returns 200 for every valid request, both for a hit and for a miss. Read the success field to tell the two apart.
A hit returns this response:
{
"success": true,
"result": {
"email": "[email protected]",
"email_status": "valid"
},
"provider": "provider_a",
"providers_tried": 1,
"execution_log": [
{ "provider": "provider_a", "status": "success", "latency_ms": 342 }
]
}
A miss returns this response:
{
"success": false,
"result": null,
"provider": null,
"providers_tried": 2,
"execution_log": [
{ "provider": "provider_a", "status": "no_data", "latency_ms": 412 },
{ "provider": "provider_b", "status": "no_data", "latency_ms": 688 }
],
"billed": false
}
What does each Email Finder response field mean?
Field | Type | Description |
| boolean |
|
| object or null | The found data. It is |
| string | The work email address that the successful source returned. |
| string | The verification status that the successful source reported for the email. |
| string or null | A label for the source that returned the email, for example |
| integer | The number of sources that RichAPI tried for this call. |
| array | One entry per source that RichAPI tried, in the order tried. |
| string | A label for that source. |
| string | The outcome for that source, for example |
| integer | The time that source took, in milliseconds. |
| boolean | Present only on a miss. It is always |
| string | Present only when every source was unreachable. It explains the refund. |
What happens when Email Finder finds no email?
Email Finder returns 200 with "success": false and "billed": false. RichAPI charges 0 credits for that call and releases the credit reservation. Email Finder and Phone Finder are the two places where the general RichAPI rule differs. The general rule is that RichAPI bills every 2xx response. For Email Finder, RichAPI bills a 2xx response only when success is true.
Two different misses exist, and neither one costs a credit.
Outcome | What happened | Response | Credits charged | What to do |
Hit | A source returned an email. |
| 5 | Read |
Soft miss | Every source answered, and none held this person's email. |
| 0 | Do not send the same request again. Change the input shape, or find the LinkedIn URL first. |
Hard miss | Every source was unreachable, for example a timeout or a |
| 0 | Wait a few minutes, then send the request again. |
Invalid input | The request body satisfied no input shape. |
| 0 | Send one of the accepted input shapes. |
To tell a soft miss from a hard miss, read the error field. A hard miss carries an error field, and a soft miss does not. A soft miss also shows at least one no_data entry in execution_log.
How does the Email Finder waterfall work?
A waterfall is an ordered list of email sources. RichAPI sends your input to the first source in the list. If that source returns an email, RichAPI stops and returns it. If that source returns nothing, RichAPI moves to the next source. RichAPI repeats this until one source returns an email, or until the list ends.
Three rules follow from that design:
RichAPI charges one flat price of 5 credits, whatever the number of sources tried.
The source order is fixed. RichAPI selects the sources, and you cannot choose them.
If your input cannot satisfy a source, RichAPI skips that source. A LinkedIn-only body skips every name-plus-domain source.
The providers_tried field and the execution_log array show exactly what happened on your call.
How much does Email Finder cost?
Email Finder costs 5 credits per successful call. One credit costs $0.02 on the 1,000 and 5,000 credit packs, so one successful call costs $0.10 there. Larger packs cost less per credit. A call that finds no email costs 0 credits.
Calls (all successful) | Credits | Cost |
1 | 5 | $0.10 |
100 | 500 | $10.00 |
1,000 | 5,000 | $100.00 |
10,000 | 50,000 | $1,000.00 |
A real list never returns 100% hits. For 1,000 calls at a 60% hit rate, RichAPI bills 600 calls. That is 3,000 credits, or $60.00.
Which errors can Email Finder return?
Status | Meaning | What to do |
| The request body satisfied no input shape, or the body was not valid JSON. | Read |
| The API key is missing, wrong or revoked. | Send a valid key in the |
|
| Call |
|
| Buy credits in the dashboard, or ask the organization owner to raise the spend limit, then send the request again. |
| The request used a method other than | Send the request as |
| Too many requests. | Read the |
| The API failed. | Send the request again. If the failure repeats, contact support. |
RichAPI charges no credits for any of these errors.
Frequently asked questions
Does Email Finder charge credits when it finds no email?
No. Email Finder charges 5 credits only when the response holds "success": true. A response with "success": false also holds "billed": false, and RichAPI charges 0 credits for it.
Why does Email Finder return status 200 when it finds no email?
Email Finder returns 200 because the request itself was valid and RichAPI served it. The success field, not the HTTP status, reports whether an email was found. Read success in every response.
How accurate is the email that Email Finder returns?
Accuracy depends on the source that returned the email and on the person's public footprint. The result.email_status field carries the verification status that the source reported for that address. For an independent check before a send, pass the address to the Email Verifier API.
What is the minimum input for Email Finder?
Email Finder needs one complete input shape. Send first_name, last_name, and company_domain together, or send linkedin_url on its own. A body that holds only a first name returns 400 and costs no credits.
Can I choose which source Email Finder uses?
No. RichAPI sets the source order and tries the sources in that fixed order. The response reports the winning source in the provider field and every attempt in execution_log.
How long does an Email Finder call take?
Email Finder is synchronous, so one HTTP request returns the result. Each source carries a timeout of 10 to 15 seconds, the whole call has a 25-second budget, and the waterfall stops at the first hit. Set a client timeout of 60 seconds.
Does a repeat lookup for the same person cost credits again?
Yes, unless the call misses. Every successful call costs 5 credits. Cache the result on your side to avoid a repeat charge for the same person.
