Dievio Lead Search API
/install dievio-lead-search-api
Dievio Lead Search Api
Overview
Use this skill for end-to-end Dievio API execution: authenticate requests, submit lead searches, enrich LinkedIn profiles, and paginate results. Prefer the bundled script for deterministic request formatting and response handling.
Core Endpoints
- Public lead search:
POST https://dievio.com/api/public/search - LinkedIn lookup:
POST https://dievio.com/api/linkedin/lookup
Authentication headers (use one):
Authorization: Bearer YOUR_API_KEYX-API-Key: YOUR_API_KEY
Workflow
- Validate credentials:
- Require
DIEVIO_API_KEYfor API-key flows. - Never print raw secrets.
- Build request body:
- Search endpoint uses pagination keys (
_page,_per_page,max_results) plus filters. - LinkedIn lookup requires
linkedinUrlsand optional output flags.
- Execute request and parse response:
- Validate
success,count,has_more,next_page, data arrays. - Respect credit behavior: low credits can return fewer rows than requested.
- Handle errors:
401: missing/invalid credentials402: insufficient credits502: upstream lead service issue500: server error
Commands
Show help:
python3 scripts/dievio_api.py --help
Search with JSON body:
export DIEVIO_API_KEY="your_api_key"
python3 scripts/dievio_api.py search \
--body-file ./search_body.json \
--auto-paginate
By default the CLI prints a safe summary.
Use --raw-output only when you explicitly need full rows (which may contain emails/phones).
LinkedIn lookup from URLs:
python3 scripts/dievio_api.py linkedin-lookup \
--linkedin-url "https://www.linkedin.com/in/example-1" \
--linkedin-url "https://www.linkedin.com/in/example-2" \
--include-work-emails \
--include-personal-emails \
--only-with-emails
Decision Rules
- Use
searchwhen query is filter-based lead discovery. - Use
linkedin-lookupwhen input is explicit LinkedIn profile URLs. - For large pulls, enable pagination and stop on
has_more=false. - Keep outputs structured and include paging fields for traceability.
- If user asks for exact filter values, read references/filters-cheatsheet.md.
References
- API contracts: references/api-reference.md
- Filter fields and allowed values: references/filters-cheatsheet.md
- Pagination behavior: references/pagination.md
- Error handling guidance: references/errors.md
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install dievio-lead-search-api - After installation, invoke the skill by name or use
/dievio-lead-search-api - Provide required inputs per the skill's parameter spec and get structured output
What is Dievio Lead Search API?
Run Dievio lead search and LinkedIn lookup workflows through the public API with correct authentication, filters, pagination, and credit-aware handling. Use... It is an AI Agent Skill for Claude Code / OpenClaw, with 438 downloads so far.
How do I install Dievio Lead Search API?
Run "/install dievio-lead-search-api" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Dievio Lead Search API free?
Yes, Dievio Lead Search API is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Dievio Lead Search API support?
Dievio Lead Search API is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Dievio Lead Search API?
It is built and maintained by hundevmode (@hundevmode); the current version is v1.0.3.