Skip to content
Browsabledocs
Staging API reference · Requests use https://api-ingress-worker-staging.browsable-staging.workers.dev
Documentation OnlyFans API
Markdown ↗
OnlyFans APIs

OnlyFans API

Fetch public OnlyFans profile details, subscription pricing and visible counts without connecting an OnlyFans account. Hidden counts are null; restricted profiles may be unavailable.

POST/v1/onlyfans/profile
Authenticate every request

Send Authorization: Bearer YOUR_API_KEY. Get an API key →

Parameters

Send these fields in a flat JSON body. Add _run to choose execution options.

usernamestringRequired

OnlyFans username, @handle, or profile URL. Minimum length: 1. Maximum length: 128.

Advanced & compatibility inputs 1
limitintegerOptional

Accepted for compatibility; a profile lookup returns one profile. It does not paginate posts. Minimum: 1. Maximum: 100.

Response

Every response describes a run. Read result once run_status is succeeded.

run_id
The run to track. Keep it when contacting support.
run_status
Queued, running, waiting for sign-in, succeeded, or failed. Check this even after an HTTP 200.
status_url
Poll this URL while the run is pending. Keep the same run instead of starting another request.
result
The endpoint’s returned data. The example is illustrative; actual fields may be empty or unavailable.
error
On failure, inspect its code, message, retryable and action fields.
View the complete output schema
JSON
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "success",
    "source",
    "query",
    "url",
    "results",
    "count",
    "data",
    "max_results_requested",
    "pagination"
  ],
  "properties": {
    "url": {
      "type": [
        "string",
        "null"
      ]
    },
    "data": {
      "type": "object",
      "required": [
        "id",
        "username",
        "name",
        "title",
        "url",
        "description",
        "avatar_url",
        "image_url",
        "header_url",
        "subscription_price",
        "posts_count",
        "photos_count",
        "videos_count",
        "audios_count",
        "media_count",
        "likes_count",
        "subscribers_count",
        "is_verified",
        "is_performer",
        "website",
        "location",
        "joined_at",
        "fetched_at"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "title": {
          "type": "string"
        },
        "website": {
          "type": [
            "string",
            "null"
          ]
        },
        "location": {
          "type": [
            "string",
            "null"
          ]
        },
        "username": {
          "type": "string"
        },
        "image_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "joined_at": {
          "type": [
            "string",
            "null"
          ]
        },
        "avatar_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "fetched_at": {
          "type": "string"
        },
        "header_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "description": {
          "type": [
            "string",
            "null"
          ],
          "description": "Creator biography; may contain HTML."
        },
        "is_verified": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "likes_count": {
          "type": [
            "number",
            "null"
          ],
          "minimum": 0
        },
        "media_count": {
          "type": [
            "number",
            "null"
          ],
          "minimum": 0
        },
        "posts_count": {
          "type": [
            "number",
            "null"
          ],
          "minimum": 0
        },
        "audios_count": {
          "type": [
            "number",
            "null"
          ],
          "minimum": 0
        },
        "is_performer": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "photos_count": {
          "type": [
            "number",
            "null"
          ],
          "minimum": 0
        },
        "videos_count": {
          "type": [
            "number",
            "null"
          ],
          "minimum": 0
        },
        "subscribers_count": {
          "type": [
            "number",
            "null"
          ],
          "minimum": 0
        },
        "subscription_price": {
          "type": [
            "number",
            "null"
          ],
          "minimum": 0
        }
      },
      "additionalProperties": false
    },
    "count": {
      "type": "integer",
      "minimum": 0
    },
    "query": {
      "type": [
        "string",
        "null"
      ]
    },
    "source": {
      "const": "onlyfans-profile"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "username",
          "name",
          "title",
          "url",
          "description",
          "avatar_url",
          "image_url",
          "header_url",
          "subscription_price",
          "posts_count",
          "photos_count",
          "videos_count",
          "audios_count",
          "media_count",
          "likes_count",
          "subscribers_count",
          "is_verified",
          "is_performer",
          "website",
          "location",
          "joined_at",
          "fetched_at"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": "string"
          },
          "website": {
            "type": [
              "string",
              "null"
            ]
          },
          "location": {
            "type": [
              "string",
              "null"
            ]
          },
          "username": {
            "type": "string"
          },
          "image_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "joined_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "avatar_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "fetched_at": {
            "type": "string"
          },
          "header_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Creator biography; may contain HTML."
          },
          "is_verified": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "likes_count": {
            "type": [
              "number",
              "null"
            ],
            "minimum": 0
          },
          "media_count": {
            "type": [
              "number",
              "null"
            ],
            "minimum": 0
          },
          "posts_count": {
            "type": [
              "number",
              "null"
            ],
            "minimum": 0
          },
          "audios_count": {
            "type": [
              "number",
              "null"
            ],
            "minimum": 0
          },
          "is_performer": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "photos_count": {
            "type": [
              "number",
              "null"
            ],
            "minimum": 0
          },
          "videos_count": {
            "type": [
              "number",
              "null"
            ],
            "minimum": 0
          },
          "subscribers_count": {
            "type": [
              "number",
              "null"
            ],
            "minimum": 0
          },
          "subscription_price": {
            "type": [
              "number",
              "null"
            ],
            "minimum": 0
          }
        },
        "additionalProperties": false
      }
    },
    "success": {
      "const": true
    },
    "pagination": {
      "type": "object",
      "required": [
        "cursor",
        "next_cursor",
        "has_next_page",
        "count",
        "strategy"
      ],
      "properties": {
        "count": {
          "type": "integer",
          "minimum": 0
        },
        "cursor": {
          "type": [
            "string",
            "null"
          ]
        },
        "strategy": {
          "type": "string"
        },
        "next_cursor": {
          "type": [
            "string",
            "null"
          ]
        },
        "has_next_page": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    },
    "max_results_requested": {
      "type": "integer",
      "minimum": 1
    }
  },
  "additionalProperties": false
}
View a polled run response
JSON
{
  "run_id": "00000000-0000-4000-8000-000000000001",
  "task_key": "onlyfans-profile",
  "task_name": "OnlyFans API",
  "run_status": "succeeded",
  "status_url": "/v1/runs/00000000-0000-4000-8000-000000000001",
  "result": {
    "url": "https://example.com/item-1",
    "data": {
      "id": "id-1",
      "url": "https://example.com/item-1",
      "name": "Stylish Shoreditch Loft with Balcony",
      "title": "Stylish Shoreditch Loft with Balcony",
      "website": "sample",
      "location": "London",
      "username": "Stylish Shoreditch Loft with Balcony",
      "image_url": "https://example.com/item-1",
      "joined_at": "sample",
      "avatar_url": "https://images.example.com/avatar_url-1.jpg",
      "fetched_at": "sample",
      "header_url": "https://example.com/item-1",
      "description": "Sample description 1",
      "is_verified": true,
      "likes_count": 1,
      "media_count": 1,
      "posts_count": 1,
      "audios_count": 1,
      "is_performer": true,
      "photos_count": 1,
      "videos_count": 1,
      "subscribers_count": 1,
      "subscription_price": 180
    },
    "count": 1,
    "query": "London",
    "source": "onlyfans-profile",
    "results": [
      {
        "id": "id-1",
        "url": "https://example.com/item-1",
        "name": "Stylish Shoreditch Loft with Balcony",
        "title": "Stylish Shoreditch Loft with Balcony",
        "website": "sample",
        "location": "London",
        "username": "Stylish Shoreditch Loft with Balcony",
        "image_url": "https://example.com/item-1",
        "joined_at": "sample",
        "avatar_url": "https://images.example.com/avatar_url-1.jpg",
        "fetched_at": "sample",
        "header_url": "https://example.com/item-1",
        "description": "Sample description 1",
        "is_verified": true,
        "likes_count": 1,
        "media_count": 1,
        "posts_count": 1,
        "audios_count": 1,
        "is_performer": true,
        "photos_count": 1,
        "videos_count": 1,
        "subscribers_count": 1,
        "subscription_price": 180
      }
    ],
    "success": true,
    "pagination": {
      "count": 1,
      "cursor": "cursor-page-1",
      "strategy": "sample",
      "next_cursor": "cursor-page-1",
      "has_next_page": true
    },
    "max_results_requested": 1
  },
  "error": null
}

Errors & retries

  • 400Fix the fields listed in errors before retrying.
  • 428Connect the requested website account using the returned sign-in link.
  • 429Wait for the duration in Retry-After.
  • 5xxRetry transient failures with backoff. Keep the request ID.

A failed run has its own error inside the response. Retry it only when error.retryable is true.

Validation, pagination and recovery →

More examples

Async request with polling
RUN=$(curl -s -X POST "https://api-ingress-worker-staging.browsable-staging.workers.dev/v1/onlyfans/profile" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"username":"onlyfans"}')

RUN_ID=$(echo "$RUN" | jq -er '.run_id // empty') || { echo "$RUN" >&2; exit 1; }
POLL_DELAY=3

while true; do
  RESULT=$(curl -s -H "Authorization: Bearer YOUR_API_KEY" "https://api-ingress-worker-staging.browsable-staging.workers.dev/v1/runs/$RUN_ID")
  STATUS=$(echo "$RESULT" | jq -r '.run_status')
  if [[ "$STATUS" =~ ^(succeeded|failed|errored|cancelled|canceled|expired)$ ]]; then
    echo "$RESULT"
    break
  fi
  sleep "$(awk "BEGIN { print $POLL_DELAY * (0.9 + ($RANDOM % 21) / 100) }")"
  POLL_DELAY=$((POLL_DELAY < 30 ? POLL_DELAY * 2 : 30))
  [ "$POLL_DELAY" -gt 30 ] && POLL_DELAY=30
done
Wait-for-results request
curl -X POST "https://api-ingress-worker-staging.browsable-staging.workers.dev/v1/onlyfans/profile" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"username":"onlyfans","_run":{"async":false}}'
Canonical & compatibility routes

You can also send the same JSON body to /v1/tasks/onlyfans-profile/runs.