# VSCO Profile Scraper (`doting_ladybug/vsco-profile-scraper`) Actor

Resilient VSCO gallery scraper with cursor pagination, proxy rotation, retries, and completeness checks.

- **URL**: https://apify.com/doting_ladybug/vsco-profile-scraper.md
- **Developed by:** [David G](https://apify.com/doting_ladybug) (community)
- **Features:** Limited permissions
- **Stats:** 9 total users, 2 monthly users, 87.5% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 media items

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## VSCO Profile Scraper

Extract complete, publicly visible VSCO profile galleries into a structured Apify dataset.

The Actor is designed for monitoring, archiving, research, and media inventory workflows that need stable identifiers and trustworthy completeness checks. It does not sign in, use account cookies, solve verification challenges, or inspect followers, comments, or unrelated profiles.

### Why this Actor

A normal browser scrape often returns only the first 14 VSCO gallery items. This Actor listens to the public gallery data already requested by VSCO's profile page and advances its opaque cursor through incremental scrolling. It reports a profile as complete only when the final public response has no next cursor.

### Input

| Field | Description | Default |
|---|---|---|
| `profileUrls` | Public VSCO profile or `/gallery` URLs | Required |
| `maxItemsPerProfile` | Media limit; `0` means the complete public gallery | `0` |
| `maxPagesPerProfile` | Cursor-page safety limit | `250` |
| `maxConcurrency` | Profiles processed in parallel | `1` |
| `requestDelayMillis` | Delay between incremental scrolls | `900` |
| `maxRequestRetries` | Retry attempts using fresh sessions | `5` |
| `retryBaseDelayMillis` | Initial exponential-backoff delay | `5000` |
| `maxRetryDelayMillis` | Maximum delay between retries | `60000` |
| `includeTechnicalMetadata` | Include public preset/camera/file metadata | `false` |
| `proxyConfiguration` | Apify Proxy settings | Residential group enabled |

Example:

```json
{
  "profileUrls": [
    "https://vsco.co/vsco/gallery"
  ],
  "maxItemsPerProfile": 0,
  "maxConcurrency": 1,
  "includeTechnicalMetadata": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

### Dataset output

The Actor stores one dataset item per public media item.

```json
{
  "id": "stable-media-id",
  "username": "example",
  "profileUrl": "https://vsco.co/example/gallery",
  "siteId": 123456,
  "mediaType": "image",
  "isVideo": false,
  "permalink": "https://vsco.co/example/media/stable-media-id",
  "shareLink": "https://vsco.co/example/media/stable-media-id?share=...",
  "mediaUrl": "https://im.vsco.co/...",
  "description": "",
  "uploadDate": "2026-09-01T12:34:56.000Z",
  "captureDate": "2026-09-01T12:34:56.000Z",
  "lastUpdated": "2026-09-01T12:34:57.000Z",
  "width": 1152,
  "height": 2048
}
```

### Completeness and failures

The `OUTPUT` key-value-store record contains a per-profile summary:

- `SUCCEEDED`: the public gallery reached an empty final cursor.
- `INCOMPLETE`: an explicit item/page safety limit prevented a complete result.
- `FAILED`: the public page remained blocked or unavailable after retries.

HTTP 401, 403, 429, selected transient HTTP errors, malformed gallery responses, missing API pages, and unresolved cursors cause the Actor to retire the current session and retry with bounded exponential backoff. Dataset records are written only after the gallery reaches its final empty cursor. If any profile remains blocked or incomplete, the summary is saved to `OUTPUT` and the Actor exits with a nonzero status so Apify failure notifications can detect it.

An inaccessible or incomplete profile is never represented as an empty, successful gallery. This makes the Actor suitable for change detection without treating transient failures as deletions or polluting the dataset with records from unsuccessful retries.

### Proxy guidance

VSCO intermittently rejects both datacenter and residential traffic, including HTTP 401 and 403 responses. The residential proxy group and single-profile concurrency are therefore the defaults. The crawler retires blocked sessions, rotates proxies, applies bounded exponential backoff, and fails the run if public access never succeeds. Residential traffic adds cost and must be available on the running Apify account. The Actor does not attempt to bypass CAPTCHAs or other interactive verification.

### Local development

```bash
npm install
npm test
apify run --user-agent apify-codex-plugin/apify-actor-development
```

Local input can be placed in `storage/key_value_stores/default/INPUT.json`.

### Store positioning

Suggested title: **VSCO Profile Scraper**

Suggested short description:

> Extract complete public VSCO galleries with stable media IDs, dates, descriptions, direct media URLs, and explicit completeness diagnostics.

For an initial paid listing, pay-per-result is the simplest model because each dataset item represents one media record. Validate proxy costs and success rates across many public profiles before setting the final price.

#### Release gate

Before publishing to Apify Store, run a small acceptance set of public profiles with empty, short, and multi-page galleries. The initial release should meet all of these conditions:

- at least 95% of profiles finish with `complete: true` across repeated runs;
- a known multi-page gallery reaches the same item count in two consecutive runs;
- blocked or timed-out requests never appear as successful empty galleries;
- residential proxy cost per 1,000 media records leaves room for the proposed price;
- the Store examples use neutral public profiles rather than personal monitoring targets.

### Responsible use

Use only for publicly available content and comply with applicable laws, platform terms, and privacy obligations. Do not use the Actor to identify people in media, infer sensitive traits, or circumvent access controls.

### Runtime and repository ownership

Allocate at least **1 GB RAM** for the Playwright browser. The Apify Actor default is 1024 MB; callers that explicitly set memory must also request at least 1024 MB. The 512 MB quality-check run repeatedly crashed and timed out. On October 6, 2026, the unchanged example input completed at 1024 MB in 82 seconds, within the five-minute quality-check deadline. The neutral `vsco` example returned an empty complete gallery; this checks runtime health, not nonempty media extraction.

This repository owns the reusable Actor source. `dgitman/shira-social-media-watch` owns the Make monitoring workflow and contains a historical September source ZIP; that ZIP is an archive, not the maintained Actor source.

# Actor input Schema

## `profileUrls` (type: `array`):

Public VSCO profile or gallery URLs.

## `maxItemsPerProfile` (type: `integer`):

Maximum number of media records to save per profile. Use 0 for the complete public gallery.

## `maxPagesPerProfile` (type: `integer`):

Safety limit for VSCO cursor pages. Each page currently contains up to 14 media records.

## `maxConcurrency` (type: `integer`):

Number of profiles processed in parallel. Lower values are gentler and more reliable.

## `requestDelayMillis` (type: `integer`):

Milliseconds to wait after each incremental scroll while VSCO loads the next cursor page.

## `maxRequestRetries` (type: `integer`):

Retries a blocked or incomplete profile with a fresh proxy session before failing the Actor.

## `retryBaseDelayMillis` (type: `integer`):

Initial delay before the first retry. Later retries use bounded exponential backoff.

## `maxRetryDelayMillis` (type: `integer`):

Maximum delay between retries.

## `includeTechnicalMetadata` (type: `boolean`):

Include publicly returned camera, preset, and file metadata. Location coordinates are always omitted.

## `proxyConfiguration` (type: `object`):

Apify Proxy configuration. Residential proxies may improve reliability when VSCO rejects shared datacenter traffic.

## Actor input object example

```json
{
  "profileUrls": [
    "https://vsco.co/vsco/gallery"
  ],
  "maxItemsPerProfile": 0,
  "maxPagesPerProfile": 250,
  "maxConcurrency": 1,
  "requestDelayMillis": 900,
  "maxRequestRetries": 5,
  "retryBaseDelayMillis": 5000,
  "maxRetryDelayMillis": 60000,
  "includeTechnicalMetadata": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `dataset` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("doting_ladybug/vsco-profile-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("doting_ladybug/vsco-profile-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call doting_ladybug/vsco-profile-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,doting_ladybug/vsco-profile-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/EwcJSe8DReKrLSf9k/builds/DHrNjjBgl22OosnRO/openapi.json
