Retrieve your results
We store each of your results into what we call a search item
. When you do a single search, there is one search item
linked to your single search. When you do a bulk search, you have as many search item
s as the number of rows in your data.
Search items are precise description of a result. It contains:
- The found email(s).
- The status of the search.
- The firstname / lastname of the person (if found).
- The level of verification.
- ...
Extract a single result using the id:
Everytime you do a single search, a _id
is returned to you. If you need to retrieve the whole result for this search, you can use this route with the returned _id
.
This also works with bulk search' results, if you want to fetch a particular result.
Imagine, you've run a single search, with the following response:
{
"success": true,
"item": {
"_id": "kMnquYkBTs8kZM9ND26h",
"status": "NONE",
}
}
Then you need to retrieve the result from this single search, you simply call this route with:
{
"user": "#USERID#",
"mode": "single",
"id": "kMnquYkBTs8kZM9ND26h"
}
You'll get the result for this specific _id
.
If you don't know how to fetch your user id, please see here.
Here is the list of the complete parameters and responses:
Your account's unique ID.
single mode means retrieving single searches / bulk mode means retrieving bulk searches
the result' _id you want to retrieve
{
"user": "#USERID#",
"mode": "single",
"id": "kMnquYkBTs8kZM9ND26h"
}
Extract results from single searches:
Below you'll find the way to retrieve all your results linked to single searches. They are sorted by date of creation, so the latest one is at the top of the results. You can limit the number of retrieved results with a maximum at 50.
Your account's unique ID.
single mode means retrieving single searches
Limit of files to send (max is 50).
The type of search you want to fetch. Leave empty, if you want to retrieve any kind of searches
If you want to paginate, use this field. true = next page | false = previous page
Array used to paginate your files, it is this item you need to pass to your requests to fetch the next page
Tuples of (number, string)
{
"user": "#USERID#",
"mode": "single",
"limit": 50,
"type": "domain-scan"
}
Extract results from bulk searches:
Below you'll find the way to retrieve all your results linked to bulk searches. They are sorted by date of creation, so the latest one is at the top of the results. You can limit the number of retrieved results with a maximum at 50.
Your account's unique ID.
The file id for your bulk. Useful when you want to retrieve only the searches for a given bulk
Type of results (bulk for bulk search)
Limit of files to send.
The unique ID of the file you want to fetch.
If you want to paginate, use this field. true = next page | false = previous page
Array used to paginate your files, it is this item you need to pass to your requests to fetch the next page
Tuples of (number, string)
{
"user": "#USERID#",
"mode": "bulk",
"limit": 50,
"file": "#FILEID#"
}