What this endpoint helps with
The response provides available Profile fields in normalized V2 or platform-native V1 format.
When to use it
Use “Posts by username” after the object is known and your product needs its current public context.
Retrieve detailed public Profile data from OnlyFans by a known identifier for object records, validation, and enrichment.
Use “Posts by username” after the object is known and your product needs its current public context.
Review the result and common workflows first, then move to parameters and a working request example.
The response provides available Profile fields in normalized V2 or platform-native V1 format.
Use “Posts by username” after the object is known and your product needs its current public context.
Attach public OnlyFans fields to known product objects.
Verify identifiers and current public context before downstream processing.
Use object details as inputs for reports, scoring, and related requests.
Both versions solve the same job and accept the same parameters. Use the switch to compare the response structure and choose the version your client expects.
Switch versions on this page to compare response structures while keeping the same documentation URL.
Authentication, required parameters, and the request shape stay the same across V1 and V2. In practice, you choose the version when you build the endpoint path and when you parse the response.
The main difference is the response envelope. Use V2 for new integrations and keep V1 only when you need compatibility with an existing client contract.
Use the same API key header and the same query parameters for both versions. This documentation shows the shared parameter set first, then version-specific endpoint paths and code snippets.
| Parameter | Required | Type | Example | Description |
|---|---|---|---|---|
username |
Yes | str |
value |
Public username without the @ symbol. |
cursor |
No | str | None |
QVFB... |
Next-page cursor returned by the previous response. Omit it for the first page. |
Choose a version when you copy the exact endpoint path, example URL, and code snippet. The parameter list above stays the same.
GET /api/v2/onlyfans.com/profile/posts-by-usernamecurl --request GET \
--url "https://www.scrapestorm.net/api/v2/onlyfans.com/profile/posts-by-username" \
--header "X-API-Key: 00000000-0000-4000-8000-000000000000" \
--get --data-urlencode 'username=value' \
# Optional parameters:
# --data-urlencode 'cursor=QVFB...'
from urllib.parse import urljoin
import requests
BASE_URL = "https://www.scrapestorm.net"
ENDPOINT = "/api/v2/onlyfans.com/profile/posts-by-username"
HEADERS = {"Accept": "application/json", "X-API-Key": "00000000-0000-4000-8000-000000000000"}
params = {
"username": "value",
}
# Optional parameters
# params["cursor"] = "QVFB..."
with requests.Session() as session:
response = session.request(
method="GET",
url=urljoin(BASE_URL, ENDPOINT),
headers=HEADERS,
params=params,
timeout=30,
)
response.raise_for_status()
payload = response.json()
print(payload)
const BASE_URL = "https://www.scrapestorm.net";
const endpoint = "/api/v2/onlyfans.com/profile/posts-by-username";
const params = new URLSearchParams({
username: "value",
});
// Optional parameters
// params.set("cursor", "QVFB...");
const response = await fetch(`${BASE_URL}${endpoint}?${params.toString()}`, {
method: "GET",
headers: {
Accept: "application/json",
"X-API-Key": "00000000-0000-4000-8000-000000000000",
},
});
if (!response.ok) {
throw new Error(`Request failed: ${response.status} ${response.statusText}`);
}
const payload = await response.json();
console.log(payload);
import axios from "axios";
const client = axios.create({
baseURL: "https://www.scrapestorm.net",
timeout: 30000,
headers: {
Accept: "application/json",
"X-API-Key": "00000000-0000-4000-8000-000000000000",
},
});
const params = {
username: "value",
};
// Optional parameters
// params.cursor = "QVFB...";
const { data: payload } = await client.request({
method: "GET",
url: endpoint,
params,
});
console.log(payload);
<?php
declare(strict_types=1);
use GuzzleHttp\Client;
use GuzzleHttp\Exception\GuzzleException;
$client = new Client([
'base_uri' => "https://www.scrapestorm.net",
'timeout' => 30.0,
'headers' => [
'Accept' => 'application/json',
'X-API-Key' => "00000000-0000-4000-8000-000000000000",
],
]);
$query = [
"username" => "value",
];
// Optional parameters
// $query["cursor"] = "QVFB...";
try {
$response = $client->request("GET", "/api/v2/onlyfans.com/profile/posts-by-username", [
'query' => $query,
]);
$payload = json_decode(
(string) $response->getBody(),
true,
512,
JSON_THROW_ON_ERROR
);
var_dump($payload);
} catch (GuzzleException $e) {
throw $e;
}
package main
import (
"encoding/json"
"fmt"
"net/http"
"net/url"
"time"
)
func main() {
baseURL := "https://www.scrapestorm.net"
endpoint := "/api/v2/onlyfans.com/profile/posts-by-username"
params := url.Values{}
params.Set("username", "value")
// Optional parameters
// params.Set("cursor", "QVFB...")
req, err := http.NewRequest(
"GET",
fmt.Sprintf("%s%s?%s", baseURL, endpoint, params.Encode()),
nil,
)
if err != nil {
panic(err)
}
req.Header.Set("Accept", "application/json")
req.Header.Set("X-API-Key", "00000000-0000-4000-8000-000000000000")
client := &http.Client{Timeout: 30 * time.Second}
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
var payload any
if err := json.NewDecoder(resp.Body).Decode(&payload); err != nil {
panic(err)
}
fmt.Printf("%+v\n", payload)
}
Choose a version when you copy the exact endpoint path, example URL, and code snippet. The parameter list above stays the same.
GET /api/v1/onlyfans.com/profile/posts-by-usernamecurl --request GET \
--url "https://www.scrapestorm.net/api/v1/onlyfans.com/profile/posts-by-username" \
--header "X-API-Key: 00000000-0000-4000-8000-000000000000" \
--get --data-urlencode 'username=value' \
# Optional parameters:
# --data-urlencode 'cursor=QVFB...'
from urllib.parse import urljoin
import requests
BASE_URL = "https://www.scrapestorm.net"
ENDPOINT = "/api/v1/onlyfans.com/profile/posts-by-username"
HEADERS = {"Accept": "application/json", "X-API-Key": "00000000-0000-4000-8000-000000000000"}
params = {
"username": "value",
}
# Optional parameters
# params["cursor"] = "QVFB..."
with requests.Session() as session:
response = session.request(
method="GET",
url=urljoin(BASE_URL, ENDPOINT),
headers=HEADERS,
params=params,
timeout=30,
)
response.raise_for_status()
payload = response.json()
print(payload)
const BASE_URL = "https://www.scrapestorm.net";
const endpoint = "/api/v1/onlyfans.com/profile/posts-by-username";
const params = new URLSearchParams({
username: "value",
});
// Optional parameters
// params.set("cursor", "QVFB...");
const response = await fetch(`${BASE_URL}${endpoint}?${params.toString()}`, {
method: "GET",
headers: {
Accept: "application/json",
"X-API-Key": "00000000-0000-4000-8000-000000000000",
},
});
if (!response.ok) {
throw new Error(`Request failed: ${response.status} ${response.statusText}`);
}
const payload = await response.json();
console.log(payload);
import axios from "axios";
const client = axios.create({
baseURL: "https://www.scrapestorm.net",
timeout: 30000,
headers: {
Accept: "application/json",
"X-API-Key": "00000000-0000-4000-8000-000000000000",
},
});
const params = {
username: "value",
};
// Optional parameters
// params.cursor = "QVFB...";
const { data: payload } = await client.request({
method: "GET",
url: endpoint,
params,
});
console.log(payload);
<?php
declare(strict_types=1);
use GuzzleHttp\Client;
use GuzzleHttp\Exception\GuzzleException;
$client = new Client([
'base_uri' => "https://www.scrapestorm.net",
'timeout' => 30.0,
'headers' => [
'Accept' => 'application/json',
'X-API-Key' => "00000000-0000-4000-8000-000000000000",
],
]);
$query = [
"username" => "value",
];
// Optional parameters
// $query["cursor"] = "QVFB...";
try {
$response = $client->request("GET", "/api/v1/onlyfans.com/profile/posts-by-username", [
'query' => $query,
]);
$payload = json_decode(
(string) $response->getBody(),
true,
512,
JSON_THROW_ON_ERROR
);
var_dump($payload);
} catch (GuzzleException $e) {
throw $e;
}
package main
import (
"encoding/json"
"fmt"
"net/http"
"net/url"
"time"
)
func main() {
baseURL := "https://www.scrapestorm.net"
endpoint := "/api/v1/onlyfans.com/profile/posts-by-username"
params := url.Values{}
params.Set("username", "value")
// Optional parameters
// params.Set("cursor", "QVFB...")
req, err := http.NewRequest(
"GET",
fmt.Sprintf("%s%s?%s", baseURL, endpoint, params.Encode()),
nil,
)
if err != nil {
panic(err)
}
req.Header.Set("Accept", "application/json")
req.Header.Set("X-API-Key", "00000000-0000-4000-8000-000000000000")
client := &http.Client{Timeout: 30 * time.Second}
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
var payload any
if err := json.NewDecoder(resp.Body).Decode(&payload); err != nil {
panic(err)
}
fmt.Printf("%+v\n", payload)
}
The preview keeps key fields and the first collection items so you can scan the response shape quickly. Switching versions changes the JSON format.
This compact JSON example comes from the latest successful verification run for V2.
{
"success": true,
"status": "ok",
"pagination": {
"cursor": "1783267108.000000",
"has_more": true
},
"search_context": {
"username": "amouranth"
},
"data": {
"posts": {
"count": 10,
"items": [
{
"url": null,
"post_id": "2616003230",
"text": "Be a good boy and don’t look away 🖤",
"text_html": "<p>Be a good boy and don’t look away 🖤</p>",
"hashtags": [],
"emails": [],
"published_at": "2026-07-19T20:54:26+00:00",
"author": {
"user_id": "16263566"
},
"media": {
"images": [
"…"
],
"videos": []
},
"like_count": 16,
"comment_count": null,
"media_count": 1,
"price": null,
"is_pinned": null,
"is_archived": null,
"is_media_ready": true,
"can_view_media": null
},
{
"url": null,
"post_id": "2614066452",
"text": "ngl feeling rly freaky today.. if u dont believe me just dm me rq😇",
"text_html": "<p>ngl feeling rly freaky today.. if u dont believe me just dm me rq😇</p>",
"hashtags": [],
"emails": [],
"published_at": "2026-07-18T23:50:19+00:00",
"author": {
"user_id": "16263566"
},
"media": {
"images": [
"…"
],
"videos": []
},
"like_count": 99,
"comment_count": null,
"media_count": 1,
"price": null,
"is_pinned": null,
"is_archived": null,
"is_media_ready": true,
"can_view_media": null
},
{
"_more_items": 8
}
]
}
}
}
This compact JSON example comes from the latest successful verification run for V1.
{
"success": true,
"status": "ok",
"pagination": {
"cursor": "1783267108.000000",
"has_more": true
},
"search_context": {
"username": "amouranth"
},
"data": {
"list": [
{
"author": {
"id": 16263566,
"_view": "a"
},
"responseType": "post",
"id": 2616003230,
"postedAt": "2026-07-19T20:54:26+00:00",
"postedAtPrecise": "1784494466.000000",
"text": "<p>Be a good boy and don’t look away 🖤</p>",
"isMarkdownDisabled": true,
"favoritesCount": 16,
"mediaCount": 1,
"isMediaReady": true,
"isOpened": true,
"media": [
{
"id": 3393440648,
"type": "photo",
"convertedToVideo": false,
"canView": false,
"hasError": false,
"createdAt": null,
"isReady": true,
"files": {
"full": "…"
},
"duration": 0
}
]
},
{
"author": {
"id": 16263566,
"_view": "a"
},
"responseType": "post",
"id": 2614066452,
"postedAt": "2026-07-18T23:50:19+00:00",
"postedAtPrecise": "1784418619.000000",
"text": "<p>ngl feeling rly freaky today.. if u dont believe me just dm me rq😇</p>",
"isMarkdownDisabled": true,
"favoritesCount": 99,
"mediaCount": 1,
"isMediaReady": true,
"isOpened": true,
"media": [
{
"id": 3091522437,
"type": "photo",
"convertedToVideo": false,
"canView": false,
"hasError": false,
"createdAt": null,
"isReady": true,
"files": {
"full": "…"
},
"duration": 0
}
]
},
{
"_more_items": 8
}
],
"hasMore": true,
"headMarker": "1784494466.000000",
"tailMarker": "1783267108.000000",
"counters": {
"audiosCount": 0,
"photosCount": 1257,
"videosCount": 270,
"mediasCount": 1527,
"postsCount": 1562,
"streamsCount": 1,
"archivedPostsCount": 113
}
}
}
Use this documentation as the first decision point, then move into pricing, platform coverage, and integration rules before you connect the endpoint for recurring use.
Use these answers to decide whether this API method fits your workflow, versioning choice, and rollout plan.
The method performs “Posts by username” for Profile. The compact response example below shows the exact field structure.
Choose V2 for new integrations because it provides a normalized structure. Use V1 only for compatibility with clients that already consume the platform-native format.
Create an API key, send it in the request header, and provide the required parameters from the table. The code samples already contain the correct path and request structure.