Skip to main content
ScrapingRabbit

Blog · · 4 min read

Get Snapchat Profile Data With an API

Read a public Snapchat profile as JSON: name, website, subscribers, join date and the public story. Working code, what private accounts return, and limits.

Snapchat profiles are hard to look at without the app. Brands check creators there before a deal, and analysts compare audiences across platforms. This guide shows how to read a public profile with a single GET request: who the account is, how many subscribers it has, and what its public story holds. It also shows what you get back for an account that is not public.

Request a profile

Send the username, with or without the @. Every call needs an API key. New accounts get 100 free credits and a first key is created automatically on sign-up (it is shown once on the dashboard). Sign in at scrapingrabbit.com/login, then send the key in the x-api-key header (a Bearer token also works). The code below reads it from the SCRAPINGRABBIT_API_KEY environment variable, so no key is ever written into your code.

curl -H "x-api-key: $SCRAPINGRABBIT_API_KEY" "https://api.scrapingrabbit.com/v1/snapchat/profile?username=kyliejenner"

A successful call costs 5 credits, as the OpenAPI file lists it. Failed calls are not charged.

A shortened real answer, read on 3 December 2026. We read it with only the story section included, left the media links out and kept three of the fields to keep the example short:

{
  "success": true,
  "data": {
    "profile": {
      "username": "kyliejenner",
      "displayName": "King Kylie 👑",
      "bio": "",
      "website": "kyliecosmetics.com",
      "subscribers": 28523000,
      "badge": 1,
      "createdAt": "2019-05-22T18:01:50.393Z",
      "public": true
    },
    "story": [
      { "id": "f0Re8uHTTvKiNaWuyBWRaAAAgcW55dXRqZGNuAaIZSDpWAaIZSBh2AAAAAA", "type": "video", "postedAt": "2026-11-26T19:14:44.000Z" },
      { "id": "f0Re8uHTTvKiNaWuyBWRaAAAgZW53d25vZWx2AaIZSHnKAaIZSHZuAAAAAA", "type": "image", "postedAt": "2026-11-26T19:15:09.000Z" }
    ],
    "highlights": [],
    "spotlight": [],
    "hasMoreHighlights": true,
    "hasMoreSpotlight": true
  }
}

The real answer also has an avatar address, a hero image address, a Snapcode link and, for each story item, a mediaUrl and a previewUrl. The same endpoint can also return saved highlights and Spotlight videos for accounts that have them, and the hasMoreHighlights and hasMoreSpotlight flags tell you when there is more than the answer holds.

For an account that is not public, the answer looks like this:

{
  "success": true,
  "data": {
    "profile": { "username": "...", "displayName": "", "bio": "", "public": false },
    "story": [],
    "highlights": [],
    "spotlight": []
  }
}

The call still says success: true, so check profile.public before you rely on anything else.

What the fields mean

FieldMeaning
profile.displayNameThe name shown on the profile
profile.bioThe bio text, empty here
profile.websiteThe link the owner put on the profile
profile.subscribersThe subscriber count Snapchat publishes
profile.createdAtWhen the profile was created
profile.publicfalse for private or missing profiles
story[].typevideo or image
story[].postedAtWhen the item was posted
story[].mediaUrl and previewUrlLinks to the file and a small preview

Read it in code

async function snapProfile(username) {
  const url = `https://api.scrapingrabbit.com/v1/snapchat/profile?username=${encodeURIComponent(username)}`;
  const res = await fetch(url, { headers: { "x-api-key": process.env.SCRAPINGRABBIT_API_KEY } });
  const body = await res.json();
  if (!body.success || !body.data.profile.public) return null;

  const { profile, story } = body.data;
  return {
    name: profile.displayName,
    subscribers: profile.subscribers,
    website: profile.website ?? null,
    storyItems: story.length,
    videos: story.filter((item) => item.type === "video").length,
  };
}

console.log(await snapProfile("kyliejenner"));

The code returns null for a failed call or a profile that is not public, so both cases are handled in one place. It counts the story items and how many are videos, which is a quick way to see how active an account is.

The same in Python:

import os
import requests

res = requests.get(
    "https://api.scrapingrabbit.com/v1/snapchat/profile",
    params={"username": "kyliejenner"},
    headers={"x-api-key": os.environ["SCRAPINGRABBIT_API_KEY"]},
    timeout=90,
)
body = res.json()
if body.get("success") and body["data"]["profile"]["public"]:
    profile = body["data"]["profile"]
    print(profile["displayName"], profile["subscribers"], len(body["data"]["story"]))

Things to plan for

  • Only public profiles. A profile that is not public comes back empty with public: false, even though the call itself succeeds.
  • Big accounts return a lot. A very large account can have dozens of story items, so parse only the fields you need.
  • Counts are a snapshot. The subscriber number is what Snapchat publishes at that moment, so store the time you read it.
  • Media links point to Snapchat's own servers. Save the files you need instead of relying on the links staying live.
  • More than one page may exist. Check hasMoreHighlights and hasMoreSpotlight before you assume you have it all.
  • Rate limits and credits. Each key is limited per minute: 10 requests on the free plan, 60 on Starter, 120 on Pro and 300 on Scale. A call costs 5 credits, so cache each profile.
  • Always check success. A failed request returns success: false, a code such as RATE_LIMITED or INVALID_API_KEY, and a message.

Try it without code

The free Snapchat profile viewer works in the browser with no key and shows the name, bio, website and subscriber count for any public profile.

Try it yourself

Frequently asked questions

Do I need a Snapchat account?

No. The endpoint reads public profiles without an account, and the account owner is not told.

What happens with a private account?

Only public profiles can be read. A profile that is not public comes back with public set to false and empty fields.

Is the subscriber count exact?

It is the number Snapchat publishes on the profile at the moment of the request. It changes constantly, so treat it as a snapshot.

More guides