Skip to content
looot docs
Esc
↑↓navigate↵open⌘Jpreview
On this page

Scrape Creators API / Profile

ScrapeCreators tool scrapecreators-threads-profile on looot: input fields, $0.00188 per call, output shape, and code to run it with curl, JavaScript or Python.

Retrieves a Threads user’s public profile including username, full_name, biography, profile_pic_url, follower_count, is_verified, bio_links, and hd_profile_pic_versions. Also indicates whether the account is a threads-only user via is_threads_only_user.

  • Tool id: scrapecreators-threads-profile
  • Provider: ScrapeCreators
  • Job: Profile threads (threads.profile)
  • Price: $0.00188 per call. A call that fails at the provider costs $0.

Inputs

Name Type Required Description
cache_max_age string no
handle string yes

Output

Shape of the run’s result, checked against 1 real answer:

{ id, pk, gating, success, username, bio_links: unknown[], biography, full_name, is_verified, profile_tags: { edges: { node: { ... } }[] }, follower_count, credits_charged, profile_pic_url, credits_remaining, friendship_status, text_app_biography: { text_fragments: { fragments: { ... }[] } }, transparency_label, platform_podcast_info: { image_url, podcast_url, podcast_name, platform_name, background_color, platform_logo_url }, text_app_custom_feeds, hd_profile_pic_versions: { url, width, height }[], show_text_post_app_badge, text_post_app_is_private, text_post_app_public_views, platform_podcas... ...

The shape is cut here. Signed in, looot inspect scrapecreators-threads-profile prints all of it.

Run it

Every call needs your API token in LOOOT_TOKEN; Sign in shows how to get one. Each run also needs a new idempotency key, so a retry never pays twice. With wait: 30 the answer comes back inline when the run ends within 30 seconds. Otherwise you get the running run back: poll GET /v1/runs/<runId>.

Example input with placeholder values:

curl -X POST "https://api.looot.ai/v1/runs" \
  -H "Authorization: Bearer $LOOOT_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"endpointId":"scrapecreators-threads-profile","input":{"handle":"<handle>"},"wait":30}'
const response = await fetch("https://api.looot.ai/v1/runs", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.LOOOT_TOKEN}`,
    "Content-Type": "application/json",
    "Idempotency-Key": crypto.randomUUID(),
  },
  body: JSON.stringify({
    endpointId: "scrapecreators-threads-profile",
    input: {
      handle: "<handle>",
    },
    wait: 30,
  }),
});
const run = await response.json();
console.log(run.status, run.result);
import os
import uuid

import requests

response = requests.post(
    "https://api.looot.ai/v1/runs",
    headers={
        "Authorization": f"Bearer {os.environ['LOOOT_TOKEN']}",
        "Idempotency-Key": str(uuid.uuid4()),
    },
    json={
        "endpointId": "scrapecreators-threads-profile",
        "input": {
            "handle": "<handle>",
        },
        "wait": 30,
    },
    timeout=90,
)
run = response.json()
print(run["status"], run.get("result"))

To let looot pick among every provider of this job instead, send job:threads.profile as endpointId; see the job page.

Was this page helpful?