Spiral gives your agent every tool with one account. Browse the tools →

opencode · Social Media

How to Use Linktree profile and links in opencode

Fetch a Linktree profile’s bio, image, categories, timezone, and outbound links with their titles and types. Use it to inventory a public creator’s destinations or compare the links promoting music, videos, and merchandise.

Prompts to try with Linktree profile and links in opencode

Copy an example into opencode, or ask in your own words.

Use Linktree profile and links for https://linktr.ee/miguelangeles and create a CSV in this project containing each link’s identifier, type, title, and URL.

Linktree profile and linksopencode
Try asking
  • Use Linktree profile and links for https://linktr.ee/forager.music and compare the returned merchandise URLs with the store links in this project. Write a proposed change list.

  • Use Linktree profile and links for https://linktr.ee/miguelangeles and generate a Markdown report separating music, video, and merchandise destinations by returned type and title.

  • Use Linktree profile and links for https://linktr.ee/forager.music and compare the returned tour destinations with our artist page configuration. Show the differences without editing the configuration.

  • Use Linktree profile and links for https://linktr.ee/miguelangeles and compare the bio and profile image URL with our artist metadata file. Save the differences for review.

How to set up Linktree profile and links in opencode

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

    opencode mcp add spiral --global --url https://api.spiral.ai/mcp
  2. Sign in

    Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Linktree profile and links

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "scrapecreators",
        "model": "scrapecreators/linktree",
        "input": {
          "url": "https://linktr.ee/miguelangeles"
        }
      }'

Then paste one of the prompts above: opencode finds Linktree profile and links on Spiral, shows the price and runs it.

Linktree profile and links providers and prices

Spiral runs Linktree profile and links through ScrapeCreators. Open a card for today's price, with every fee included.

ScrapeCreatorsSocial Media
Linktree · Linktree page
scrapecreators/linktree

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Cache max age1d, 3d, 7d, 14d, or 30d

If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). See the Caching page for details.

Every API field of Linktree · Linktree page is on its tool page: open its card above.

What can you do with Linktree profile and links in opencode?

Build an artist link inventory that compares Linktree destinations with the URLs in your project. A coding agent can turn returned titles, types, and URLs into a review file and flag empty destinations.

Artist destination inventory

Turn a public artist’s link titles and URLs into a review table of music, video, merchandise, and website destinations.

Release campaign review

Compare saved Linktree responses to identify added song links, changed album destinations, and revised promotional titles.

Merchandise link audit

Collect merchandise destinations from an artist’s page and flag titled product entries that arrive with an empty URL.

Tour promotion inventory

Extract ticket and tour destinations from a band’s Linktree for a campaign review, keeping the published title beside each URL.

Music and video briefing

Prepare a short editorial brief listing the songs, albums, playlists, and videos an artist links to from Linktree.

Website content reconciliation

Compare an artist website’s outbound links with a Linktree response and produce a proposed list of destination changes for review.

Profile copy review

Compare the returned bio and profile image URL against approved artist materials to identify copy or image references needing review.

Questions about Linktree profile and links in opencode

Can opencode use Linktree profile and links?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Linktree profile and links like any built-in tool.

How much does Linktree profile and links cost in opencode?

Up to $0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

Do I need a ScrapeCreators account to use Linktree profile and links in opencode?

No. Spiral runs Linktree profile and links on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.

How long does it take to set up Linktree profile and links in opencode?

About two minutes: add the server, then sign in, then check it.

Does opencode wait while Linktree profile and links runs?

Linktree profile and links runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

What does the Linktree data include?

The documented response includes the profile bio, image URL, categories, timezone, and links. Each link includes its identifier, type, title, and destination URL.

How fresh is the Linktree data?

ScrapeCreators says live requests fetch the latest information available from Linktree at request time.

Does every returned link have a usable destination?

No. The documentation includes a PRODUCT entry titled MERCH whose URL is empty, so a titled entry can arrive without a destination.

Why might a promotional link appear or disappear between checks?

Linktree publishers can schedule both the date and time a link becomes visible and when it is removed. A change can therefore reflect a planned campaign start or end.

Do Linktree’s terms allow automated collection of public profiles?

Linktree’s terms prohibit automated collection of profile and platform content using scripts, bots, or scraping tools. Public visibility does not itself establish permission for that collection.

Get started

Start using Linktree profile and links in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options