Skip to main content
GET
/
api
/
{account}
/
posts
/
{post_id}
Get Post
curl --request GET \
  --url https://app.onlyfansapi.com/api/{account}/posts/{post_id} \
  --header 'Authorization: Bearer <token>'
{
  "error": "Unauthorized. Go to https://app.onlyfansapi.com/api-keys to get your API key."
}

Authorizations

Authorization
string
header
required

You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.

Path Parameters

account
string
required

The Account ID

post_id
integer
required

The ID of the post

Response

401 - application/json
error
string
Example:

"Unauthorized. Go to https://app.onlyfansapi.com/api-keys to get your API key."