Skip to main content
GET
/
transactions
Transactions
curl --request GET \
  --url https://studio-api.onlytraffic.com/api/external/v1/transactions \
  --header 'X-API-Key: <api-key>'
{
  "success": true,
  "data": [
    {
      "of_transaction_id": "abc123def456abc789def012abc345de",
      "of_user_id": 789,
      "of_user_name": "John",
      "of_account_id": 123456,
      "campaign": {
        "public_id": "cplo_xxxxxxx",
        "type": "cpl"
      },
      "amount": 9.99,
      "type": "subscription",
      "description": "Recurring subscription from John",
      "status": "processed",
      "is_refunded": false,
      "refunded_at": "2023-11-07T05:31:56Z",
      "refunded_at_ts": 123,
      "date": "2026-01-15T12:00:00+00:00",
      "date_ts": 1736942400
    }
  ],
  "pagination": {
    "next_cursor": "eyJ0cyI6MTc0NjQ1MzI5NiwiaWQiOjk4NzY1fQ==",
    "has_next": true,
    "limit": 50
  }
}

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

after
string

Cursor from a previous response's pagination.next_cursor. Omit for the first page.

limit
integer
default:50

Page size. Default 50, max 100.

Required range: 1 <= x <= 100
sort
enum<string>
default:date_desc

Sort order. The cursor is bound to the direction it was issued for; switching mid-pagination restarts pagination.

Available options:
date_desc,
date_asc
of_account_id
integer

Filter by OnlyFans account id.

campaign_id
string

Filter by campaign public id (CPL / CPC / revshare / swap).

campaign_type
enum<string>

Filter by campaign kind.

Available options:
all,
cpl,
cpc,
revshare,
gg_swap
status
enum<string>

Filter by transaction status. processed excludes refunds; refunded returns only reversed transactions.

Available options:
processed,
refunded
from
string<date>

Lower bound on the resource date (YYYY-MM-DD, UTC, inclusive).

to
string<date>

Upper bound on the resource date (YYYY-MM-DD, UTC, inclusive).

Response

Successful response

success
boolean
Example:

true

data
object[]
pagination
object

Cursor-based pagination (used by high-volume feeds: subscribers, transactions).