OnlyFans API
Settings

Get Settings

Returns the account settings

GET
/api/{account}/settings
AuthorizationBearer <token>

You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.

In: header

Path Parameters

accountstring

The Account ID

Response Body

curl -X GET "https://app.onlyfansapi.com/api/acct_XXXXXXXXXXXXXXX/settings"
fetch("https://app.onlyfansapi.com/api/acct_XXXXXXXXXXXXXXX/settings")
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {
  url := "https://app.onlyfansapi.com/api/acct_XXXXXXXXXXXXXXX/settings"

  req, _ := http.NewRequest("GET", url, nil)
  
  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  body, _ := ioutil.ReadAll(res.Body)

  fmt.Println(res)
  fmt.Println(string(body))
}
import requests

url = "https://app.onlyfansapi.com/api/acct_XXXXXXXXXXXXXXX/settings"

response = requests.request("GET", url)

print(response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.http.HttpResponse.BodyHandlers;
import java.time.Duration;

HttpClient client = HttpClient.newBuilder()
  .connectTimeout(Duration.ofSeconds(10))
  .build();

HttpRequest.Builder requestBuilder = HttpRequest.newBuilder()
  .uri(URI.create("https://app.onlyfansapi.com/api/acct_XXXXXXXXXXXXXXX/settings"))
  .GET()
  .build();

try {
  HttpResponse<String> response = client.send(requestBuilder.build(), BodyHandlers.ofString());
  System.out.println("Status code: " + response.statusCode());
  System.out.println("Response body: " + response.body());
} catch (Exception e) {
  e.printStackTrace();
}
using System;
using System.Net.Http;
using System.Text;

var client = new HttpClient();
var response = await client.GetAsync("https://app.onlyfansapi.com/api/acct_XXXXXXXXXXXXXXX/settings");
var responseBody = await response.Content.ReadAsStringAsync();
{
  "data": {
    "isDeleteInitiated": false,
    "lastSubscriptionExpiredAt": null,
    "streamingObsKey": "abc123",
    "streamingObsServer": "rtmp://route0-dc2.onlyfans.com/live",
    "streamingMuxKey": null,
    "streamingMuxServer": "rtmps://global-live.mux.com:443/app",
    "streamingMuxKeyExpiredAt": null,
    "activityHubAllowed": false,
    "activityHubTokens": [],
    "confirmEmailSentAt": "2025-01-01T00:00:00+00:00",
    "hideAfterMassMessages": true,
    "changelogUpdates": 3,
    "showFullTextInEmailNotify": false,
    "isPrivate": true,
    "blockedCountries": [],
    "blockedStates": [],
    "blockedIps": [],
    "showPostsTips": true,
    "recommenderReward": null,
    "showFriendsToSubscribers": true,
    "showSubscribesOffers": true,
    "disableSubscribesOffers": true,
    "isEmailNotificationsEnabled": false,
    "canAcceptMessageOnlyFromFriends": false,
    "isAutoFollowBack": true,
    "unfollowAutoFollowBack": false,
    "changeEmailStep": null,
    "newEmail": null,
    "lifeTimeEmailCode": null,
    "coStreamingRequestFrom": "subscribers",
    "hasPaidPosts": false,
    "isCoStreamingAllowed": true,
    "isMonthlyNewsletters": false,
    "strongOtp": false,
    "phoneOtp": false,
    "appOtp": false,
    "isOtpAppConnected": false,
    "isOldLoginRedirect": true,
    "faceOtp": false,
    "canSocialsConnect": true,
    "socialsConnects": [],
    "importantSubscriptionNotifications": true,
    "isOpenseaConnected": false,
    "forceFaceOtp": false,
    "hasPassword": true,
    "canAddSubscriberByBundle": {
      "discounts": {
        "0": "0% discount",
        "5": "5% discount",
        "10": "10% discount",
        "15": "15% discount",
        "20": "20% discount",
        "25": "25% discount",
        "30": "30% discount",
        "35": "35% discount",
        "40": "40% discount",
        "45": "45% discount",
        "50": "50% discount"
      },
      "durations": {
        "3": "3 months",
        "6": "6 months",
        "12": "12 months"
      }
    },
    "bundleMaxPrice": 250,
    "canMakeProfileLinks": true,
    "isSuggestionsOptOut": false,
    "isTelegramConnected": false,
    "replyOnSubscribe": false,
    "shouldReceiveLessNotifications": false,
    "avatarHeaderConverterUpload": true,
    "streamingRtmpKey": "abc123",
    "streamingRtmpServer": "rtmp://cloudbeta.streaming.onlyfans.com/live",
    "canAddPhone": true,
    "phoneLast4": null,
    "sendAwardsTop1": true,
    "sendAwardsTop5": true,
    "notifyOnAllMentions": false,
    "commentsOnlyForPayers": false,
    "isDrmEnabled": false,
    "creatorsCommentsOnlyForFriends": false,
    "muteTagsInChats": true,
    "muteTagsInPosts": false,
    "muteTagsInStories": true,
    "muteTagsInStreams": false
  },
  "_meta": {
    "_credits": {
      "used": 1,
      "balance": 999999983,
      "note": "Always"
    },
    "_cache": {
      "is_cached": false,
      "note": "Cache disabled for this endpoint"
    },
    "_rate_limits": {
      "limit_minute": 10000000,
      "limit_day": 50000,
      "remaining_minute": 9999999,
      "remaining_day": 49986
    }
  }
}