TwoSec

Available on RapidAPI

OnlyFans API

Creator data for OnlyFans: search creators by keyword, get a creator's full public profile, and find a creator's OnlyFans from a handle, a name or a social profile link. Every endpoint is a GET request that returns JSON.

Quick start

Subscribe on RapidAPI to get a key. Send requests to https://onlyfans-api11.p.rapidapi.com with both headers. This finds the OnlyFans creator behind an Instagram link:

curl --request GET \
  --url 'https://onlyfans-api11.p.rapidapi.com/v1/onlyfans/lookup?handle=https%3A%2F%2Fwww.instagram.com%2Fbelledelphine%2F' \
  --header "X-RapidAPI-Key: $RAPIDAPI_KEY" \
  --header 'X-RapidAPI-Host: onlyfans-api11.p.rapidapi.com'

Endpoints

MethodPathReturns
GET/v1/onlyfans/searchCreators matching a keyword
GET/v1/onlyfans/profile/{username}A creator's full public profile
GET/v1/onlyfans/lookupThe OnlyFans creator behind a handle, name or link

GET/v1/onlyfans/search

Search by keyword: a niche, a look, a platform or a name. Returns up to 24 creators per page with username, profile link, price, likes, photo and video counts, bio, and linked Instagram, X, TikTok and Fansly accounts. Ask for the next page while has_more is true.

Creator profile

GET/v1/onlyfans/profile/{username}

The full public profile for a username: name, bio, location, website, join date, last seen, subscription price and current promotional price, bundles and promotions, photo, video, post and stream counts, likes, tip range and account flags such as verified status.

Reverse lookup

GET/v1/onlyfans/lookup

Pass a handle, a full name or a profile link, such as an Instagram URL. Returns the matching OnlyFans creator with a match confidence and the key profile fields, or ofFound: false when there is no match. The reverse lookup guide walks through a whole list.

Subscriber counts are included only when a creator makes them public. Answers are cached for up to 7 days.

Units

EndpointUnits per call
/v1/onlyfans/search1 per creator returned (up to 24 per page), minimum 1
/v1/onlyfans/profile/{username}1
/v1/onlyfans/lookup5 when a creator is found, 1 when not

Server errors are never billed.

Guides

Plans and support

Plans, monthly quotas and rate limits are listed on the RapidAPI listing, along with the full parameter reference. For more volume or a custom plan, use Contact provider on the listing; the same button takes questions and bug reports.