# Send Dievio Lead Search API to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "dievio-lead-search-api",
    "name": "Dievio Lead Search API",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/hundevmode/dievio-lead-search-api",
    "canonicalUrl": "https://clawhub.ai/hundevmode/dievio-lead-search-api",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/dievio-lead-search-api",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=dievio-lead-search-api",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "agents/openai.yaml",
      "references/api-reference.md",
      "references/errors.md",
      "references/filters-cheatsheet.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "dievio-lead-search-api",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-02T13:23:25.316Z",
      "expiresAt": "2026-05-09T13:23:25.316Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=dievio-lead-search-api",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=dievio-lead-search-api",
        "contentDisposition": "attachment; filename=\"dievio-lead-search-api-1.0.3.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "dievio-lead-search-api"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/dievio-lead-search-api"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/dievio-lead-search-api",
    "downloadUrl": "https://openagent3.xyz/downloads/dievio-lead-search-api",
    "agentUrl": "https://openagent3.xyz/skills/dievio-lead-search-api/agent",
    "manifestUrl": "https://openagent3.xyz/skills/dievio-lead-search-api/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/dievio-lead-search-api/agent.md"
  }
}
```
## Documentation

### 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_KEY
X-API-Key: YOUR_API_KEY

### Workflow

Validate credentials:

Require DIEVIO_API_KEY for 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 linkedinUrls and 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 credentials
402: insufficient credits
502: upstream lead service issue
500: 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 search when query is filter-based lead discovery.
Use linkedin-lookup when 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
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: hundevmode
- Version: 1.0.3
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-02T13:23:25.316Z
- Expires at: 2026-05-09T13:23:25.316Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/dievio-lead-search-api)
- [Send to Agent page](https://openagent3.xyz/skills/dievio-lead-search-api/agent)
- [JSON manifest](https://openagent3.xyz/skills/dievio-lead-search-api/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/dievio-lead-search-api/agent.md)
- [Download page](https://openagent3.xyz/downloads/dievio-lead-search-api)