OnlyFans Content Scraper (posts + media) avatar

OnlyFans Content Scraper (posts + media)

Pricing

from $4.00 / 1,000 post scrapeds

Go to Apify Store
OnlyFans Content Scraper (posts + media)

OnlyFans Content Scraper (posts + media)

Scrape an OnlyFans creator's posts and media in bulk — text, PPV prices, likes, comments, and media URLs. Choose posts, media items, or profile info. Fast, structured JSON/CSV output.

Pricing

from $4.00 / 1,000 post scrapeds

Rating

0.0

(0)

Developer

Leon Operator

Leon Operator

Maintained by Community

Actor stats

1

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

OnlyFans Content Scraper

Extract an OnlyFans creator's posts and media in bulk — structured, paginated, and ready to export. Give it a list of creators and choose what to pull: profile info, posts, or individual media items.

Modes

ModeOutput
Profile infoone profile record per creator
Postsone record per post — text, price, likes, comments, embedded media
Media itemsone record per media item — URL, thumbnail, type, duration, dimensions

You use your own OnlyFans login

Posts and media are subscriber-gated, so the actor reads them as you — using your OnlyFans session — and returns the content you already have access to (creators you subscribe to or follow for free). Your session is used only for these requests and is never stored or logged.

Input

{
"profiles": ["some_creator_you_follow"],
"type": "POSTS",
"maxItems": 50,
"sess": "<your sess cookie>",
"authId": "<your user id>",
"xBc": "<x-bc header>"
}
FieldTypeDescription
profilesarrayCreator usernames or profile URLs (required)
typestringINFO, POSTS, or MEDIA (default POSTS)
maxItemsintegerMax posts / media items per creator (default 20)
includeFreeOnlybooleanSkip posts behind a PPV price
sessstring (secret)Your OnlyFans sess cookie
authIdstringYour OnlyFans user ID (auth_id cookie — a public number)
xBcstring (secret)The x-bc request header
userAgentstringOptional — defaults to a standard Chrome UA

Fastest: the one-click extension

Install the free OF Session Exporter browser extension, log in to OnlyFans, click Capture session, and paste the result here — done, no DevTools. Prefer to do it by hand? Use the manual steps below.

How to get your session manually (once, ~1 min)

Log in at onlyfans.com in Chrome/Edge/Brave, then open DevTools (F12, or right-click → Inspect).

1 & 2 — sess and authId (from the cookie panel — sess is HttpOnly, so it can only be read here, not from the console):

  • Application tab → left sidebar Cookieshttps://onlyfans.com
  • Copy the Value of the sess row → that's your sess
  • Copy the Value of the auth_id row → that's your authId

3 — xBc (from a request header):

  • Network tab → type api2 in the filter box
  • Reload the page (F5) so requests appear → click any request in the list
  • In the right panel, scroll to Request Headers → copy the value of x-bc → that's your xBc

Paste the three values into the sess, authId, and xBc fields, and run.

Faster shortcut (grabs 2 of the 3): paste this in the DevTools Console on onlyfans.com — it prints authId and captures xBc from the next request (then click anything on the page). Get sess from the cookie panel above.

console.log('authId =', document.cookie.match(/auth_id=([^;]+)/)?.[1] || '(use cookie panel)');
const _f = fetch; fetch = (...a) => { const h = a[1]?.headers; const bc = h && (h.get ? h.get('x-bc') : h['x-bc']); if (bc) console.log('xBc =', bc); return _f(...a); };
console.log('now click around the page to reveal xBc…');

If your values stop working, you've logged out or the session expired — just re-copy them. You only ever scrape what your own account can already see; this is your access, not a bypass.

Output

Posts — one record per post:

{
"profile": "onlyfans",
"postId": 123456,
"text": "…",
"postedAt": "2026-06-30T…",
"price": 0,
"likesCount": 1200,
"commentsCount": 45,
"isPinned": false,
"mediaCount": 3,
"media": [{ "id": 1, "type": "photo", "full": "https://…", "thumb": "https://…" }],
"scrapedAt": "2026-07-05T…"
}

Media — one record per item: mediaId, type (photo/video/audio/gif), url, thumbnail, duration, width, height, plus the parent post reference.

Media URLs are time-limited CDN links and can expire — download what you need promptly.

Use cases

  • Content analysis and trend tracking across creators
  • Building media/post datasets for research
  • Monitoring posting cadence, pricing, and engagement over time

Pricing

Pay per result — you're charged per post or media item returned. No subscription.

Notes

This actor accesses content the connected session is entitled to view. Please ensure your use complies with OnlyFans' Terms of Service, content licensing, and applicable laws in your jurisdiction.