Docs menu

Snapchat public profile

Beta GET /v1/snapchat/profile

GET /v1/snapchat/profile

A public profile (snapchat.com/add/<handle>): name, bio, subscribers, public stories where shown.

  • 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
handlestringyesUsername, with or without the leading @. Also accepted as username.

Every request also accepts:

  • 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/snapchat/profile" \
  -H "x-api-key: $SOCIALSCRAPE_API_KEY" \
  --data-urlencode "handle=zane"
Python
import os
import requests

params = {
    "handle": "zane",
}
res = requests.get(
    "https://api.socialscrape.io/v1/snapchat/profile",
    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/snapchat/profile");
url.search = new URLSearchParams({
  "handle": "zane"
}).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 Snapchat public profile",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        0,
        0
      ],
      "parameters": {
        "method": "GET",
        "url": "https://api.socialscrape.io/v1/snapchat/profile",
        "sendQuery": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "handle",
              "value": "zane"
            }
          ]
        },
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "x-api-key",
              "value": "={{ $env.SOCIALSCRAPE_API_KEY }}"
            }
          ]
        }
      }
    }
  ],
  "connections": {}
}

Example response#

This is a sample from a recorded response. Status 200.

{
  "ok": true,
  "credits_charged": 1,
  "credits_remaining": 4999,
  "cached": false,
  "cached_at": null,
  "request_id": "req_76a09d605108ff8c48fddba7",
  "data": {
    "object": "profile",
    "platform": "snapchat",
    "id": "e123b268-312b-41d6-8088-b51c12c6f2c6",
    "handle": "zane",
    "name": "Zane",
    "headline": null,
    "url": "https://www.snapchat.com/@zane",
    "kind": "creator",
    "bio": "Time to get buck wild baby",
    "avatar_url": "https://cf-st.sc-cdn.net/aps/bolt/aHR0cHM6Ly9jZi1zdC5zYy1jZG4ubmV0L2QvSG5jNU4zNFh5MWNacFlPR0Y2T3pxP2JvPUVnMGFBQm9BTWdFRVNBSlFHV0FCJnVjPTI1._RS0,90_FMjpeg",
    "banner_url": "https://cf-st.sc-cdn.net/aps/bolt/aHR0cHM6Ly9jZi1zdC5zYy1jZG4ubmV0L2QvZnl5TndBTlZVU1IzckVGWWpuQlZnP2JvPUVnMGFBQm9BTWdFRVNBSlFHV0FCJnVjPTI1._RS0,1080_FMjpeg",
    "verified": null,
    "is_private": null,
    "external_url": null,
    "links": [
      {
        "title": null,
        "url": "https://www.youtube.com/channel/UCiIFLzjBUX5WpkVqVDVWMTQ"
      }
    ],
    "location": null,
    "category": null,
    "created_at": "2020-03-22T03:13:24.362000Z",
    "stats": {
      "followers": 1458500,
      "following": null,
      "posts": null,
      "likes": null,
      "views": null
    },
    "extra": {
      "badge": 1,
      "has_curated_highlights": true,
      "has_spotlight_highlights": false,
      "has_story": false,
      "highlights": [
        {
          "snap_count": 66,
          "thumbnail_url": "https://cf-st.sc-cdn.net/d/bNrrl36C71xV5GeTS13qP.410.IRZXSOY?mo=GkEaGhoAGgAyAQQ6AX1CBgjxsM6eBkgDUF5gAXABWhBEZkxhcmdlVGh1bWJuYWlsogEQCJoDIgsSACoHSVJaWFNPWQ%3D%3D&uc=94",
          "title": "FULL HAIR TRANSFORMATION (PART 1)"
        }
      ],
      "last_updated_at": "2026-09-11T20:52:11.958000+00:00",
      "lens_count": 0,
      "profile_type": "public",
      "related_accounts": [
        {
          "name": "Scotty Sire",
          "username": "imnotscottysire"
        },
        {
          "name": "toddysmithy",
          "username": "toddysmithy"
        },
        {
          "name": "David Dobrik",
          "username": "daviddobrik"
        }
      ],
      "snapcode_url": "https://app.snapchat.com/web/deeplink/snapcode?username=zane&type=SVG&bitmoji=enable"
    }
  },
  "cursor": null,
  "has_more": null
}

Response#

A Profile object in data.

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.
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_163b12443a23fbb770997584"
}