100 free credits. No credit card required. Get a key

Snapchat profile API

A public Snapchat profile by username: subscriber count, bio, category, live story, saved highlights and recent Spotlight snaps with their view and comment counts, in Snapchat’s own JSON.

GET /v1/snapchat/users/{handle}1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/snapchat/users/djkhaled305",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"userProfile": {
"$case": "publicProfileInfo",
"publicProfileInfo": {
"username": "djkhaled305",
"title": "DJ Khaled",
"snapcodeImageUrl": "https://gcp.api.snapchat.com/web/deeplink/snapcode?username=…",
"badge": 1,
"categoryStringId": "public-profile-category-v3-people",
"subcategoryStringId": "public-profile-subcategory-v3-artist",
"subscriberCount": "11205500",
"bio": "FATHER | CEO | MOGUL",
"…": "19 more fields"
}
},
"story": {
"storyType": 5,
"snapList": [
{
"…": "13 fields"
},
"… 21 more"
],
"storyId": {
"value": "djkhaled305"
},
"storyTitle": null,
"thumbnailUrl": {
"value": "https://cf-st.sc-cdn.net/d/qfsPC8O96noOQJTNMDfEi.256.IRZXSOY…"
},
"storySubtitle": null,
"storyShareId": null,
"canonicalUrlSuffix": null,
"…": "6 more fields"
},
"curatedHighlights": [],
"spotlightHighlights": [
{
"storyType": 15,
"snapList": [
"…"
],
"storyId": {
"…": "1 fields"
},
"storyTitle": null,
"thumbnailUrl": {
"…": "1 fields"
},
"storySubtitle": null,
"storyShareId": null,
"canonicalUrlSuffix": null,
"…": "7 more fields"
},
"… 21 more"
],
"spotlightStoryMetadata": [
{
"videoMetadata": {
"…": "13 fields"
},
"userMetadata": null,
"lensMetadata": null,
"hashtags": [],
"contextCards": [
"…"
],
"engagementStats": {
"…": "5 fields"
},
"deeplink": "https://click.snapchat.com/aVHG?pid=snapchat_download_page&a…",
"oneLinkParams": {
"…": "9 fields"
},
"…": "7 more fields"
},
"… 21 more"
],
"lenses": [
{
"scannableUuid": "",
"lensName": "GOD DID",
"lensCreatorDisplayName": "DJ Khaled",
"lensPreviewImageUrl": "https://lens-preview-storage.storage.googleapis.com/previewm…",
"lensPreviewVideoUrl": "https://community-lens.storage.googleapis.com/preview-media/…",
"iconUrl": "https://bolt-gcdn.sc-cdn.net/3/ucaCFcWWiVxeozkKKrxdf?bo=Ehga…",
"unlockUrl": "https://www.snapchat.com/unlock/?type=SNAPCODE&uuid=a23a0c39…",
"lensResource": null,
"…": "7 more fields"
},
"… 5 more"
],
"pageMetadata": {
"pageType": 18,
"pageTitle": "DJ Khaled (@djkhaled305) | Snapchat Stories, Spotlight & Len…",
"pageDescription": {
"value": "DJ Khaled is on Snapchat! (@djkhaled305) | 11.2m Subscribers…"
},
"shareId": ""
},
"url": "https://www.snapchat.com/@djkhaled305"
}

Parameters

NameTypeDescription
handlepath · requiredstringSnapchat username or profile link. Example: djkhaled305.
Response fields

200 with a SnapchatUserResponse, in Snapchat’s own page JSON.

FieldTypeDescription
userProfileSnapchatUserProfile
storyobject | nullThe public story live now (snapList), if any.
curatedHighlightsobject[]Saved story highlights.
spotlightHighlightsobject[]Recent Spotlight snaps (snapList with media URLs, timestamps).
spotlightStoryMetadataobject[]Per Spotlight snap: videoMetadata (upload date, duration, size), engagementStats (views, shares, comments, boosts), hashtags, description.
lensesobject[]Lenses the profile published.
pageMetadataobject | null
urlstring
Status codes
StatusMeaning
200The profile.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404No public Snapchat profile or Spotlight snap by that name.
429Too many requests. Wait for Retry-After seconds.
503Snapchat is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Questions

What about personal accounts?

They return userInfo with the display name and Snapcode only, as Snapchat shows them publicly.

Snapchat is a trademark of Snap Inc. We are not affiliated with or endorsed by Snap Inc.