Account
Get Profile Data
Retrieve detailed public profile information for any Fansly username.
Fetch public profile details, including subscription tiers, follower counts, bio, and social links for any Fansly user.
https://v1.apifansly.com
GET
/api/fansly/search/{username}
Get Started
All requests to the Fansly API require an API Key. See the Authentication page for details.
Path Parameters
username*
stringThe Fansly username of the profile to retrieve.
curl -X GET "https://v1.apifansly.com/api/fansly/search/OnlyEmilly" \
-H "x-api-key: YOUR_API_KEY"fetch("https://v1.apifansly.com/api/fansly/search/OnlyEmilly", {
method: "GET",
headers: {
"x-api-key": "YOUR_API_KEY"
}
})import requests
url = "https://v1.apifansly.com/api/fansly/search/OnlyEmilly"
headers = {"x-api-key": "YOUR_API_KEY"}
response = requests.get(url, headers=headers)
print(response.json())import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://v1.apifansly.com/api/fansly/search/OnlyEmilly"))
.header("x-api-key", "YOUR_API_KEY")
.GET()
.build();
client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
.thenApply(HttpResponse::body)
.thenAccept(System.out::println)
.join();using System.Net.Http;
using System.Threading.Tasks;
var client = new HttpClient();
client.DefaultRequestHeaders.Add("x-api-key", "YOUR_API_KEY");
var response = await client.GetAsync("https://v1.apifansly.com/api/fansly/search/OnlyEmilly");
var responseString = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseString);package main
import (
"fmt"
"io/ioutil"
"net/http"
)
func main() {
url := "https://v1.apifansly.com/api/fansly/search/OnlyEmilly"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Set("x-api-key", "YOUR_API_KEY")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := ioutil.ReadAll(resp.Body)
fmt.Println(string(body))
}Response
{
"statusCode": 200,
"message": "Success",
"data": {
"status_code": 200,
"data": {
"success": true,
"response": [
{
"id": "85922xxxxxxxxxxxxx",
"username": "OnlyEmilly",
"displayName": "Only Emilly",
"about": "Welcome to my secret world ππ₯...",
"followCount": 5264,
"subscriberCount": 0,
"accountMediaLikes": 16711,
"postLikes": 1896,
"lastSeenAt": 1769036531000,
"avatar": {
"id": "85929xxxxxxxxxxxxx",
"mimetype": "image/jpeg",
"location": "/85922.../85929....jpeg"
},
"subscriptionTiers": [
{
"id": "86020xxxxxxxxxxxxx",
"name": "Subscription Tier 1",
"price": 5000,
"subscriptionBenefits": [
"1 free Tier 1 post per week"
]
}
],
"timelineStats": {
"imageCount": 94,
"videoCount": 17
}
}
]
}
},
"timestamp": "2026-01-22T02:43:41.229Z"
}Response Body
| Field | Type | Description |
|---|---|---|
statusCode | number | The HTTP status code (200) |
message | string | Result message |
data | object | Main response container |
ββ status_code | number | Internal Fansly status code |
ββ data | object | Nested data container |
ββ response | array | A list containing the profile details |
ββ id | string | Unique identifier for the account |
ββ username | string | The user's handle |
ββ displayName | string | The user's display name |
ββ about | string | Profile bio/description |
ββ followCount | number | Total followers |
ββ subscriptionTiers | array | Available subscription tiers and benefits |
ββ timelineStats | object | Summary of posted media counts |
ββ avatar | object | Profile picture metadata |
timestamp | string | ISO 8601 response timestamp |