<< All versions

Skill v1.0.0

currentAutomated scan100/100
scrapall/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

MethodPathWhat it doesParams (required)Credits/call
GET/v1/linktree/infoLinktree page`url`1

Example agent workflow

Goal: "Look up Linktree data for the input the user gave and summarize it."

  1. Call GET /v1/linktree/info with the user input.
  2. Extract the key fields and present them as a short table.
  3. Stop on HTTP 402 and tell the user how many credits are needed.

Errors

Error bodies look like {"error": {"code": "...", "message": "..."}}.

HTTPerror.codeMeaningAgent action
401invalid_keyMissing or wrong X-Scapi-Key headerCheck SCRAPALL_API_KEY; get a key at /account
402insufficient_creditsNot enough credits leftStop and ask the user to top up
402plan_expiredPlan period endedAsk the user to renew
403plan_restrictedFree plan covers Facebook + Instagram onlyUpgrade (buy_url in body)
404not_foundUnknown path or methodUse a path from the table above
429rate_limitedToo many requestsBack off (2s, 4s, 8s) and retry
503upstream_unavailableTemporary failure, not chargedRetry later

Examples

  • curl: examples/curl/linktree.sh
  • Python: examples/python/linktree.py
  • JavaScript: examples/javascript/linktree.mjs
All versions