{
  "openapi": "3.0.1",
  "info": {
    "title": "Snapchat Scraper — Profiles, Spotlight, Hashtags & Transcripts",
    "description": "Scrape public Snapchat profiles, Spotlight videos and hashtag feeds: exact subscribers, category, views, shares, comments, boosts, AI titles, top comments, transcripts, stories and highlights. Find creators by topic. No login. Export to JSON, CSV or Excel.",
    "version": "0.1",
    "x-build-id": "LfCRr9TrbdZYbuRq2"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lergassy~snapchat-profile-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lergassy-snapchat-profile-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/lergassy~snapchat-profile-scraper/runs": {
      "post": {
        "operationId": "runs-sync-lergassy-snapchat-profile-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/lergassy~snapchat-profile-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-lergassy-snapchat-profile-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "profiles": {
            "title": "👻 Snapchat profiles",
            "type": "array",
            "description": "Usernames (with or without @) or snapchat.com links: /add/<user>, /@<user>. Spotlight links and /tag/<topic> links pasted here are recognised too. Public profiles only; personal accounts come back as a free minimal row.",
            "items": {
              "type": "string"
            }
          },
          "spotlightUrls": {
            "title": "🎬 Single Spotlight video links",
            "type": "array",
            "description": "Links to individual Spotlight videos (snapchat.com/spotlight/<id> or snapchat.com/@<user>/spotlight/<id>). Each becomes one Spotlight row with views, shares, comments, boosts, AI title and summary, top comments — and the transcript if you switch it on below.",
            "items": {
              "type": "string"
            }
          },
          "hashtags": {
            "title": "#️⃣ Hashtags / topics",
            "type": "array",
            "description": "Find Spotlight videos by topic, e.g. funny, makeup, cars (with or without #, or a snapchat.com/tag/<topic> link). Each topic returns the Spotlight videos Snapchat shows on its topic page, with creator, views, shares, boosts, comments and subscribes gained.",
            "items": {
              "type": "string"
            }
          },
          "maxSpotlightsPerHashtag": {
            "title": "Spotlight videos per hashtag",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "How many Spotlight videos to keep from each hashtag page (Snapchat shows about 30 per topic).",
            "default": 20
          },
          "hashtagCreatorProfiles": {
            "title": "Also scrape the creators behind hashtag videos",
            "type": "boolean",
            "description": "Turns a hashtag into a creator list: every creator found on the topic page also gets a full profile row (subscribers, bio, website, Spotlight stats) at the normal profile price. Great for influencer discovery by niche.",
            "default": false
          },
          "includeSpotlights": {
            "title": "🎬 Add Spotlight videos of each profile",
            "type": "boolean",
            "description": "One row per Spotlight video: views, shares, comments, boosts, recommends, engagement rate, upload date, duration, AI title and summary, SEO keywords, language, sound, hashtags, MP4 and thumbnail links, top comments. +$0.0003 per video.",
            "default": false
          },
          "maxSpotlightsPerProfile": {
            "title": "Max Spotlight videos per profile",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "0 = every Spotlight video Snapchat shows (usually up to ~25). Newest first.",
            "default": 0
          },
          "nestSpotlights": {
            "title": "Also nest Spotlight videos inside the profile row",
            "type": "boolean",
            "description": "Puts the profile's Spotlight list (views, shares, comments, AI title, links) inside the profile row as `spotlights`, so one row = one creator. Free — no extra rows.",
            "default": false
          },
          "includeTranscripts": {
            "title": "🎙 Add Spotlight transcripts",
            "type": "boolean",
            "description": "Adds the spoken words of each Spotlight video as plain text plus timed segments (start, end, text), read from Snapchat's own caption track. Charged only for videos that have a transcript: +$0.002 each. Works for profile, hashtag and single-link Spotlights.",
            "default": false
          },
          "maxCommentsPerSpotlight": {
            "title": "Top comments per Spotlight video",
            "minimum": 0,
            "maximum": 25,
            "type": "integer",
            "description": "How many of the top-ranked comments to attach to each Spotlight row as `topComments` (text, author, time, likes, replies). Free. Snapchat publishes at most 25 per video; `comments` always holds the true total.",
            "default": 10
          },
          "commentsAsRows": {
            "title": "Comments as separate rows",
            "type": "boolean",
            "description": "Also writes every attached top comment as its own row (type `comment`) — handy for sentiment analysis in Excel or Sheets. +$0.0002 per comment row.",
            "default": false
          },
          "includeStories": {
            "title": "📖 Add active story snaps",
            "type": "boolean",
            "description": "One row per snap in the profile's live story: image or video, direct media link, preview, posting time, sponsored flag. +$0.0005 per snap.",
            "default": false
          },
          "includeHighlights": {
            "title": "⭐ Add saved highlight snaps",
            "type": "boolean",
            "description": "One row per snap in the profile's saved highlights, with the highlight's title and link. +$0.0005 per snap. The highlight list itself (title, snap count, cover, latest date) is always inside the profile row for free.",
            "default": false
          },
          "maxStorySnapsPerProfile": {
            "title": "Max story + highlight snaps per profile",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "Caps story and highlight snap rows per profile (big creators keep 500+ highlight snaps). 0 = no cap.",
            "default": 100
          },
          "minSubscribers": {
            "title": "Minimum subscribers",
            "minimum": 0,
            "type": "integer",
            "description": "Skip profiles with fewer subscribers. Skipped profiles are not charged.",
            "default": 0
          },
          "maxSubscribers": {
            "title": "Maximum subscribers",
            "minimum": 0,
            "type": "integer",
            "description": "Skip profiles with more subscribers — useful to find micro-creators. 0 = no limit.",
            "default": 0
          },
          "onlyVerified": {
            "title": "Only verified profiles",
            "type": "boolean",
            "description": "Keep only profiles with Snapchat's verified badge (star).",
            "default": false
          },
          "onlyWithWebsite": {
            "title": "Only profiles with a website",
            "type": "boolean",
            "description": "Keep only profiles that list a website — the best leads for outreach.",
            "default": false
          },
          "minSpotlightViews": {
            "title": "Minimum views per Spotlight video",
            "minimum": 0,
            "type": "integer",
            "description": "Skip Spotlight videos with fewer views. Skipped videos are not charged.",
            "default": 0
          },
          "spotlightsNewerThan": {
            "title": "Spotlight videos newer than",
            "type": "string",
            "description": "A date (2026-10-01) or a period (7 days, 4 weeks, 3 months). Older Spotlight videos are skipped for free."
          },
          "onlyNewSpotlights": {
            "title": "Only Spotlight videos not seen in earlier runs",
            "type": "boolean",
            "description": "Remembers every Spotlight video this Actor has delivered to your account and skips it next time — for free. Profile rows still come every run, so you can track subscriber growth.",
            "default": false
          },
          "concurrency": {
            "title": "Parallel requests",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many profiles, hashtags or videos to read at the same time.",
            "default": 4
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Requests go to Snapchat directly first; a refused request is retried on a fresh Apify datacenter address and then on a residential one — included in the price. Your own proxy URLs are used as given and never replaced.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}