Docs menu

Find a creator's other social profiles

Beta GET /v1/creators/social-profiles

GET /v1/creators/social-profiles

The social profiles a creator links from their own bio, links section or link-in-bio page, each as a profile with its platform and URL; extra.evidence lists the pages that say so and extra.confidence is 1.0 for a link on the profile itself, 0.9 for one a link-in-bio page or a linked profile declares. Only links the creator published are followed; nothing is guessed from a matching handle. Pass a platform and a bare handle (a leading @ is optional; YouTube also takes a channel id), or a profile url.

  • Cost: 1 credit
  • Status: Beta. Built and tested against recorded responses; the shape may still gain fields.
  • Cache: Results are kept up to 30 days; send max_age_days to reuse them for free.
  • Timeout: A request still running after about 25 seconds answers 202 with a job to poll (Batch and jobs).

Parameters#

NameTypeRequiredDescription
urlURLone ofProfile URL on any supported platform. Accepted hosts: youtube.com, tiktok.com, instagram.com, x.com, twitter.com, twitch.tv, facebook.com, linktr.ee, komi.io, pillar.io, lnk.bio, link.me.
handlestringone ofHandle without a profile URL; needs platform. Also accepted as username.
platformstringnoPlatform of handle. One of youtube, tiktok, instagram, twitter, twitch, facebook. Also accepted values: x for twitter.

Send at least one of url, handle. If you send several, the first listed is used and the rest are ignored.

Every request also accepts:

  • cursor: the cursor from the previous page (Pagination).
  • trim: true for a smaller response without null fields and extra.
  • raw: true to also get the platform's original object as raw.
  • max_age_days: accept a cached result up to this many days old, for 0 credits (Caching).

Example request#

Set your key in the environment first (see Authentication).

curl
curl -G "https://api.socialscrape.io/v1/creators/social-profiles" \
  -H "x-api-key: $SOCIALSCRAPE_API_KEY" \
  --data-urlencode "handle=MrBeast" \
  --data-urlencode "platform=youtube"
Python
import os
import requests

params = {
    "handle": "MrBeast",
    "platform": "youtube",
}
res = requests.get(
    "https://api.socialscrape.io/v1/creators/social-profiles",
    headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},
    params=params,
)
body = res.json()

if body["ok"]:
    print(body["data"])
else:
    print(body["error"]["code"], body["error"]["message"])
TypeScript
const url = new URL("https://api.socialscrape.io/v1/creators/social-profiles");
url.search = new URLSearchParams({
  "handle": "MrBeast",
  "platform": "youtube"
}).toString();
const res = await fetch(url, {
  headers: { "x-api-key": process.env.SOCIALSCRAPE_API_KEY! },
});
const body = await res.json();

if (body.ok) {
  console.log(body.data);
} else {
  console.error(body.error.code, body.error.message);
}
n8n
{
  "nodes": [
    {
      "name": "SocialScrape Find a creator's other social profiles",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        0,
        0
      ],
      "parameters": {
        "method": "GET",
        "url": "https://api.socialscrape.io/v1/creators/social-profiles",
        "sendQuery": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "handle",
              "value": "MrBeast"
            },
            {
              "name": "platform",
              "value": "youtube"
            }
          ]
        },
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "x-api-key",
              "value": "={{ $env.SOCIALSCRAPE_API_KEY }}"
            }
          ]
        }
      }
    }
  ],
  "connections": {}
}

Example response#

This is a sample from a recorded response, lists and long text are shortened. Status 200.

{
  "ok": true,
  "credits_charged": 1,
  "credits_remaining": 4999,
  "cached": false,
  "cached_at": null,
  "request_id": "req_6fa38ef4e3a93032c3d70404",
  "data": {
    "object": "list",
    "items": [
      {
        "object": "profile",
        "platform": "instagram",
        "id": null,
        "handle": "mrbeast",
        "name": null,
        "headline": null,
        "url": "https://www.instagram.com/mrbeast/",
        "kind": "unknown",
        "bio": null,
        "avatar_url": null,
        "banner_url": null,
        "verified": null,
        "is_private": null,
        "external_url": null,
        "links": null,
        "location": null,
        "category": null,
        "created_at": null,
        "stats": {
          "followers": null,
          "following": null,
          "posts": null,
          "likes": null,
          "views": null
        },
        "extra": {
          "confidence": 1.0,
          "evidence": [
            {
              "type": "source_profile",
              "url": "https://www.youtube.com/@MrBeast"
            }
          ],
          "linked_from": "https://www.youtube.com/@MrBeast"
        }
      },
      {
        "object": "profile",
        "platform": "twitter",
        "id": null,
        "handle": "MrBeast",
        "name": null,
        "headline": null,
        "url": "https://x.com/MrBeast",
        "kind": "unknown",
        "bio": null,
        "avatar_url": null,
        "banner_url": null,
        "verified": null,
        "is_private": null,
        "external_url": null,
        "links": null,
        "location": null,
        "category": null,
        "created_at": null,
        "stats": {
          "followers": null,
          "following": null,
          "posts": null,
          "likes": null,
          "views": null
        },
        "extra": {
          "confidence": 1.0,
          "evidence": [
            {
              "type": "source_profile",
              "url": "https://www.youtube.com/@MrBeast"
            }
          ],
          "linked_from": "https://www.youtube.com/@MrBeast"
        }
      }
    ],
    "cursor": null,
    "has_more": false,
    "parent": null
  },
  "cursor": null,
  "has_more": false
}

Response#

A list of Profile objects in data.items, with data.cursor and data.has_more.

See Data models for every field. The envelope around data is described in Responses.

Errors#

Failures are free: credits_charged is 0. Branch on error.code, never on the message.

CodeHTTPRetryMeaning
invalid_params400noA parameter is missing, unknown or has the wrong type.
unsupported_url400noThe URL is not one this endpoint accepts (wrong platform or form).
not_found404noThe platform says this profile, post or item does not exist.

Every request can also fail with the account and platform errors listed on the Errors page.

Example error:

{
  "ok": false,
  "error": {
    "code": "not_found",
    "message": "The platform says this profile, post or item does not exist.",
    "retryable": false
  },
  "credits_charged": 0,
  "request_id": "req_2d8a479165177525403b896d"
}

Also served at#

These paths answer the same request, so code written for other APIs keeps working: /v1/find-social-profiles. See Switching from ScrapeCreators.