Retrieve user data from Onlyfans and Fansly with ease. Valuable for all types of applications thanks to REST.
Competitive pricing for everyone.
Fill in your e-mail to start using the API.
GET /api/{platform}/user/{username}[?no-cache] | |||
---|---|---|---|
Fetch information from a creator on a platform. | |||
Requires a bearer token and preferably an "accept" header set to "application/json" | |||
Parameter | Required | Type | Info |
platform | string | The platform you want to get data from. Available options are "onlyfans" and "fansly". | |
username | string | The username from Onlyfans you want to get data from. All usernames are in the urls, e.g. https://onlyfans.com/onlyfans | |
no-cache | none | This service caches users In the background - mainly to have quicker and fluent API responses. The downside of this is that the data you retrieve can be outdated. There aren't many times a user updates their profile. You can set this but keep in mind a request might take longer. |
GET /api/{platform}/subscriptions | |||
---|---|---|---|
Caution: This endpoint does a more expensive operation.
A request to this endpoint counts as a double request price wise (€ 0,01/request or € 0,002 /request above 5000 requests) so using the web interface is encouraged. |
|||
Retrieve a list of your subscriptions from a platform. Uses your auth info like on the web interface. | |||
Requires a bearer token and preferably an "accept" header set to "application/json" | |||
Parameter | Required | Type | Info |
platform | string | The platform you want to get subscriptions from. Available options are "onlyfans" and "fansly". | |
userAgent | string | The browser user agent, preferrably the one you already use to login with on the platform. Choosing a different one might cause a logout on the platform. | |
xbc | string | Required if platform is "onlyfans". The xbc auth value. | |
sess | string | Required if platform is "onlyfans". The sess auth value from cookie. | |
token | string | Required if platform is "fansly". The authorization from fansly. |
POST /api/{platform}/subscriptions/{userId}/download | |||
---|---|---|---|
Caution: A request to this endpoint counts as 5 normal request price wise (€ 0,025/request or € 0,005 /request above 5000 requests) so using the web interface is encouraged.
This endpoint is only available for supporter max subscribers. It falls in the category of "automatic scraping". This means that the data is not cached and is retrieved from the platform directly. This is a more expensive operation and can be automated.
|
|||
Download content from a subscription. Because this endpoint can take a while to complete, it returns a task object. You can check the status of the task with the task endpoint. | |||
Requires a bearer token and preferably an "accept" header set to "application/json" | |||
Parameter | Required | Type | Info |
platform | string | The platform you want to get data from. Available options are "onlyfans" and "fansly". | |
userId | number | The user id from one of your subscriptions (see subscriptions endpoint). This endpoint will download all the content from the user. | |
userAgent | string | The browser user agent, choose the one you already use to login with on the platform. Choosing a different one might cause a logout on the platform. | |
xbc | string | Required if platform is "onlyfans". The xbc auth value. | |
sess | string | Required if platform is "onlyfans". The sess auth value from cookie. | |
token | string | Required if platform is "fansly". The authorization from fansly. | |
type | number | The type of content you want to download. Available options are 0 (posts) and 1 (messages). The default is 0. | |
items | number | The number of items you want to download. The default is 50, max 500. | |
kind | number | The kind of content you want to download. Available options are 0 (videos), 1 (images) and 2 (audios). | |
output | string | The desired output format. Available options are "zip", "gofile" and "pixeldrain". The default is "zip". |
GET /api/tasks/{id} | |||
---|---|---|---|
A request to this endpoint is free.
This endpoint is only available for supporter max subscribers.
|
|||
Retrieve the status of a task. This is necessary when you want to know if a download is finished. The download task is created when you use the download endpoint and will be deleted after 24 hours after the status has changed. | |||
Requires a bearer token and preferably an "accept" header set to "application/json" |
GET https://onlyscraper.fans/api/onlyfans/user/gvalentinaxxx Authorization: Bearer <token> Accept: application/json { "name": "Gina_valentinaxxx", "username": "gvalentinaxxx", "avatar": "https://public.onlyfans.com/files/r/rs/rsa/rsamt8yd3q0rnjyxhypjfbdyybwzgr4c1617815540/avatar.jpg", "header": "https://public.onlyfans.com/files/h/hn/hny/hnyglnqk17ueaivh6eaom1sck4demq7d1617815542/header.jpg", "bundles": { "3 months": 43.17, "6 months": 81.55, "12 months": 153.5 }, "link_profile": "https://onlyfans.com/gvalentinaxxx", "posts": 1033, "videos": 192, "photos": 796, "audios": 1, "hearts": 615979, "location": null, "bio": "GINA VALENTINA THATS ME!!!!! 🤫🤍✨ <br />\nANIME FREAK 🥺 25, Your Baddest baby 👼🏻🤬💕 <br />\n<br />\nJOIN NOW to get access to all my new and exclusive VIP content that you wont see anywhere else 💦<br />\n<br />\nI LOOOOVE getting naughty on here 🤍✨", "subscription_price": 15.99, "lastSeen": "2023-11-17T14:58:18+00:00", "cached": true }
GET https://onlyscraper.fans/api/onlyfans/subscriptions Authorization: Bearer <token> Accept: application/json { "xbc": "<xbc>", "sess": "<sess>", "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3" } [ { "id": 17156643, "name": "Frances Bentley 🇬🇧", "username": "francesbentley", "url": "https://onlyfans.com/francesbentley", "price": 4.99, "location": "London", "expireDate": "2024-09-25 00:02:39", "imageCount": 439, "videoCount": 160 }, { "id": 336899921, "name": "🐾Masha with wild soul🐾", "username": "mimi_masha", "url": "https://onlyfans.com/mimi_masha", "price": 0, "location": "online", "expireDate": "2024-10-06 00:42:00", "imageCount": 589, "videoCount": 2 }, { "id": 431227905, "name": "Angel QUEEN", "username": "angelqu33nfree", "url": "https://onlyfans.com/angelqu33nfree", "price": 0, "location": null, "expireDate": "2034-09-05 07:45:49", "imageCount": 52, "videoCount": 1 } ]
GET https://onlyscraper.fans/api/fansly/user/darcy_del_rey Authorization: Bearer <token> Accept: application/json { "name": "Darcy 🦊 🟢", "username": "darcy_del_rey", "avatar": "https://cdn3.fansly.com/286122224799195136/367662133707546624.png?ngsw-bypass=true&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4zLmZhbnNseS5jb20vMjg2MTIyMjI0Nzk5MTk1MTM2LzM2NzY2MjEzMzcwNzU0NjYyNC5wbmc~bmdzdy1ieXBhc3M9dHJ1ZSIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcyMDY2NDIyMH19fV19&Key-Pair-Id=K23PG5J1AWEZX5&Signature=oqyjYKIbV25FQmzNVdk7aCWwbDTUkvmBI8WxCanZlomdaa2j4fWTGRIf9qqk74GgYnUP7GU8Jc6vvguD1P5ioraqBqFQbSDR9yauX8O4FVBjtZwS7Q~Ht94s1fMP16plCzrjUMy35FmdtDMWbPNA8-606wWR64eGuu3Kq2w~ig8x9PzBPeEhbo6pOJAgBsBoD~neJDDeLfUjVP6591g~U0Spi9OoRosCoiWxWhUEh6G1iB6BWVTb8IU8JAygnVBjuQk2aJhQA-Bo3YK43b8u7AqVa-FI6~LQX916xvDZcCFzksSSWVW0yAcyK1mOn5pi9FkpHlmk-4bt1C8RE1wEaw__", "header": "https://cdn3.fansly.com/286122224799195136/367662133485248512.png?ngsw-bypass=true&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4zLmZhbnNseS5jb20vMjg2MTIyMjI0Nzk5MTk1MTM2LzM2NzY2MjEzMzQ4NTI0ODUxMi5wbmc~bmdzdy1ieXBhc3M9dHJ1ZSIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcyMDY2NDIyMH19fV19&Key-Pair-Id=K23PG5J1AWEZX5&Signature=P-mFWw~FLF3qWoNEhbNB2GZPkEbVZbhtmd4kl6Hx2ML~ycymhrzdSwmvAP34dpggypgAGEoG5inJxyzFTpzDVTiwYxstuu92g-yqIxgN8rjjNnsP~AXLHLF6wmiQtEGwbmgxmsoZGFK6NJRp0wYAm756rQYz3zAO9xkRmT9VrQTSvKraAeN-GJv5snYKj5bZEUVHaLSGP7u8jarzSljx6QnH7NRht6~KspUKrCuLRTyIk-unJkoDkGMixYcffAvMR1Ewmtsb8vWhB7DmE2Swj-oK9OJyHykdDG3NiWtOQu8subZYFIo9hGMfMKVtdgXn-~aiQL65FSYIcO57CFMU6w__", "bundles": { "Loyal Fans (FREE squirt video💦) 1 months": 9.99, "Loyal Fans (FREE squirt video💦) 3 months": 22.477, "Loyal Fans (FREE squirt video💦) 6 months": 38.961, "Fuck Buddies (FREE XXX VIDEO BUNDLE) 1 months": 45, "Fuck Buddies (FREE XXX VIDEO BUNDLE) 3 months": 101.25, "Fuck Buddies (FREE XXX VIDEO BUNDLE) 6 months": 175.5, "VIP GIRLFRIEND TIER (NO PPV) 1 months": 250, "VIP GIRLFRIEND TIER (NO PPV) 2 months": 400, "VIP GIRLFRIEND TIER (NO PPV) 3 months": 525, "VIP GIRLFRIEND TIER (NO PPV) 6 months": 900 }, "socials": { "twitter": "https://twitter.com/darcy_del_rey", "instagram": "https://instagram.com/Darcy_delrey" }, "link_profile": "https://fansly.com/darcy_del_rey", "videos": 18, "photos": 147, "followers": 1929, "hearts": 8066, "location": "United Kingdom", "bio": "Hey! I’m Darcy, your new favourite redhead 🦊\n\n\nWelcome to my page 🥰 here you’ll find exclusive EXPLICIT XXX content free on my wall. I also have hundreds of sex tapes/ blowjobs & facials/ squirt/ toys and much more available for you to enjoy 😈 \n\nI reply to ALL my messages - I love being interactive with you... if you like sexting then you’ll love it here 😍 \n\nAll my content is copyrighted and protected by law. Anyone caught replicating, distributing, leaking content WILL be prosecuted. I have a team who constantly checks the internet for leaks so you have been warned!", "subscription_price": 9.99, "lastSeen": null, "cached": false }
GET https://onlyscraper.fans/api/fansly/subscriptions Authorization: Bearer <token> Accept: application/json { "token": "<bearer token>", "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3" } [ { "id": "206576216637964288", "name": "Blinkx", "username": "blinkx", "url": "https://fansly.com/blinkx", "price": 15, "description": "All the hottest and most exclusive content from your new favourite british girl 🔥\n\n• Fully uncensored pics on feed for subs and explicit DMs \n• Daily new content\n• B/G, squirting, JOI, fetish friendly (NOW in 4k!!)\n• Customs available!\n\n💗💗💗", "location": "london, england", "expireDate": null, "imageCount": 1278, "videoCount": 205 }, { "id": "206968930764324864", "name": "lex 💘 ", "username": "luvcoregf", "url": "https://fansly.com/luvcoregf", "price": 10, "description": "yay i tempted you ♡\nhi i'm lex! i'm a petite girl making nude & lewd content featuring explicit videos, lingerie, cosplay, casual and HD sets, and more!\nthis is the only site i check my dms on so feel free to message me :3\nno screenshots, reposting, or sharing these images anywhere! this is a warning, any copyrighted content posted will be met with a claim!", "location": "tiny girl, big heart <3", "expireDate": null, "imageCount": 3822, "videoCount": 391 }, { "id": "217104043514789888", "name": "Bree-Boo", "username": "Bree-Boo", "url": "https://fansly.com/Bree-Boo", "price": 14.99, "description": "Hey, I'm Bree! Welcome to my Fansly 😉\n\nWhen you subscribe to my page you can look forward to:\n\nPics or videos posted on my wall 😜\nA free exclusive 4-minute B/G creampie video in your DMs 😈\nMasturbating, B/G, G/G and other orgy content!\nFeel free to say hello to me in my DMs!\n\nWishlist: https://throne.com/breeboo", "location": "", "expireDate": null, "imageCount": 1751, "videoCount": 70 } ]