πŸš€ Fansly API (Alpha) is live!WIP - Updated Daily
Fansly API Logo
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

FieldTypeDescription
statusCodenumberThe HTTP status code of the response (e.g., 200)
messagestringA human-readable message about the result
dataobjectThe main response payload
β”œβ”€ status_codenumberThe internal status code of the Fansly operation
└─ dataobjectNested data container
└─ responsearrayA list of connected account objects
β”œβ”€ idstringUnique identifier for the account
β”œβ”€ usernamestringThe user's handle
└─ statusstringConnection status (e.g., "connected")
timestampstringThe ISO 8601 timestamp of generation

On this page