Skip to main content
GET
/
accounts
List
curl --request GET \
  --url https://studio-api.onlytraffic.com/api/external/v1/accounts \
  --header 'X-API-Key: <api-key>'
{
  "success": true,
  "data": [
    {
      "of_account_id": 84842117,
      "username": "ariel_x",
      "name": "<string>",
      "agency_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "added_at": "2023-11-07T05:31:56Z",
      "added_at_ts": 123,
      "updated_at": "2023-11-07T05:31:56Z",
      "updated_at_ts": 123,
      "orders": {
        "cpl": {
          "active": 123,
          "total": 123
        },
        "cpc": {
          "active": 123,
          "total": 123
        },
        "revshare": {
          "active": 123,
          "total": 123
        },
        "swaps": {
          "active": 123,
          "total": 123
        }
      }
    }
  ],
  "pagination": {
    "page": 1,
    "page_size": 50,
    "total": 150,
    "total_pages": 3,
    "has_next": true
  }
}

Documentation Index

Fetch the complete documentation index at: https://onlytraffic.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Your API key from the Studio Dashboard

Query Parameters

page
integer
default:1

Page number, 1-indexed.

Required range: x >= 1
page_size
integer
default:50

Items per page. Default 50, max 100.

Required range: 1 <= x <= 100
status
enum<string>
Available options:
active,
archived,
disabled
session_status
enum<string>
Available options:
active,
error,
not_available
agency_id
string<uuid>

Filter accounts attached to this agency.

username
string

Exact OnlyFans username. Use to look up a single account when you don't have its of_account_id.

Maximum string length: 30
Pattern: ^[a-zA-Z0-9_.-]+$
sort
enum<string>
default:added_at_desc

Sort order.

  • added_at_desc: most recently attached first (default).
  • added_at_asc: first attached first.
  • username_asc: by OnlyFans username A→Z.
  • username_desc: by OnlyFans username Z→A.
Available options:
added_at_desc,
added_at_asc,
username_asc,
username_desc

Response

Successful response

success
boolean
Example:

true

data
object[]
pagination
object

Page-based pagination, returned by every list endpoint that isn't a cursor feed.