Skip to main content
POST
/
swaps
/
offers
Create a swap offer.
curl --request POST \
  --url https://studio-api.onlytraffic.com/api/external/v1/swaps/offers \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "of_account_id": 123,
  "description": "<string>",
  "campaigns_count": 500,
  "min_quantity": 550,
  "max_days": 255,
  "tags": [],
  "max_quantity": 550,
  "price": 5,
  "performer_top_required": 50,
  "stats_public_arpu": true
}
'
{
  "success": true,
  "data": {
    "offer_id": 123
  }
}

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

Body

application/json
of_account_id
integer
required

Numeric id of one of your linked OF accounts.

description
string
required
Required string length: 20 - 5000
campaign_type
enum<string>
required
Available options:
free,
paid
content_type
enum<string>
required

no_nude is normalised to light server-side.

Available options:
nude,
light,
no_nude
trial_days
enum<integer>
required
Available options:
1,
3,
7,
14,
30,
90,
180,
360
campaigns_count
integer
required
Required range: 1 <= x <= 1000
min_quantity
integer
required
Required range: 100 <= x <= 1000
max_days
integer
required
Required range: 10 <= x <= 500
tags
enum<string>[]
Available options:
gay,
trans,
asian,
babyface,
plus_size,
latina,
fox,
ebony,
milf,
teen,
fitness,
blonde,
redhead,
brunette,
bdsm,
mature,
petite,
curvy,
tattoo,
cosplay,
lesbian
max_quantity
integer

Maximum order size. Must be ≥ min_quantity (validated cross-field).

Required range: 100 <= x <= 1000
price
number<float>

Per-fan guaranteed-price floor in USD (capped at $10). Defaults to 0 (no guarantee). The platform charges no commission on top of this price.

Required range: 0 <= x <= 10
performer_top_required
integer

Lower is better. 0 / omitted = no restriction.

Required range: 0 <= x <= 100
stats_public_arpu
boolean

Opt-in to expose ARPU and income on accepted orders.

Response

Created.

success
boolean
data
object