Skip to main content
GET
/
swaps
/
my-offers
Your swap offers.
curl --request GET \
  --url https://studio-api.onlytraffic.com/api/external/v1/swaps/my-offers \
  --header 'X-API-Key: <api-key>'
{
  "success": true,
  "data": [
    {
      "offer_id": 123,
      "model": {
        "of_account_id": 123,
        "username": "<string>",
        "performer_top": 123,
        "subscribe_price": 123,
        "subscribers_count": 123,
        "subscribes_count": 123,
        "favorited_count": 123,
        "posts_count": 123,
        "session_status": "<string>"
      },
      "description": "<string>",
      "tags": [
        "<string>"
      ],
      "is_trial": true,
      "is_free": true,
      "min_quantity": 123,
      "max_quantity": 123,
      "max_days": 123,
      "trial_days": 123,
      "price": 123,
      "performer_top_required": 123,
      "stats_public_arpu": true,
      "orders": {
        "total": 123,
        "current": 123,
        "rejected": 123,
        "completed": 123
      },
      "campaigns_count": 123,
      "campaigns_current": 123,
      "is_available": true,
      "created_at": "2023-11-07T05:31:56Z",
      "created_at_ts": 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,
disabled
sort
enum<string>
default:created_at_desc
Available options:
created_at_desc,
created_at_asc

Response

Paged list of your swap offers.

success
boolean
data
object[]
pagination
object

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