Dievio API for lead search and contact enrichment
Count an audience, find new contacts from filters, or look up known LinkedIn profiles. Search and Lookup use a separate API credit balance.
Choose the API operation from the input you have
Find new leads from filters
Send a role, company domain or other audience filters to POST /api/public/search. Read the contacts from preview_data. Each returned contact uses one API credit.
Look up known LinkedIn profiles
Send public profile URLs to POST /api/linkedin/lookup. Read the matched records and available fields from data. Your API balance must cover the number of URLs on the requested page.
Check the size of an audience
Send filters and _count_only to POST /api/preview for a count without contact rows. This count uses zero credits and needs no API key.
Check your API connection without spending credits
Use GET /api/public/account to validate an API key before running a contact search. It returns your account identifier and a connection label. It does not retrieve contacts, read your credit balance or spend API credits.
curl https://dievio.com/api/public/account -H "Authorization: Bearer $DIEVIO_API_KEY"A successful response has this shape. The account identifier below is a fictional example.
{
"success": true,
"account_id": "11111111-2222-4333-8444-555555555555",
"connection_label": "Account ending 555555"
}A missing, invalid or revoked key returns 401. If key verification is unavailable, the method returns 503; treat that as a failed connection test. A positive API credit balance is not required for this method. Contact searches still use the separate API balance.
Send the key in the Authorization: Bearer or X-API-Key header. Do not put it in a URL or client-side code. Connection responses use Cache-Control: no-store.
Try a count, then retrieve up to one contact
These requests use the same company and title filters. Run the count first. Set DIEVIO_API_KEY in your server environment before you retrieve a contact.
Count matching profiles
curl -X POST https://dievio.com/api/preview \
-H "Content-Type: application/json" \
-d '{
"company_websites": ["stripe.com"],
"job_titles": ["Founder"],
"_count_only": true
}'Retrieve one contact
curl -X POST https://dievio.com/api/public/search \
-H "Authorization: Bearer $DIEVIO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"company_websites": ["stripe.com"],
"job_titles": ["Founder"],
"_include_raw": false,
"_page": 1,
"_per_page": 1,
"max_results": 1
}'Read the count from total_count. When count_exact is false, the count is an estimate. The Search request uses one API credit if it returns a contact.
Top up when you need more
API credit packages are available on any workspace plan, including Free. Search and Lookup requests authenticated with an API key draw from the API balance. Workspace credits cover dashboard operations and compatible connected agents.
| API credits | Package price | Per 1,000 credits |
|---|---|---|
| 5,000 | $22.50 | $4.50 |
| 10,000 | $42.50 | $4.25 |
| 20,000 | $80.00 | $4.00 |
| 60,000 | $175.00 | $2.92 |
Set up your workflow
Make your first authenticated request
Create an API key and review your API credit balance in account settings.