<< All versions
Skill v1.0.0
currentAutomated scan100/100scrapall/scrapall-agent-skills/linktree
──Details
PublishedNovember 5, 2026 at 03:32 AM
Content Hashsha256:df1525ba84a925f8...
Git SHA093b00adf323
──Files
Files (1 file, 2.0 KB)
SKILL.md2.0 KBactive
SKILL.md · 55 lines · 2.0 KB
name: scrapall-linktree description: "Use when the user asks for public Linktree data (Linktree page). Calls the Scrapall REST API with the X-Scapi-Key header." metadata: version: "1.0.0"
Linktree API skill
1 endpoint. Docs: https://scrapall.bipsport.com/docs/linktree/
Auth
Send your key in the X-Scapi-Key header on every request. Read it from the SCRAPALL_API_KEY environment variable; never hard-code it.
bash
curl -sS "https://api.scrapall.bipsport.com/scapi/v1/linktree/info?url=https://linktr.ee/miguelangeles" -H "X-Scapi-Key: $SCRAPALL_API_KEY"
Plan access: paid plans (Free plan covers Facebook and Instagram only).
Endpoints
| Method | Path | What it does | Params (required) | Credits/call | |
|---|---|---|---|---|---|
| GET | /v1/linktree/info | Linktree page | `url` | 1 |
Example agent workflow
Goal: "Look up Linktree data for the input the user gave and summarize it."
- Call
GET /v1/linktree/infowith the user input. - Extract the key fields and present them as a short table.
- Stop on HTTP 402 and tell the user how many credits are needed.
Errors
Error bodies look like {"error": {"code": "...", "message": "..."}}.
| HTTP | error.code | Meaning | Agent action | |
|---|---|---|---|---|
| 401 | invalid_key | Missing or wrong X-Scapi-Key header | Check SCRAPALL_API_KEY; get a key at /account | |
| 402 | insufficient_credits | Not enough credits left | Stop and ask the user to top up | |
| 402 | plan_expired | Plan period ended | Ask the user to renew | |
| 403 | plan_restricted | Free plan covers Facebook + Instagram only | Upgrade (buy_url in body) | |
| 404 | not_found | Unknown path or method | Use a path from the table above | |
| 429 | rate_limited | Too many requests | Back off (2s, 4s, 8s) and retry | |
| 503 | upstream_unavailable | Temporary failure, not charged | Retry later |
Examples
- curl:
examples/curl/linktree.sh - Python:
examples/python/linktree.py - JavaScript:
examples/javascript/linktree.mjs