Account
List Accounts
Retrieve all connected Fansly accounts for your API key.
Get a list of all Fansly accounts currently linked to your API key.
https://v1.apifansly.com
GET
/api/fansly/accounts
Get Started
All requests to the Fansly API require an API Key. See the Authentication page for details.
Authentication
curl -X GET "https://v1.apifansly.com/api/fansly/accounts" \
-H "x-api-key: YOUR_API_KEY"fetch("https://v1.apifansly.com/api/fansly/accounts", {
method: "GET",
headers: {
"x-api-key": "YOUR_API_KEY"
}
})import requests
url = "https://v1.apifansly.com/api/fansly/accounts"
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/accounts"))
.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/accounts");
var responseString = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseString);package main
import (
"fmt"
"net/http"
)
func main() {
url := "https://v1.apifansly.com/api/fansly/accounts"
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()
fmt.Println(resp.Status)
}Response
{
"statusCode": 200,
"message": "Success",
"data": {
"status_code": 200,
"data": {
"success": true,
"response": [
{
"id": "8654xxxxxxxxxxxxxx",
"username": "creator_handle",
"avatarUrl": "https://cdn3.fansly.com/images/avatar/xxxxxxxx.jpg",
"status": "connected"
}
]
}
},
"timestamp": "2026-02-01T02:00:00.000Z"
}Response Body
| Field | Type | Description |
|---|---|---|
statusCode | number | The HTTP status code of the response (e.g., 200) |
message | string | A human-readable message about the result |
data | object | The main response payload |
ββ status_code | number | The internal status code of the Fansly operation |
ββ data | object | Nested data container |
ββ response | array | A list of connected account objects |
ββ id | string | Unique identifier for the account |
ββ username | string | The user's handle |
ββ status | string | Connection status (e.g., "connected") |
timestamp | string | The ISO 8601 timestamp of generation |