# Pixelfed Scraper (`lexis-solutions/pixelfed-scraper`) Actor

Scrape public posts on decentralized Pixelfed using hashtags, user profiles, and themes. Ideal for curated galleries, trend tracking, or social analytics. Extract images, captions, and metadata fast, structured, and customizable.

- **URL**: https://apify.com/lexis-solutions/pixelfed-scraper.md
- **Developed by:** [Lexis Solutions](https://apify.com/lexis-solutions) (community)
- **Categories:** Social media, AI, Automation
- **Features:** Limited permissions
- **Stats:** 7 total users, 0 monthly users, 100.0% runs succeeded, 13 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $6.40 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## 📸 Pixelfed Profile Scraper

![Pixelfed Scraper](https://lexis-solutions-apify.fra1.cdn.digitaloceanspaces.com/banners/pixelfed.png)

Pixelfed Profile Scraper is a powerful Apify actor that extracts **profile information** and **recent posts** from [Pixelfed](https://pixelfed.org), a decentralized photo-sharing platform. Use it to collect user activity, public metadata, and post insights efficiently.

***

### 🔑 Key Features

- 🔍 Scrape **public Pixelfed profiles**
- 📝 Extract **user bio, follower/following counts**, and metadata
- 🖼️ Fetch **recent posts** including images, captions, timestamps, and engagement
- 📊 Supports multiple profile URLs
- ⚙️ Limit how many posts are scraped per profile

***

### 📥 Input Schema

```json
{
  "urls": [
    {
      "url": "https://pixelfed.social/cassidyjames?m=collections"
    }
  ],
  "results_limit": 10
}
```

### 📤 Output Schema

```json
[
  {
    "_v": 1,
    "id": "364630955792510708",
    "shortcode": "UPbewiH670",
    "uri": "https://pixelfed.social/p/cassidyjames/364630955792510708",
    "url": "https://pixelfed.social/p/cassidyjames/364630955792510708",
    "in_reply_to_id": null,
    "in_reply_to_account_id": null,
    "reblog": null,
    "content": "Playing with cameras",
    "content_text": "Playing with cameras",
    "created_at": "2021-11-12T04:33:14.000Z",
    "emojis": [],
    "reblogs_count": 0,
    "favourites_count": 17,
    "reblogged": null,
    "favourited": null,
    "muted": null,
    "sensitive": false,
    "spoiler_text": "",
    "visibility": "public",
    "application": {
      "name": "web",
      "website": null
    },
    "language": null,
    "mentions": [],
    "pf_type": "photo",
    "reply_count": 0,
    "comments_disabled": false,
    "thread": false,
    "replies": [],
    "parent": [],
    "place": null,
    "local": true,
    "taggedPeople": [],
    "label": {
      "covid": false
    },
    "liked_by": {
      "id": "206690801571467264",
      "username": "storchp",
      "url": "/i/web/profile/206690801571467264",
      "others": true,
      "total_count": 16,
      "total_count_pretty": "16"
    },
    "media_attachments": [
      {
        "id": "827807",
        "type": "image",
        "url": "https://pxscdn.com/public/m/_v2/262/yNGkDgwxYQJby5Hlh2.jpg",
        "remote_url": null,
        "preview_url": "https://pxscdn.com/public/m/_v2/262whVdfpDn4ljp9YSmu7mlHJby5Hlh2_thumb.jpg",
        "optimized_url": "https://pxscdn.com/public/m/_v2.jpg",
        "text_url": null,
        "meta": {
          "focus": {
            "x": 0,
            "y": 0
          },
          "original": {
            "width": 1025,
            "height": 1350,
            "size": "1025x1350",
            "aspect": 0.7592592592592593
          }
        },
        "description": null,
        "license": {
          "id": 12,
          "title": "CC BY-SA",
          "url": "https://creativecommons.org/licenses/by-sa/4.0/"
        },
        "is_nsfw": 0,
        "orientation": "portrait",
        "filter_name": null,
        "filter_class": null,
        "mime": "image/jpeg",
        "blurhash": "UHGj~P0MIU-nlC,+IoJCyERis,of?aIVxZs,"
      }
    ],
    "tags": [],
    "poll": null,
    "edited_at": null,
    "pinned": false,
    "account": {
      "id": "262",
      "username": "cassidyjames",
      "acct": "cassidyjames",
      "display_name": "Cassidy James Blaede",
      "discoverable": true,
      "locked": false,
      "followers_count": 487,
      "following_count": 20,
      "statuses_count": 243,
      "note": "Building useful, usable, delightful products that respect privacy. Partner",
      "note_text": "Building useful, usable, delightful products that respect privacy",
      "url": "https://pixelfed.social/cassidyjames",
      "avatar": "https://pixelfed.social/storage/avatars/000/000/000/000/000",
      "website": "https://cassidyjames.com",
      "local": true,
      "is_admin": false,
      "created_at": "2018-06-01T18:41:11.000000Z",
      "header_bg": "mauve",
      "last_fetched_at": "2023-06-28T11:04:42.000000Z",
      "pronouns": ["he", "him", "his"],
      "location": null
    }
  }
]
```

### Need to scrape other social network platforms?

- [Facebook User Search Scraper](https://apify.com/lexis-solutions/facebook-user-search-scraper)
- [Tiktok Trending Hashtags Scraper](https://apify.com/lexis-solutions/tiktok-trending-hashtags-scraper)
- [Bluesky Posts Scraper](https://apify.com/lexis-solutions/bluesky-posts-scraper)

👀 p.s.

Got feedback or need an extension?

Lexis Solutions is a [certified Apify Partner](https://apify.com/partners/find). We can help you with custom solutions or data extraction projects.

Contact us over [Email](mailto:scraping@lexis.solutions) or [LinkedIn](https://www.linkedin.com/company/lexis-solutions)

### Support Our Work 💝

If you're happy with our work and scrapers, you're welcome to leave us a company review [here](https://apify.com/partners/find/lexis-solutions/review) and leave a review for the scrapers you're subscribed to. It will take you less than a minute but it will mean a lot to us!

# Actor input Schema

## `urls` (type: `array`):

Add pixelfed profile urls to scrape their posts

## `results_limit` (type: `integer`):

Limit number of results.

## Actor input object example

```json
{
  "urls": [
    {
      "url": "https://pixelfed.social/cassidyjames"
    }
  ],
  "results_limit": 10
}
```

# 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 = {
    "urls": [
        {
            "url": "https://pixelfed.social/cassidyjames"
        }
    ],
    "results_limit": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("lexis-solutions/pixelfed-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 = {
    "urls": [{ "url": "https://pixelfed.social/cassidyjames" }],
    "results_limit": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("lexis-solutions/pixelfed-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 '{
  "urls": [
    {
      "url": "https://pixelfed.social/cassidyjames"
    }
  ],
  "results_limit": 10
}' |
apify call lexis-solutions/pixelfed-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,lexis-solutions/pixelfed-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/gRDPU4XuJI4dIkNrP/builds/G3XbEfbHklHoiqqJn/openapi.json
