deepapi
Installation
SKILL.md
DeepAPI
This file is a compact router. The references/ files are organized by user workflow — research, scraping, email, browser automation, image generation, and agent state — not by platform. Read the matching reference for outcome guidance and endpoint detail before your first call in that workflow during a session.
Required Environment
- Read
DEEPAPI_API_BASE_URLandDEEPAPI_API_KEYfrom the environment. - If either is missing, load the platform file and re-check: PowerShell
. "$HOME/.deepapi/env.ps1"; bash/zshsource ~/.deepapi/env. - If still missing, stop and ask the user to run the setup prompt from https://deepapi.co/docs.
- Never commit, print, log, paste, or expose
DEEPAPI_API_KEY.
Request Rules
- Send
Authorization: Bearer $DEEPAPI_API_KEYon every request. - Send
X-DeepAPI-Skill-Versionwith the managed version fromVERSION.txtin this skill folder on every request. If that file is missing, use this file's frontmatterversion. - Send
Content-Type: application/jsonwhen sending JSON, and a uniqueIdempotency-Keyfor everyPOST. - Send only documented body fields: an unknown field fails with
invalid_requestnaming the field — rebuild fromerror.fixand retry. - Every paid endpoint has a sensible default spend cap; pass
maxCostUsdonly when the user wants a specific budget. Unsure about cost or balance? AdddryRun: truefirst — a free preview. - Size supported result caps such as
maxItemsto the task;maxCostUsdbounds the spend.