ONLYFANS Scraper πŸͺΆ avatar
ONLYFANS Scraper πŸͺΆ

Pricing

$30.00/month + usage

Go to Store
ONLYFANS Scraper πŸͺΆ

ONLYFANS Scraper πŸͺΆ

Developed by

cat

cat

Maintained by Community

β€οΈπŸ’›πŸ’šπŸ’™πŸ’œ Scrape OnlyFans.com πŸͺ½

5.0 (1)

Pricing

$30.00/month + usage

6

Total users

1.2K

Monthly users

57

Runs succeeded

>99%

Last modified

5 days ago

You can access the ONLYFANS Scraper πŸͺΆ programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4# Replace '<YOUR_API_TOKEN>' with your token.
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7# Prepare the Actor input
8run_input = {
9 "query": [
10 "square pants",
11 "@onlyfans/video",
12 "@oftv/profile",
13 "https://www.onlyfans.com/oftv",
14 "https://www.onlyfans.com/search?type=posts&q=sponge%20bob",
15 ],
16 "limit": 5,
17 "dev_custom_headers": [
18 {
19 "key": "user-agent",
20 "value": "",
21 },
22 {
23 "key": "x-bc",
24 "value": "",
25 },
26 ],
27 "dev_custom_cookies": [{
28 "key": "sess",
29 "value": "",
30 }],
31}
32
33# Run the Actor and wait for it to finish
34run = client.actor("jupri/onlyfans").call(run_input=run_input)
35
36# Fetch and print Actor results from the run's dataset (if there are any)
37print("πŸ’Ύ Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
38for item in client.dataset(run["defaultDatasetId"]).iterate_items():
39 print(item)
40
41# πŸ“š Want to learn more πŸ“–? Go to β†’ https://docs.apify.com/api/client/python/docs/quick-start

ONLYFANS Scraper πŸͺΆ API in Python

The Apify API client for Python is the official library that allows you to use ONLYFANS Scraper πŸͺΆ API in Python, providing convenience functions and automatic retries on errors.

Install the apify-client

$pip install apify-client

Other API clients include: