Webhooks are now available in the Fansly API Console! 🚀
Fansly API Logo
Vault

List Vault Albums

Get a list of all vault albums from a Fansly account.

https://v1.apifansly.com
GET
/api/fansly/{accountId}/vault/albums

Get Started

All requests to the Fansly API require an API Key. See the Authentication page for details.

Request

curl -X GET "https://v1.apifansly.com/api/fansly/{accountId}/vault/albums" \
  -H "x-api-key: YOUR_API_KEY"
fetch("https://v1.apifansly.com/api/fansly/{accountId}/vault/albums", {
  method: "GET",
  headers: {
    "x-api-key": "YOUR_API_KEY"
  }
})
import requests

url = "https://v1.apifansly.com/api/fansly/{accountId}/vault/albums"
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/{accountId}/vault/albums"))
        .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/{accountId}/vault/albums");
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/{accountId}/vault/albums"

    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))
}

Path Parameters

accountId*
string
The unique identifier for the connected Fansly account.

By default, Fansly includes standard albums such as "All", "Posts", and "Messages".

Response

{
    "statusCode": 200,
    "message": "Success",
    "data": {
        "status_code": 200,
        "data": {
            "success": true,
            "response": {
                "albums": [
                    {
                        "id": "ALBUM_ID_1",
                        "accountId": "ACCOUNT_ID",
                        "pos": 0,
                        "title": "All",
                        "description": null,
                        "type": 38000,
                        "status": 0,
                        "itemCount": 8,
                        "lastItemId": "LAST_ITEM_ID_1",
                        "version": 2,
                        "createdAt": 1768518748000
                    },
                    {
                        "id": "ALBUM_ID_2",
                        "accountId": "ACCOUNT_ID",
                        "pos": 1,
                        "title": "Posts",
                        "description": null,
                        "type": 1000,
                        "status": 0,
                        "itemCount": 1,
                        "lastItemId": "LAST_ITEM_ID_2",
                        "version": 2,
                        "createdAt": 1768000991000
                    },
                    {
                        "id": "ALBUM_ID_3",
                        "accountId": "ACCOUNT_ID",
                        "pos": 2,
                        "title": "Messages",
                        "description": null,
                        "type": 5000,
                        "status": 0,
                        "itemCount": 6,
                        "lastItemId": "LAST_ITEM_ID_3",
                        "version": 2,
                        "createdAt": 1768536545000
                    },
                    {
                        "id": "ALBUM_ID_4",
                        "accountId": "ACCOUNT_ID",
                        "pos": 3,
                        "title": "Album name",
                        "description": "Album description",
                        "type": null,
                        "status": 0,
                        "itemCount": 3,
                        "lastItemId": "LAST_ITEM_ID_4",
                        "version": 2,
                        "createdAt": 1770057563000
                    }
                ],
                "aggregationData": {
                    "media": [
                        {
                            "id": "MEDIA_ID_1",
                            "type": 1,
                            "status": 1,
                            "accountId": "ACCOUNT_ID",
                            "mimetype": "image/jpeg",
                            "flags": 6,
                            "filename": "image (1).jpeg",
                            "location": "/ACCOUNT_ID/MEDIA_ID_1.jpeg",
                            "width": 1400,
                            "height": 987,
                            "metadata": "{\"dominant\":{\"r\":24,\"g\":40,\"b\":24},\"resolutionMode\":1}",
                            "updatedAt": 1774752646,
                            "createdAt": 1774752645,
                            "variants": [
                                {
                                    "id": "VARIANT_ID_1",
                                    "type": 1,
                                    "status": 1,
                                    "mimetype": "image/jpeg",
                                    "flags": 0,
                                    "filename": "image (1)_720.jpeg",
                                    "location": "/ACCOUNT_ID/VARIANT_ID_1.jpeg",
                                    "width": 1022,
                                    "height": 720,
                                    "metadata": "{\"resolutionMode\":1}",
                                    "updatedAt": 1774752646,
                                    "locations": [
                                        {
                                            "locationId": "1",
                                            "location": "https://cdn3.fansly.com/ACCOUNT_ID/VARIANT_ID_1.jpeg?..."
                                        }
                                    ]
                                }
                            ],
                            "variantHash": {},
                            "locations": [
                                {
                                    "locationId": "1",
                                    "location": "https://cdn3.fansly.com/ACCOUNT_ID/MEDIA_ID_1.jpeg?..."
                                }
                            ]
                        }
                    ]
                }
            }
        }
    },
    "timestamp": "2026-03-29T03:39:41.957Z"
}

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
└─ responseobjectContainer for albums and aggregated metadata
├─ albumsarrayA list of album objects representing vault folders
│ ├─ idstringUnique identifier for the album
│ ├─ accountIdstringThe ID of the account owning the album
│ ├─ posnumberThe position index for sorting
│ ├─ titlestringThe name of the album (can be null for default albums)
│ ├─ descriptionstringAn optional description for the album
│ ├─ typenumberThe type of the album (e.g., 38000 = All, 1000 = Posts, 5000 = Messages)
│ ├─ statusnumberThe visibility/availability status
│ ├─ itemCountnumberThe number of media items inside the album
│ ├─ lastItemIdstringThe ID of the most recent item added
│ ├─ versionnumberInternal data versioning
│ └─ createdAtnumberUnix timestamp (in milliseconds) of when the album was created
└─ aggregationDataobjectContains aggregated relational data for last items
└─ mediaarrayDetails for media references like lastItemId
├─ idstringThe unique identifier of the media file
├─ typenumberThe media type classification
├─ mimetypestringThe MIME type (e.g., image/jpeg, video/mp4)
├─ filenamestringThe original uploaded filename
├─ widthnumberMedia resolution width
├─ heightnumberMedia resolution height
├─ variantsarrayDownscaled versions of the media (360p, 480p, 720p, etc.)
└─ locationsarrayPre-signed CDN URLs for access (with signatures)
timestampstringThe ISO 8601 timestamp of when the response was generated

On this page