# ONLYFANS Scraper 🪶 (`jupri/onlyfans`)

❤️💛💚💙💜 Scrape OnlyFans.com 🪽

- **URL**: https://beta-securitybyobscurity.apify.com/jupri/onlyfans.md
- **Developed by:** [cat](https://beta-securitybyobscurity.apify.com/jupri) (community)
- **Categories:** Social media, Videos
- **Stats:** 1,298 total users, 37 monthly users, 78.8% runs succeeded, 11 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$5.00 / 1,000 results

This Actor is paid per result. You are not charged for the Apify platform usage, but only a fixed price for dataset items the Actor outputs.

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

# README

## Welcome to OnlyFans.com Scraper

![dont be sad readme is here](https://raw.githubusercontent.com/JupriGH/resources/main/cats/catframe.png)

### 🪶 About OnlyFans.com

<img height="64" src="https://upload.wikimedia.org/wikipedia/en/c/cc/OnlyFans_logo.svg">

**OnlyFans** is an internet content [subscription service](https://en.wikipedia.org/wiki/Subscription_service "Subscription service") based in [London](https://en.wikipedia.org/wiki/London "London"), [United Kingdom](https://en.wikipedia.org/wiki/United_Kingdom "United Kingdom").[\[1\]](https://en.wikipedia.org/wiki/OnlyFans#cite_note-1) The service is used primarily by [sex workers](https://en.wikipedia.org/wiki/Sex_worker "Sex worker") who produce [pornography](https://en.wikipedia.org/wiki/Pornography "Pornography"),[\[2\]](https://en.wikipedia.org/wiki/OnlyFans#cite_note-:2-2) but it also hosts the work of other content creators, such as [physical fitness](https://en.wikipedia.org/wiki/Physical_fitness "Physical fitness") experts and [musicians](https://en.wikipedia.org/wiki/Musician "Musician").[\[3\]](https://en.wikipedia.org/wiki/OnlyFans#cite_note-:3-3)

### 🪶 About This Actor

Powerful web scraping tool designed to extract data from OnlyFans.com. It automates the process of gathering information such as creator profiles, posts, media content, and other publicly available details. This scraper is ideal for developers and data analysts looking to streamline data collection from OnlyFans for research, analytics, or monitoring purposes. With its user-friendly interface and robust capabilities, the Apify OnlyFans.com Scraper ensures efficient and reliable data extraction.

#### 🍿 Related Actors

|[<img width="48" src="https://images.apifyusercontent.com/HhQt7_uiP-IYaOBDPZNWKgRf_LNVlqF5BCkYv4mIv9A/rs:fill:64:64/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9kSUNsYVhhbnZaMFNaNE9iSy9oWnFBdERHSHBTUVR2OXdBSi1QYXRyZW9uX2xvZ28uc3ZnLnBuZw.png">](https://apify.com/jupri/patreon)|[<img width="48" src="https://images.apifyusercontent.com/Y0ual2YjCSVhQ1q1cmV_gvCFbJEnhRallGmJnTz8iQs/rs:fill:64:64/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9MSjVFVm5pQjB1bFY0UmZHUC83a0c5RWJjSm9tQndXMlFaVy1waW50ZXJlc3Qud2VicA.webp">](https://apify.com/jupri/pinterest-explorer)|[<img width="48" src="https://images.apifyusercontent.com/sSUdQPqZHuwigfFvJLHVISkUNnHNTGNxmdtbbkToPlw/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vUnZlcXltZnBDYTE4UXF1QU0vOWI2QzdMaGZKeU1wVWJiYngtZmFuc2x5Mi5wbmc.webp">](https://apify.com/jupri/fansly)|[<img width="48" src="https://images.apifyusercontent.com/t_W4MmsptkKBthOg0VeIsRg4D5ATQY42chKswek5IlE/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vWWw4WlM5ZklLRXVGZU9XZ3QvWlNZSWZPVXJkYmU3aEJUQWQtdHdyZWQucG5n.webp">](https://apify.com/jupri/twitter-scraper)|[<img width="48" src="https://images.apifyusercontent.com/wzDW50aZJj25Pu00gHLorrZEAXIW4e_9TLXyJZ-E8NE/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vOWF2T215YlBRYW9XMUNEYXMvZGZSTWhiS1BMbE5JRjg5ZEgtdGlrdG9rcmVkLnBuZw.webp">](https://apify.com/jupri/tiktok)
|-|-|-|-|-|
| Patreon | Pinterest | Fansly | Twitter | TikTok

### 🪶 Tutorial

#### 🍿 Parameters

| Input| Type |  Description |
|-|-|-|
| `query` | ***string array*** | List of Query, or Search Terms or Start URL |
| `limit` | ***integer*** | Number of results (per-query)|

#### 🍿 OnlyFans Query Language (`OFQL`)

***Common QUERY Syntax***

```html
[ <COMMAND:> | ## | @ ] [ <NAME> | <ID> | <KEYWORD> | <URL> ] [ /<SECTION> ] 
```

***Possible QUERY  values***

| Format | Example | Description |
|-|-|-|
|**<*KEYWORDS*>** | `search terms` |***Search Anything***|
|`KEYWORDS`|`square pants`|Search posts|
|**@<*USER*>** | `@elonmusk` | ***User Data***|
|`/profile` | `@elonmusk`|User profile (info, friends, links, etc.)|
|`/info` | `@elonmusk/info`|User info|
|`/labels` | `@elonmusk/labels`|User post labels|
|`/links` | `@elonmusk/links`|User links|
|`/friends` | `@elonmusk/friends`|User friends|
|`/posts` | `@elonmusk/posts`|User posts|
|`/video` | `@elonmusk/video`|User videos|
|`/audio` | `@elonmusk/audio`|User audios|
|`/photo` | `@elonmusk/photo`|User photos|
|`/stream` | `@elonmusk/stream`|User media streams|
|`/media` | `@elonmusk/media`|All user media|
|**https:<*URL*>** | `https://onlyfans.com` | ***Start URL***|
|`/search`| `https://onlyfans.com/search` | Search |
|`/<USER>/videos` | `https://onlyfans.com/elonmusk/videos`|User videos|

#### 🍿 Running Actor Using JavaScript `fetch()` Command

> ***TODO**: Apify Platform should have example on how to run actor using JS Fetch*

```javascript
const APIFY_TOKEN = "YOUR_APIFY_TOKEN"

var run_inputs  = {"query": ["square pants"], "limit": 50}
var url = "https://api.apify.com/v2/acts/"
	+ "jupri~onlyfans-scraper/run-sync-get-dataset-items?token=" 
	+ APIFY_TOKEN

var headers     = { "content-type": "application/json" }
var options     = { method: "POST", headers, body: JSON.stringify(run_inputs) }

var response = await fetch(url, options).then(res => res.json())
```

### 🪶Input Examples

- Open Actor **Input**
- Click  **JSON**
- Copy & Paste the Input examples into provided text box.
- Click  **Save**
- Click  **Start**
- Done

<img width="800" src="https://apify-uploads-prod.s3.us-east-1.amazonaws.com/4akkBwf35EQx5H087-image.png">

#### 🍿  Examples

```yaml
## search
{ "query": ["square pants"], "limit": 10 }
```

```yaml
## user info
{ "query": ["@apify/info"] }
```

```yaml
## user videos
{ "query": ["@apify/video"], "limit": 20 }	
```

```yaml
## use URL(s) and let the actor decide which query to use
{ "query": ["https://onlyfans.com/oftv/videos"], "limit": 25 }
```

```yaml
## multiple queries
{ 	
	"query": [
		"@apify/video",
		"@google/stream",
		"@oftv/photos",
		"https://onlyfans.com/oftv/videos"
	],
	"limit": 5 				## 5 results per query
}				 
```

### 🪶 Error Messages

If you receive error "**Access Denied**" its indicated the info cannot be fetched without a Login. Some information can only accessed using a Login by including Header and Cookie from you browser *(see: below for  "Authenticated Scraping")*

![enter image description here](https://apify-uploads-prod.s3.us-east-1.amazonaws.com/7OoA5Y3tDQVHr38m3-image.png)

### 🪶☢️ Authenticated Scraping ☢️

#### 🍿 Method #1: Browser Synchronization

***Required Values From Browser (or other HTTP Client)***

| Name | Type | Description |
|-|-|-|
| `user-agent` | ***Header*** | Browser/Client User-Agent|
| `x-bc` | ***Header*** | Random Token generated when a user accessing onlyfans.com |
| `sess` | ***Cookie*** | User current LOGIN session |

![enter image description here](https://apify-uploads-prod.s3.us-east-1.amazonaws.com/hbRg4oviYuJgpTF9J-image.png)

#### 🍿 Method #2: OAuth Authentication

***Requires USERNAME and PASSWORD***

> Not Supported until further notice.

### 🪶 Output Examples

#### 🍿  User Profile

```yaml
{
    "about": "Featuring videos by OnlyFans Creators<br />\nSee more: <a href=\"https://onlyfans.com/away?url=https%3A%2F%2FOnlyFans.com%2FOFTV\">OnlyFans.com/OFTV</a>",
    "avatar": "https://public.onlyfans.com/files/m/mk/mka/mkamcrf6rjmcwo0jj4zoavhmalzohe5a1640180203/avatar.jpg",
    "avatarThumbs": {
        "c144": "https://thumbs.onlyfans.com/public/files/thumbs/c144/m/mk/mka/mkamcrf6rjmcwo0jj4zoavhmalzohe5a1640180203/avatar.jpg",
        "c50": "https://thumbs.onlyfans.com/public/files/thumbs/c50/m/mk/mka/mkamcrf6rjmcwo0jj4zoavhmalzohe5a1640180203/avatar.jpg"
    },
    "canChat": true,
    "canCommentStory": true,
    "canLookStory": true,
    "canPayInternal": true,
    "canPromotion": true,
    "canReceiveChatMessage": true,
    "canRestrict": true,
    "canUnsubscribe": true,
    "favoritedCount": 587733,
    "favoritesCount": 4,
    "feedUser": true,
    "firstPublishedPostDate": "2020-03-17T00:00:00+00:00",
    "friends": [
        {
            "avatar": "https://public.onlyfans.com/files/i/iq/iq5/iq5mc3hvgh4uq3rgdx8xrnvugxymbhiz1667246997/82517634/avatar.jpg",
            "avatarThumbs": {
                "c144": "https://thumbs.onlyfans.com/public/files/thumbs/c144/i/iq/iq5/iq5mc3hvgh4uq3rgdx8xrnvugxymbhiz1667246997/82517634/avatar.jpg",
                "c50": "https://thumbs.onlyfans.com/public/files/thumbs/c50/i/iq/iq5/iq5mc3hvgh4uq3rgdx8xrnvugxymbhiz1667246997/82517634/avatar.jpg"
            },
            "canAddSubscriber": true,
            "canPayInternal": true,
            "canRestrict": true,
            "header": "https://public.onlyfans.com/files/g/gi/gi9/gi9zug0s0emo6nkjmicpymfm9y46t1dj1717002056/82517634/header.jpg",
            "headerSize": {
                "height": 1365,
                "width": 4096
            },
            "headerThumbs": {
                "w480": "https://thumbs.onlyfans.com/public/files/thumbs/w480/g/gi/gi9/gi9zug0s0emo6nkjmicpymfm9y46t1dj1717002056/82517634/header.jpg",
                "w760": "https://thumbs.onlyfans.com/public/files/thumbs/w760/g/gi/gi9/gi9zug0s0emo6nkjmicpymfm9y46t1dj1717002056/82517634/header.jpg"
            },
            "id": 82517634,
            "isFree": true,
            "isPaywallRequired": true,
            "isVerified": true,
            "listsStates": [
                {
                    "cannotAddUserReason": "SYSTEM_LIST",
                    "id": "following",
                    "name": "Following",
                    "type": "following"
                },
                {
                    "id": "fans",
                    "name": "Fans",
                    "type": "fans"
                }
            ],
            "name": "OFTV",
            "tipsMax": 200,
            "tipsMin": 5,
            "tipsMinInternal": 1,
            "tipsTextEnabled": true,
            "username": "oftv",
            "view": "r"
        },
        {
            "avatar": "https://public.onlyfans.com/files/h/hs/hsy/hsyttghbxjwkoh4u53lqn8ulwmqib0v21708022809/195320835/avatar.jpg",
            "avatarThumbs": {
                "c144": "https://thumbs.onlyfans.com/public/files/thumbs/c144/h/hs/hsy/hsyttghbxjwkoh4u53lqn8ulwmqib0v21708022809/195320835/avatar.jpg",
                "c50": "https://thumbs.onlyfans.com/public/files/thumbs/c50/h/hs/hsy/hsyttghbxjwkoh4u53lqn8ulwmqib0v21708022809/195320835/avatar.jpg"
            },
            "canAddSubscriber": true,
            "canEarn": true,
            "canPayInternal": true,
            "canRestrict": true,
            "header": "https://public.onlyfans.com/files/z/zy/zys/zysyrhgbl75bxeeluzbxhbxipm7rvrgj1696532423/195320835/header.jpg",
            "headerSize": {
                "height": 500,
                "width": 1500
            },
            "headerThumbs": {
                "w480": "https://thumbs.onlyfans.com/public/files/thumbs/w480/z/zy/zys/zysyrhgbl75bxeeluzbxhbxipm7rvrgj1696532423/195320835/header.jpg",
                "w760": "https://thumbs.onlyfans.com/public/files/thumbs/w760/z/zy/zys/zysyrhgbl75bxeeluzbxhbxipm7rvrgj1696532423/195320835/header.jpg"
            },
            "id": 195320835,
            "isFree": true,
            "isPaywallRequired": true,
            "isVerified": true,
            "listsStates": [
                {
                    "cannotAddUserReason": "SYSTEM_LIST",
                    "id": "following",
                    "name": "Following",
                    "type": "following"
                },
                {
                    "id": "fans",
                    "name": "Fans",
                    "type": "fans"
                }
            ],
            "name": "OnlyFans Merch Store",
            "tipsMax": 200,
            "tipsMin": 5,
            "tipsMinInternal": 1,
            "tipsTextEnabled": true,
            "username": "merch",
            "view": "r"
        }
    ],
    "hasFriends": true,
    "hasLabels": true,
    "header": "https://public.onlyfans.com/files/j/js/jsv/jsv5w8j13rg0ganqiqfo2i1v1kulprh11671047426/15585607/header.jpg",
    "headerSize": {
        "height": 851,
        "width": 4868
    },
    "headerThumbs": {
        "w480": "https://thumbs.onlyfans.com/public/files/thumbs/w480/j/js/jsv/jsv5w8j13rg0ganqiqfo2i1v1kulprh11671047426/15585607/header.jpg",
        "w760": "https://thumbs.onlyfans.com/public/files/thumbs/w760/j/js/jsv/jsv5w8j13rg0ganqiqfo2i1v1kulprh11671047426/15585607/header.jpg"
    },
    "id": 15585607,
    "isPerformer": true,
    "isRealPerformer": true,
    "isReferrerAllowed": true,
    "isVerified": true,
    "joinDate": "2019-11-29T00:00:00+00:00",
    "labels": [
		{ "id": "archived", "name": "Archive", "type": "archived" },
		{ "id": 7174944, "name": "Art", "postsCount": 10, "type": "custom" },
		{ "id": 4628022, "name": "Beauty &amp; Style", "postsCount": 86, "type": "custom" },
		{ "id": 4279709, "name": "Celebrities", "postsCount": 11, "type": "custom" },
		{ "id": 4280275, "name": "Comedy", "postsCount": 51, "type": "custom" },
		{ "id": 4279717, "name": "Dancers", "postsCount": 16, "type": "custom" },
		{ "id": 4279701, "name": "Fighters", "postsCount": 26, "type": "custom" },
		{ "id": 4279725, "name": "Fitness", "postsCount": 111, "type": "custom" },
		{ "id": 4627982, "name": "Food", "postsCount": 323, "type": "custom" },
		{ "id": 5509037, "name": "Gaming", "postsCount": 19, "type": "custom" },
		{ "id": 4628023, "name": "How-To", "postsCount": 105, "type": "custom" },
		{ "id": 4627970, "name": "Infotainment", "postsCount": 155, "type": "custom" },
		{ "id": 4279722, "name": "Motorsports", "postsCount": 14, "type": "custom" },
		{ "id": 4279713, "name": "Music", "postsCount": 44, "type": "custom" },
		{ "id": 4302791, "name": "Musicians", "type": "custom" },
		{ "id": 4279690, "name": "OFTV Originals", "postsCount": 159, "type": "custom" },
		{ "id": 4627975, "name": "Podcasts", "postsCount": 51, "type": "custom" },
		{ "id": 4627972, "name": "Sports", "postsCount": 78, "type": "custom" },
		{ "id": 6784369, "name": "Travel", "postsCount": 50, "type": "custom" },
		{ "id": 4627967, "name": "Vlogs", "postsCount": 388, "type": "custom" },
		{ "id": 4628024, "name": "Wellness", "postsCount": 95, "type": "custom" }
	],
    "listsStates": [
        {
            "cannotAddUserReason": "ALREADY_EXISTS",
            "hasUser": true,
            "id": "following",
            "name": "Following",
            "type": "following"
        },
        {
            "id": "fans",
            "name": "Fans",
            "type": "fans"
        }
    ],
    "mediasCount": 2656,
    "name": "OnlyFans",
    "postsCount": 2656,
    "privateArchivedPostsCount": 8,
    "rawAbout": "Featuring videos by OnlyFans Creators\nSee more: OnlyFans.com/OFTV",
    "showMediaCount": true,
    "showPostsInFeed": true,
    "showSubscribersCount": true,
    "subscribedBy": true,
    "subscribedByAutoprolong": true,
    "subscribedByData": {
        "discountPeriod": 1,
        "duration": "22 days",
        "expiredAt": "2034-06-06T21:43:08+00:00",
        "renewedAt": "2034-06-06T00:00:00+00:00",
        "showPostsInFeed": true,
        "subscribeAt": "2024-06-06T21:43:08+00:00",
        "subscribes": [
            {
                "action": "subscribe",
                "date": "2024-06-06T21:43:08+00:00",
                "duration": 3652,
                "expireDate": "2034-06-06T21:43:08+00:00",
                "id": 12373141697,
                "isCurrent": true,
                "startDate": "2024-06-06T21:43:08+00:00",
                "subscriberId": 330152057,
                "type": "regular",
                "userId": 15585607
            }
        ],
        "unsubscribeReason": "No reason given"
    },
    "subscribedByExpireDate": "2034-06-06T21:43:08+00:00",
    "subscribersCount": 2301450,
    "tipsMax": 200,
    "tipsMin": 5,
    "tipsMinInternal": 1,
    "tipsTextEnabled": true,
    "username": "onlyfans",
    "videosCount": 2656,
    "view": "f"
}
```

#### 🍿 Posts

```yaml
{
    "author": {
        "id": "15585607"
    },
    "content": "Bad Intimacy & How to Fix It | Coffee and Cleavage\nHas your relationship lost the spark? @coffeeandcleavage are here to the rescue, with some tips and tricks and advice for a better intimate life! 🎇 \nFor more, watch OFTV: of.tv/coffee-and-cleavage  \nonlyfans.com/coffeeandcleavage / onlyfans.com/oftv",
    "counter": {
        "comments": 0,
        "likes": 48,
        "medias": 1
    },
    "id": "561444536",
    "media": [
        {
            "can_view": true,
            "create_time": "2023-04-05T15:57:29+00:00",
            "full": "https://cdn2.onlyfans.com/files/7/77/770fe950a135a290a080f16dda486d87/0hcp9g34wy4059di160u2_source.mp4?Tag=2&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6XC9cL2NkbjIub25seWZhbnMuY29tXC9maWxlc1wvN1wvNzdcLzc3MGZlOTUwYTEzNWEyOTBhMDgwZjE2ZGRhNDg2ZDg3XC8waGNwOWczNHd5NDA1OWRpMTYwdTJfc291cmNlLm1wND9UYWc9MiIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTY4MDk1NDExMn0sIklwQWRkcmVzcyI6eyJBV1M6U291cmNlSXAiOiIzNi45MS4xODMuMzRcLzMyIn19fV19&Signature=ajimWg3cm5gzNXeZ~CXV2YYVFJSMavFgcAIqlam4LP1GQt3sSRz-eO8kwBFHwF13xHlqZSVwWr7zkCUXUy0nT-FNRCWMBriM-ftvMvsD2fGwqDLUg1KpUm9WTIep06eTkYRaZjr-JIf9s2a~ZoJDnOgojnGriRjC1b1Zo42GvrXvPbUoE1IBY1ZIdNKDHSpNCK1gvqiz9V~jGI7Cr7h8yQFlow8UDa~Vm1eayk9V3UjssqT2uctyBoJvORy8pl-DJNdzBn7VXVWDHAKCPybJtQRzJe8bDmU5kJ89TT0p38mi0GYIf-n432y-A8OxNLxOSNY~TzPo5zaid~45-a9eYw__&Key-Pair-Id=APKAUSX4CWPPATFK2DGD",
            "id": 2828515674,
            "preview": {
                "info": {
                    "height": 428,
                    "size": 0,
                    "width": 760
                },
                "square": "https://cdn2.onlyfans.com/files/0/07/07414d81ba0d3cb2d81dd77df0f2affb/960x960_390376cbd6e3c3301285dbe37ec25561_frame_0.jpg?Tag=2&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6XC9cL2NkbjIub25seWZhbnMuY29tXC9maWxlc1wvMFwvMDdcLzA3NDE0ZDgxYmEwZDNjYjJkODFkZDc3ZGYwZjJhZmZiXC85NjB4OTYwXzM5MDM3NmNiZDZlM2MzMzAxMjg1ZGJlMzdlYzI1NTYxX2ZyYW1lXzAuanBnP1RhZz0yIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjgwOTU0MTEyfSwiSXBBZGRyZXNzIjp7IkFXUzpTb3VyY2VJcCI6IjM2LjkxLjE4My4zNFwvMzIifX19XX0_&Signature=LcIeWfU~ca0uGv-8hrjE5dX3PsQI9OQBIxedzzHs0B3cLRqpOysn9AgK2gYaq9a4PKJxCilTs9OswOHi59fqmGdPBZtQHaidtW6QzLlGtKK5~YfLKSikblApLUdjUBfPkG2KEriPSLs3Sh-EhxvfvBepmMSLcyoO78hYIqs2AJVe5-trTZF3v35hOQ4IenrbSOdhZe6hr~QTMBxU5LWYx7I3rmQfXTqBhNhMT5x7KKQzcuQyT5sPmnoXzsgiJ72ORUEEZuZbNY3owyPAkeBI791gjWOuF4yOcK~zZIAHe1XOl6ArRC4fOFJjq8H1lXT7f4v5obDKAvXxezqc1WyTiQ__&Key-Pair-Id=APKAUSX4CWPPATFK2DGD",
                "thumb": "https://cdn2.onlyfans.com/files/a/ab/abf44ca6fa43f1b94521bd9e8ae926b3/150x150_390376cbd6e3c3301285dbe37ec25561_frame_0.jpg?Tag=2&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6XC9cL2NkbjIub25seWZhbnMuY29tXC9maWxlc1wvYVwvYWJcL2FiZjQ0Y2E2ZmE0M2YxYjk0NTIxYmQ5ZThhZTkyNmIzXC8xNTB4MTUwXzM5MDM3NmNiZDZlM2MzMzAxMjg1ZGJlMzdlYzI1NTYxX2ZyYW1lXzAuanBnP1RhZz0yIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjgwOTU0MTEyfSwiSXBBZGRyZXNzIjp7IkFXUzpTb3VyY2VJcCI6IjM2LjkxLjE4My4zNFwvMzIifX19XX0_&Signature=bjx1N8EHx-xkFPvtVEBrUSfMTao~em9aQHteNyYQPBErTnExn9FETOwSx1wGH1LcRzvId2xKzPYfXzT6~cyiw9oQn2lKAX0ovBjHW6H1C4Suua8DjrfP8QgtDgHRxqDL-giuq019oQzugYy1p3j3qoZIKE8Vcw1RkyHK~kKZiYEGxBeMumEgaUF4ViOxEUM8LEj4I4vzEobFh2wJTVDh-IfGj3aBtMs5-f9qdiheXl0tsbKp7EHZ161W-MycEVmVk2L~wlcqamCXroL9K690YkxbZX-YfXfPF1Crc1wKFi21iIN9ABgbJQ25ixi2SPlm8LX9f6E3kmqcTdWOG9rhGw__&Key-Pair-Id=APKAUSX4CWPPATFK2DGD",
                "url": "https://cdn2.onlyfans.com/files/c/c3/c337022425810e85e5686f9287556e93/760x428_390376cbd6e3c3301285dbe37ec25561_frame_0.jpg?Tag=2&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6XC9cL2NkbjIub25seWZhbnMuY29tXC9maWxlc1wvY1wvYzNcL2MzMzcwMjI0MjU4MTBlODVlNTY4NmY5Mjg3NTU2ZTkzXC83NjB4NDI4XzM5MDM3NmNiZDZlM2MzMzAxMjg1ZGJlMzdlYzI1NTYxX2ZyYW1lXzAuanBnP1RhZz0yIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjgwOTU0MTEyfSwiSXBBZGRyZXNzIjp7IkFXUzpTb3VyY2VJcCI6IjM2LjkxLjE4My4zNFwvMzIifX19XX0_&Signature=BYq7kBrJLoyEEA-kaIK8XMwMPRt8lGFoSVBkJCEbWQjwXvmUw4Yn1gh993soK0qv-WFfsS0VP4ZGICP2vgf2mnfUvg6tMAdF4BwtZKESt9yogqXGwkMA9Pyg~wOgIZg4YGPltN8-QFNGGMRyMU6HhCeosBCwbDdGF7Yg-gbTiAyOagPaU2RBApThOTLKe2ToX0ar~iyJZ18aMEjq6GwKaS-DhnNJrHh-MaIjR9boj112isp~BaBYRENYjNccAPFwSbvHtE5eYrRYpMoxrQ3lIeb3oVRMCZOAN-uD0TYj8MBLsKrW5-LuI6y74zBpV9eep9~Gi0OOLZnaBY1YP7377A__&Key-Pair-Id=APKAUSX4CWPPATFK2DGD"
            },
            "type": "video",
            "video": {
                "formats": {
                    "240": "https://cdn2.onlyfans.com/files/2/21/21b575ae3e4cddcc832877ee168b58aa/0hcp9g34wy4059di160u2_240p.mp4?Tag=2&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6XC9cL2NkbjIub25seWZhbnMuY29tXC9maWxlc1wvMlwvMjFcLzIxYjU3NWFlM2U0Y2RkY2M4MzI4NzdlZTE2OGI1OGFhXC8waGNwOWczNHd5NDA1OWRpMTYwdTJfMjQwcC5tcDQ~VGFnPTIiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE2ODA5NTQxMTJ9LCJJcEFkZHJlc3MiOnsiQVdTOlNvdXJjZUlwIjoiMzYuOTEuMTgzLjM0XC8zMiJ9fX1dfQ__&Signature=AsJ0hHvJ8IP4CfiWaF2qq~7Z5rySoy8X1mc2MNmMIqPxmgSu3n1kSV7kEieyApd-Cf4XC3QPaHRz68B66x8HAtfaQ1osZMIlJBDa8kMhov3I2hwmGNSljkojpVbMAc9WgYSzeH4jdhPCwf8YdZBWZTvFuRna2oZ5iKvPkTb588vUnh11KjNUG7jqoG-2c83oCnvoZ0qOvSXgBoMT5KF46i0XQfUShVtR2bxkRI~fjl3LB5SJl9PMoEy64J70OSU7xUJm3PtwYiz~U7s-Q14Wo5m4p-ZZMPDSxEx2o3WkjG3jSb1aZxgLkHfCBIQ4WN8MUER8w-J-BbBxOkyCDG72Jw__&Key-Pair-Id=APKAUSX4CWPPATFK2DGD",
                    "720": "https://cdn2.onlyfans.com/files/c/c2/c25a8192bf93256739b8f83dd3f74682/0hcp9g34wy4059di160u2_720p.mp4?Tag=2&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6XC9cL2NkbjIub25seWZhbnMuY29tXC9maWxlc1wvY1wvYzJcL2MyNWE4MTkyYmY5MzI1NjczOWI4ZjgzZGQzZjc0NjgyXC8waGNwOWczNHd5NDA1OWRpMTYwdTJfNzIwcC5tcDQ~VGFnPTIiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE2ODA5NTQxMTJ9LCJJcEFkZHJlc3MiOnsiQVdTOlNvdXJjZUlwIjoiMzYuOTEuMTgzLjM0XC8zMiJ9fX1dfQ__&Signature=XsJ~t-tfqmlq2~5SEcHECp0v6rbDbbU5qLduz8Px~5j5lXlq0h1SaE51Pn-2WaZNW-N1Bs4Gc4frqztRn5m7qH2i5c4T07NbBznMxx88Wuzm1-dcummDneSU7cU2QziqKTP~TVZ34OCrQKBnTrgEBlLnr73jJCaPnvfrzDv-mxVtTGFWwwQaQr0jGpcLlR15WWE~746rXRYXQf42cqRfU-gBFp4FyWQLURj9vtNTA0ABGO~sIDnwuYVX6bjp-DpA-uaxTljckPSA2~AIHB1~SSf9tR9r7xK-PVG1kZUbjQHNAuxqD1CJvj81SIXLZ69FVzPR-ZxVA9c3h1sigKqUzg__&Key-Pair-Id=APKAUSX4CWPPATFK2DGD"
                },
                "source": {
                    "duration": 897,
                    "height": 1080,
                    "size": 0,
                    "source": "https://cdn2.onlyfans.com/files/7/77/770fe950a135a290a080f16dda486d87/0hcp9g34wy4059di160u2_source.mp4?Tag=2&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6XC9cL2NkbjIub25seWZhbnMuY29tXC9maWxlc1wvN1wvNzdcLzc3MGZlOTUwYTEzNWEyOTBhMDgwZjE2ZGRhNDg2ZDg3XC8waGNwOWczNHd5NDA1OWRpMTYwdTJfc291cmNlLm1wND9UYWc9MiIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTY4MDk1NDExMn0sIklwQWRkcmVzcyI6eyJBV1M6U291cmNlSXAiOiIzNi45MS4xODMuMzRcLzMyIn19fV19&Signature=ajimWg3cm5gzNXeZ~CXV2YYVFJSMavFgcAIqlam4LP1GQt3sSRz-eO8kwBFHwF13xHlqZSVwWr7zkCUXUy0nT-FNRCWMBriM-ftvMvsD2fGwqDLUg1KpUm9WTIep06eTkYRaZjr-JIf9s2a~ZoJDnOgojnGriRjC1b1Zo42GvrXvPbUoE1IBY1ZIdNKDHSpNCK1gvqiz9V~jGI7Cr7h8yQFlow8UDa~Vm1eayk9V3UjssqT2uctyBoJvORy8pl-DJNdzBn7VXVWDHAKCPybJtQRzJe8bDmU5kJ89TT0p38mi0GYIf-n432y-A8OxNLxOSNY~TzPo5zaid~45-a9eYw__&Key-Pair-Id=APKAUSX4CWPPATFK2DGD",
                    "width": 1920
                }
            }
        }
    ],
    "time": "2023-04-07T06:39:08+00:00",
    "type": "post",
    "url": "https://onlyfans.com/561444536/onlyfans",
    "users": {
        "linked": [
            82054335,
            82517634
        ],
        "mentioned": [
            82054335
        ]
    }
}
```

### 🪶 Support

⚡️ Feel free to [reach out](https://console.apify.com/actors/O6knBihxFig55ve53/issues) to the developer for any [issues](https://console.apify.com/actors/O6knBihxFig55ve53/issues) or suggestions for improvement.

<img src="https://apify-uploads-prod.s3.us-east-1.amazonaws.com/5SxZhwYwpknFk8ek9-cat.gif" width="240">

# Actor input Schema

## `query` (type: `array`):

No description

## `limit` (type: `integer`):

Number of results <i><code>(per-query)</code></i>

## `filters.kind` (type: `string`):

💡 Post type

## `filters.date` (type: `string`):

💡 Go to date

## `filters.text` (type: `string`):

No description

## `filters.sort` (type: `string`):

💡 Sorting key

## `filters.order` (type: `string`):

💡 Sorting order

## `filters.format` (type: `string`):

💡 Post output format

## `dev_proxy_config` (type: `object`):

💡 <b>Supported protocol:</b><br><br><b>HTTP(S), SOCKS5</b><br><code>{http|socks5}://{user:pass}@{hostname|ip-address}:port</code><br><br><b>Example</b>: <code>socks5://example.com:9000</code>

## `dev_custom_headers` (type: `array`):

💡 Additional HTTP Headers

## `dev_custom_cookies` (type: `array`):

💡 Additional HTTP Cookies

## `dev_transform_fields` (type: `array`):

💡 <b>Transform the resulting output. Select only needed fields.</b><br><br>For nested object use <b>DOT</b>. For example: <pre>address.streetAddress</pre><br>For nested array use <b>NUMBER</b> <i>(index of array element starting from index=0)</i>. For example: <pre>images.0.url</pre>

## `dev_dataset_name` (type: `string`):

💡 <b>Save results into custom named Dataset, use mask to customize dataset name</b><br><br><code>{ACTOR} = actor name<br>{DATE} = date (YYYYMMDD)<br>{TIME} = time (HHMMSS)</code><br><br>This masks can be used to autogenerate Dataset Name.<br><br>example: <i><code>data-{DATE}</code></i><br>Depending on today date the dataset name will be: <code>data-20230603</code><i><br><br>default: <code>data-{ACTOR}-{DATE}-{TIME}</code></i>

## `dev_dataset_clear` (type: `boolean`):

Clear Dataset before insert/update.

## `dev_no_strip` (type: `boolean`):

💡 Keep/Save empty values <i><code>(NULL, FALSE, empty ARRAY, empty OBJECT, empty STRING)</code></i>

## Actor input object example

```json
{
  "query": [
    "square pants",
    "@onlyfans/video",
    "@oftv/profile",
    "https://www.onlyfans.com/oftv",
    "https://www.onlyfans.com/search?type=posts&q=sponge%20bob"
  ],
  "limit": 5,
  "dev_custom_headers": [
    {
      "key": "user-agent",
      "value": ""
    },
    {
      "key": "x-bc",
      "value": ""
    }
  ],
  "dev_custom_cookies": [
    {
      "key": "sess",
      "value": ""
    }
  ]
}
```

# 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 = {
    "query": [
        "square pants",
        "@onlyfans/video",
        "@oftv/profile",
        "https://www.onlyfans.com/oftv",
        "https://www.onlyfans.com/search?type=posts&q=sponge%20bob"
    ],
    "limit": 5,
    "dev_custom_headers": [
        {
            "key": "user-agent",
            "value": ""
        },
        {
            "key": "x-bc",
            "value": ""
        }
    ],
    "dev_custom_cookies": [
        {
            "key": "sess",
            "value": ""
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("jupri/onlyfans").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 = {
    "query": [
        "square pants",
        "@onlyfans/video",
        "@oftv/profile",
        "https://www.onlyfans.com/oftv",
        "https://www.onlyfans.com/search?type=posts&q=sponge%20bob",
    ],
    "limit": 5,
    "dev_custom_headers": [
        {
            "key": "user-agent",
            "value": "",
        },
        {
            "key": "x-bc",
            "value": "",
        },
    ],
    "dev_custom_cookies": [{
            "key": "sess",
            "value": "",
        }],
}

# Run the Actor and wait for it to finish
run = client.actor("jupri/onlyfans").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 '{
  "query": [
    "square pants",
    "@onlyfans/video",
    "@oftv/profile",
    "https://www.onlyfans.com/oftv",
    "https://www.onlyfans.com/search?type=posts&q=sponge%20bob"
  ],
  "limit": 5,
  "dev_custom_headers": [
    {
      "key": "user-agent",
      "value": ""
    },
    {
      "key": "x-bc",
      "value": ""
    }
  ],
  "dev_custom_cookies": [
    {
      "key": "sess",
      "value": ""
    }
  ]
}' |
apify call jupri/onlyfans --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "ONLYFANS Scraper 🪶",
        "description": "❤️💛💚💙💜 Scrape OnlyFans.com 🪽",
        "version": "0.2",
        "x-build-id": "hwwcOhzRfstw8Sjma"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/jupri~onlyfans/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-jupri-onlyfans",
                "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/jupri~onlyfans/runs": {
            "post": {
                "operationId": "runs-sync-jupri-onlyfans",
                "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/jupri~onlyfans/run-sync": {
            "post": {
                "operationId": "run-sync-jupri-onlyfans",
                "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",
                "properties": {
                    "query": {
                        "title": "❓ Query",
                        "type": "array",
                        "description": "",
                        "items": {
                            "type": "string"
                        }
                    },
                    "limit": {
                        "title": "Limit",
                        "type": "integer",
                        "description": "Number of results <i><code>(per-query)</code></i>"
                    },
                    "filters.kind": {
                        "title": "🎞️ Kind",
                        "enum": [
                            "post",
                            "media",
                            "photo",
                            "video"
                        ],
                        "type": "string",
                        "description": "💡 Post type"
                    },
                    "filters.date": {
                        "title": "🗓️ Date",
                        "type": "string",
                        "description": "💡 Go to date"
                    },
                    "filters.text": {
                        "title": "📄 Content format",
                        "enum": [
                            "TEXT",
                            "HTML",
                            "BOTH"
                        ],
                        "type": "string",
                        "description": ""
                    },
                    "filters.sort": {
                        "title": "Sorting",
                        "enum": [
                            "publish_date",
                            "favorites_count",
                            "tips_summ"
                        ],
                        "type": "string",
                        "description": "💡 Sorting key"
                    },
                    "filters.order": {
                        "title": "Order",
                        "enum": [
                            "asc",
                            "desc"
                        ],
                        "type": "string",
                        "description": "💡 Sorting order"
                    },
                    "filters.format": {
                        "title": "Format",
                        "enum": [
                            "text",
                            "md",
                            "html"
                        ],
                        "type": "string",
                        "description": "💡 Post output format"
                    },
                    "dev_proxy_config": {
                        "title": "🌐 PROXY NETWORKING",
                        "type": "object",
                        "description": "💡 <b>Supported protocol:</b><br><br><b>HTTP(S), SOCKS5</b><br><code>{http|socks5}://{user:pass}@{hostname|ip-address}:port</code><br><br><b>Example</b>: <code>socks5://example.com:9000</code>"
                    },
                    "dev_custom_headers": {
                        "title": "📜 HTTP HEADERS",
                        "type": "array",
                        "description": "💡 Additional HTTP Headers",
                        "items": {
                            "type": "object",
                            "required": [
                                "key",
                                "value"
                            ],
                            "properties": {
                                "key": {
                                    "type": "string",
                                    "title": "Key"
                                },
                                "value": {
                                    "type": "string",
                                    "title": "Value"
                                }
                            }
                        }
                    },
                    "dev_custom_cookies": {
                        "title": "🍰 HTTP COOKIES",
                        "type": "array",
                        "description": "💡 Additional HTTP Cookies",
                        "items": {
                            "type": "object",
                            "required": [
                                "key",
                                "value"
                            ],
                            "properties": {
                                "key": {
                                    "type": "string",
                                    "title": "Key"
                                },
                                "value": {
                                    "type": "string",
                                    "title": "Value"
                                }
                            }
                        }
                    },
                    "dev_transform_fields": {
                        "title": "♻️ CUSTOM FIELD",
                        "type": "array",
                        "description": "💡 <b>Transform the resulting output. Select only needed fields.</b><br><br>For nested object use <b>DOT</b>. For example: <pre>address.streetAddress</pre><br>For nested array use <b>NUMBER</b> <i>(index of array element starting from index=0)</i>. For example: <pre>images.0.url</pre>",
                        "items": {
                            "type": "object",
                            "required": [
                                "key",
                                "value"
                            ],
                            "properties": {
                                "key": {
                                    "type": "string",
                                    "title": "Key"
                                },
                                "value": {
                                    "type": "string",
                                    "title": "Value"
                                }
                            }
                        }
                    },
                    "dev_dataset_name": {
                        "title": "📁 CUSTOM STORAGE",
                        "type": "string",
                        "description": "💡 <b>Save results into custom named Dataset, use mask to customize dataset name</b><br><br><code>{ACTOR} = actor name<br>{DATE} = date (YYYYMMDD)<br>{TIME} = time (HHMMSS)</code><br><br>This masks can be used to autogenerate Dataset Name.<br><br>example: <i><code>data-{DATE}</code></i><br>Depending on today date the dataset name will be: <code>data-20230603</code><i><br><br>default: <code>data-{ACTOR}-{DATE}-{TIME}</code></i>"
                    },
                    "dev_dataset_clear": {
                        "title": "Clear Storage",
                        "type": "boolean",
                        "description": "Clear Dataset before insert/update."
                    },
                    "dev_no_strip": {
                        "title": "Disable data cleansing",
                        "type": "boolean",
                        "description": "💡 Keep/Save empty values <i><code>(NULL, FALSE, empty ARRAY, empty OBJECT, empty STRING)</code></i>"
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
