We just released our native n8n integration!ยป Try now
OnlyFans API

Get Data Export Status

Get the current status and progress of a data export

GET
/api/data-exports/{data_export_id}
AuthorizationBearer <token>

Get your API Key from OnlyFansAPI Console - https://app.onlyfansapi.com/api-keys

In: header

Path Parameters

data_export_id*string

The prefixed ID of the data export

Query Parameters

download_url_expires_in?integer

Number of minutes until the download URL expires. Min 1, max 60, default 5.

Response Body

application/json

curl -X GET "https://app.onlyfansapi.com/api/data-exports/dex_abc123?download_url_expires_in=15"
{
  "data": {
    "id": "data_export_abc123xyz789",
    "type": "transactions",
    "status": "in_progress",
    "start_date": "2024-01-01T00:00:00+00:00",
    "end_date": "2024-12-31T23:59:59+00:00",
    "file_type": "csv",
    "total_rows": 5000,
    "rows_processed": 2500,
    "progress_percentage": 50,
    "credit_cost": 500,
    "export_columns": [
      "transaction_id",
      "type",
      "amount",
      "net_amount",
      "currency",
      "created_at"
    ],
    "accounts": [
      {
        "id": "acct_xyz789abc123",
        "display_name": "Main Account"
      }
    ],
    "created_at": "2024-12-02T12:00:00+00:00",
    "completed_at": null,
    "failed_at": null,
    "failed_reason": null
  },
  "_meta": {
    "_credits": {
      "used": 0,
      "balance": 9500,
      "note": "Always"
    },
    "_cache": {
      "is_cached": false,
      "note": "Cache disabled for this endpoint"
    },
    "_rate_limits": {
      "limit_minute": 60,
      "limit_day": null,
      "remaining_minute": 56,
      "remaining_day": null,
      "notice": ""
    }
  }
}