# AT Protocol Scraper — Bluesky, Skylight Posts & Profiles API (`felixgoldwin/skylight-scraper`) Actor

Extract public posts, profiles & search from Bluesky, Skylight & AT Protocol apps. No login. Fast HTTP API. Pay per result.

- **URL**: https://apify.com/felixgoldwin/skylight-scraper.md
- **Developed by:** [Felix GoldWin](https://apify.com/felixgoldwin) (community)
- **Categories:** AI, Agents, Social media
- **Stats:** 1 total users, 0 monthly users, 27.3% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.005 / actor start

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## 🎬 Skylight Scraper — Posts, Profiles & Search

A fast, login-free Apify Actor that extracts **Skylight Social** public data via the **AT Protocol** public API. Skylight is a decentralized short-form video platform built on AT Protocol (same open network as Bluesky) with 380K+ users and growing.

No authentication. No API keys. No proxies. No browser. Pure HTTP API calls.

---

### 🔍 What It Does

Extracts public Skylight data from the AT Protocol network using the same infrastructure that powers Bluesky. Modes:

| Mode | What You Get |
|------|-------------|
| **Search Posts** | Find posts by keyword. Add "skylight" to queries to find Skylight-specific content. |
| **Get Profiles** | Full profile: display name, bio, follower/following/post counts, avatar, banner, join date. |
| **Get User Posts** | All public posts from a specific Skylight/AT Protocol user with engagement metrics. |
| **Profiles + Posts** | Fetch both profile and posts in one run. |

Toggle **Skylight Only** to filter results to users with `skylight.social` handles.

---

### 📊 Data Extracted

#### Posts
- Text content, creation date, language
- Engagement: likes, reposts, replies, quotes
- Author: handle, DID, display name, avatar, follower count
- Hashtags, mentions, links
- Media URLs and types (images, videos, link previews, quote posts)
- `isSkylight` flag — true if user has a skylight.social handle

#### Profiles
- DID, handle, display name, bio
- Avatar and banner URLs
- Follower, following, post counts
- `isSkylight` flag
- Index date, join date

---

### ⚙️ Input Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| `mode` | string | `search`, `profile`, `posts`, or `both` |
| `handles` | string[] | For search: keywords. For profile/posts: AT Protocol handles |
| `searchQueries` | string[] | Keywords for search mode |
| `maxItems` | integer | Max results per handle/query (1-10000, default 100) |
| `skylightOnly` | boolean | Filter to skylight.social users only |

#### Example: Search for Skylight posts
```json
{
  "mode": "search",
  "searchQueries": ["skylight creator", "skylight social"],
  "maxItems": 100,
  "skylightOnly": false
}
````

#### Example: Get Skylight creator profiles

```json
{
  "mode": "profile",
  "handles": ["creator.skylight.social", "creator2.skylight.social"],
  "maxItems": 10
}
```

#### Example: Skylight-only search

```json
{
  "mode": "search",
  "searchQueries": ["dance", "music", "comedy"],
  "maxItems": 200,
  "skylightOnly": true
}
```

***

### 💲 Pricing

| Event | Price |
|-------|-------|
| Start (per run) | $0.005 |
| Post result | $0.001 |
| Profile result | $0.002 |

**With Apify's $5/month free credit**, you get ~200 posts or ~50 profiles free every month.

***

### 🔧 How It Works

This Actor uses the **AT Protocol public API** (`public.api.bsky.app`) which indexes all public content across the AT Protocol network — including Skylight users. The `skylightOnly` flag filters results by checking if the author's handle contains `skylight.social`.

Skylight is built on AT Protocol, meaning:

- No authentication required for public data
- Same infrastructure as Bluesky
- Public API is stable and maintained
- As Skylight grows, your scraper automatically picks up new content

***

### 📤 Output Example

```json
{
  "uri": "at://did:plc:abc123/app.bsky.feed.post/xyz",
  "text": "Check out my latest Skylight video!",
  "createdAt": "2026-07-06T12:00:00.000Z",
  "likeCount": 156,
  "repostCount": 23,
  "replyCount": 8,
  "quoteCount": 3,
  "authorHandle": "creator.skylight.social",
  "authorName": "Skylight Creator",
  "authorFollowers": 12500,
  "hashtags": ["skylight", "video"],
  "mediaUrls": ["https://cdn.bsky.app/img/..."],
  "mediaTypes": ["image"],
  "isSkylight": true,
  "scrapedAt": "2026-07-06T15:30:00.000Z"
}
```

***

### 🎯 Use Cases

- **Creator discovery** — find trending Skylight creators
- **Content research** — analyze what's popular on the platform
- **Competitor analysis** — track creator growth and engagement
- **Trend tracking** — monitor hashtags and topics
- **Social listening** — brand monitoring on Skylight

***

### ❓ FAQ

**Do I need a Skylight or Bluesky account?**
No. The AT Protocol public API requires no authentication for reading public data.

**Is this legal?**
Yes. This Actor only accesses publicly available data through AT Protocol's official public API endpoints. No scraping of private content.

**What's the difference between this and Bluesky scrapers?**
This Actor is optimized for Skylight content discovery with built-in Skylight handle filtering. It pulls from the same AT Protocol network but helps you focus on the Skylight platform specifically.

**Can I run this on a schedule?**
Yes — schedule recurring runs via Apify's scheduler for automated monitoring.

***

### 🐘 Also Check Out

- [Bluesky Scraper](https://apify.com/automation-lab/bluesky-scraper) — General AT Protocol/Bluesky scraping
- [Mastodon Scraper](https://apify.com/benthepythondev/mastodon-scraper) — Fediverse data extraction

***

### ⚠️ Disclaimer

This Actor uses publicly available AT Protocol API endpoints. Rate limiting is handled automatically. Respect the AT Protocol's fair use policies when running at high volumes.

# Actor input Schema

## `mode` (type: `string`):

What to scrape: search posts, get profiles, get user posts, or both.

## `handles` (type: `array`):

AT Protocol handles (e.g. user.bsky.social) or search keywords.

## `searchQueries` (type: `array`):

Search terms (used in search mode). Falls back to handles if empty.

## `maxItems` (type: `integer`):

Maximum results per handle or query (1-10000).

## `skylightOnly` (type: `boolean`):

Only return results from Skylight.social users.

## Actor input object example

```json
{
  "mode": "search",
  "handles": [
    "bsky.app"
  ],
  "maxItems": 100,
  "skylightOnly": false
}
```

# 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("felixgoldwin/skylight-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("felixgoldwin/skylight-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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 felixgoldwin/skylight-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=felixgoldwin/skylight-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "AT Protocol Scraper — Bluesky, Skylight Posts & Profiles API",
        "description": "Extract public posts, profiles & search from Bluesky, Skylight & AT Protocol apps. No login. Fast HTTP API. Pay per result.",
        "version": "0.1",
        "x-build-id": "5IJeTTcjd7kBv7Eu7"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/felixgoldwin~skylight-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-felixgoldwin-skylight-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/felixgoldwin~skylight-scraper/runs": {
            "post": {
                "operationId": "runs-sync-felixgoldwin-skylight-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/felixgoldwin~skylight-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-felixgoldwin-skylight-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",
                "required": [
                    "mode"
                ],
                "properties": {
                    "mode": {
                        "title": "Scraping Mode",
                        "enum": [
                            "search",
                            "profile",
                            "posts",
                            "both"
                        ],
                        "type": "string",
                        "description": "What to scrape: search posts, get profiles, get user posts, or both.",
                        "default": "search"
                    },
                    "handles": {
                        "title": "Handles / Queries",
                        "type": "array",
                        "description": "AT Protocol handles (e.g. user.bsky.social) or search keywords.",
                        "default": [
                            "bsky.app"
                        ],
                        "items": {
                            "type": "string"
                        }
                    },
                    "searchQueries": {
                        "title": "Search Queries",
                        "type": "array",
                        "description": "Search terms (used in search mode). Falls back to handles if empty.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxItems": {
                        "title": "Max Results",
                        "minimum": 1,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Maximum results per handle or query (1-10000).",
                        "default": 100
                    },
                    "skylightOnly": {
                        "title": "Skylight Only",
                        "type": "boolean",
                        "description": "Only return results from Skylight.social users.",
                        "default": false
                    }
                }
            },
            "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
                                    }
                                }
                            },
                            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
