Account
List Accounts
Get 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": {
"success": true,
"count": 1,
"accounts": [
{
"accountId": "fansly_xxxxxxxxxxxxxxxxxx",
"email": "xxxxxxxx@xxxx.com",
"name": "creator acc",
"country": "XX",
"createdAt": "2026-01-01T00:00:00.000Z"
}
]
},
"timestamp": "2026-01-01T00: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 |
├─ success | boolean | Whether the request was successful |
├─ count | number | Total number of connected accounts |
└─ accounts | array | A list of connected account objects |
├─ accountId | string | Unique identifier for the Fansly account |
├─ email | string | Email address associated with the account |
├─ name | string | Display name of the account |
├─ country | string | Proxy country ISO 3166-1 alpha-2 country code |
└─ createdAt | string | ISO 8601 timestamp of when the account was connected |
timestamp | string | ISO 8601 timestamp of the response generation |