Creator platform API

Fansly API

Read Fansly creator data without running your own collector: profiles by username or in bulk by account ID, posts, full-text creator search, the current monthly leaderboard, a searchable creators catalog and search by face photo.

Overview

What the Fansly API gives you

Endpoints

Fansly API endpoints

GET

Get profile by nickname

Returns the full creator profile (account object) for a single username. profileSocials is normalized to {type, url} for Twitter/X, Instagram and TikTok.

/users/{nickname}
  • nickname — Fansly creator username
GET

Get profiles by account IDs

Returns multiple creator profiles looked up by numeric account IDs — handy for resolving leaderboard accountIds in one call. Up to 50 IDs per request; invalid and duplicate IDs are dropped.

/users/list
  • ids — comma-separated numeric account IDs
GET

Get posts by post IDs

Returns post data for the given numeric post IDs. Up to 20 IDs per request; invalid and duplicate IDs are dropped.

/posts
  • ids — comma-separated numeric post IDs
GET

Search creators

Full-text search over creators by username, display name, location and bio. Returns up to 25 matches.

/search
  • query — search string (e.g. fox, miami, fitness)
GET

Get the current leaderboard

Returns the current monthly leaderboard: contest metadata, the prize-slot structure and the ranked accounts with their prizes.

/leaderboard
GET

Browse the creators catalog

Paginated browsing over the Apimirai Fansly creators catalog. Page size depends on your plan.

/catalog/{page}/{order}
  • page — integer >= 1
  • order — publish_date_desc | publish_date_asc | username_asc | username_desc
GET

Search the creators catalog

Full-text search over the creators catalog by username, name, location and bio. Page size depends on your plan.

/catalog/search/{page}/{order}
  • page — integer >= 1
  • order — relevance_desc | publish_date_desc | publish_date_asc | username_asc | username_desc
  • query — full-text search value
  • fields — optional comma-separated list: username,name,location,about
POST

Find creators by face photo

Upload a face photo and find the Fansly creators who look like that person. Each creator appears once with the best-matching image and a similarity score from 0 to 1. The number of matches depends on your plan.

/search/by_image
  • image_base64 — JSON body field: the photo as base64 (JPEG, PNG, WebP or GIF, up to 10 MB, 64x64 to 1000x1000 px)
  • page — optional page number on plans with paginated results

Quick start

Make your first request

Apimirai gateway

Send your account API key in the X-API-Key header, as an Authorization: Bearer token or as the api_key query parameter. Every response is JSON.

curl \
     -H "X-API-Key: <your-api-key>" \
     "https://api.mirai-api.com/fansly-api/users/<nickname>"

RapidAPI

Already on RapidAPI? Call the same endpoints with your RapidAPI key and host headers.

curl \
     -H "X-RapidAPI-Key: <your-rapidapi-key>" \
     -H "X-RapidAPI-Host: fansly-api.p.rapidapi.com" \
     "https://fansly-api.p.rapidapi.com/users/<nickname>"

Good to know

Integration notes

Use cases

What teams build with the Fansly API

Creator analytics

Follow profile stats, posts and leaderboard positions for dashboards and research.

Leaderboard tracking

Resolve the monthly leaderboard into full creator profiles with a single bulk call.

Discovery and search

Power creator search and recommendations with the catalog and full-text search.

Brand protection

Match a face photo against creator images to spot impersonation and reused photos.

FAQ

Fansly API questions

Do I need a Fansly account to use the API?

No. You call the API with your Apimirai key; all platform access, sessions and proxies are handled on our side.

How are prices returned?

As integers in thousandths of USD: divide by 1000 to get dollars (29990 = $29.99).

Can I search Fansly creators by photo?

Yes. POST /search/by_image accepts a face photo as base64 and returns matching creators with the best-matching image and a similarity score from 0 to 1.

How do I get an API key for the Fansly API?

Create an account on mirai-api.com, choose a plan for the Fansly API and copy your API key from the Settings page. Send it in the X-API-Key header, as an Authorization: Bearer token or as the api_key query parameter.

Is the Fansly API available on RapidAPI?

Yes. The same endpoints are published on RapidAPI, so you can also subscribe there and call them with your RapidAPI key.

More APIs

Creator platform API

OnlyFans API

Creator profiles, bulk lookups, posts, social links, a searchable creators catalog and search by face photo.

Built into 10 APIs

Face photo search

An endpoint in ten of our APIs that finds creators and cam models who look like the person in a photo.

Start with the Fansly API

Create an account to get your API key, documentation with live request examples and direct developer support.