このエンドポイントが役立つこと
レスポンスは、利用可能な プロフィール のフィールドを、正規化された V2 形式またはプラットフォーム固有の V1 形式で提供します。
使用に適した場面
オブジェクトが既にわかっていて、製品でその現在の公開コンテキストが必要な場合に「ユーザー名によるメディア投稿」を使用します。
まず結果と一般的なワークフローを確認し、次にパラメーターと動作するリクエスト例に進んでください。
レスポンスは、利用可能な プロフィール のフィールドを、正規化された V2 形式またはプラットフォーム固有の V1 形式で提供します。
オブジェクトが既にわかっていて、製品でその現在の公開コンテキストが必要な場合に「ユーザー名によるメディア投稿」を使用します。
製品の既知のオブジェクトを OnlyFans の公開フィールドで補完します。
後続の処理の前に、識別子と現在の公開コンテキストを確認します。
オブジェクトの詳細をレポート、評価、関連リクエストの入力として使用します。
どちらのバージョンも同じタスクを解決し、同じパラメーターを受け付けます。切り替えを使ってレスポンス構造を比較し、クライアントが想定するバージョンを選んでください。
このページでバージョンを切り替えると、同じドキュメント URL でレスポンス構造を比較できます。
認証、必須パラメーター、リクエストの形は V1 と V2 で同じです。実際には、エンドポイントのパスを組み立てるときとレスポンスを読み取るときにバージョンを選びます。
主な違いはレスポンスのエンベロープです。新しい連携では V2 を使用し、既存のクライアント契約との互換性が必要な場合にのみ V1 を残してください。
どちらのバージョンでも、同じ API キーのヘッダーと同じクエリパラメーターを使用します。このドキュメントでは、まず共通のパラメーターを示し、次に各バージョンのパスとコードスニペットを示します。
| パラメーター | 必須 | 型 | 例 | 説明 |
|---|---|---|---|---|
username |
はい | str |
amouranth |
@ を付けない公開ユーザー名。 |
cursor |
いいえ | str | None |
1775765398.000000 |
前のレスポンスで返された次のページのカーソル。最初のページでは省略します。 |
エンドポイントの正確なパス、URL の例、コードスニペットをコピーするときにバージョンを選んでください。上のパラメーター一覧は変わりません。
GET /api/v2/onlyfans.com/profile/media-posts-by-usernamecurl --request GET \
--url "https://www.scrapestorm.net/api/v2/onlyfans.com/profile/media-posts-by-username" \
--header "X-API-Key: 00000000-0000-4000-8000-000000000000" \
--get --data-urlencode 'username=amouranth' \
# Optional parameters:
# --data-urlencode 'cursor=1775765398.000000'
from urllib.parse import urljoin
import requests
BASE_URL = "https://www.scrapestorm.net"
ENDPOINT = "/api/v2/onlyfans.com/profile/media-posts-by-username"
HEADERS = {"Accept": "application/json", "X-API-Key": "00000000-0000-4000-8000-000000000000"}
params = {
"username": "amouranth",
}
# Optional parameters
# params["cursor"] = "1775765398.000000"
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/media-posts-by-username";
const params = new URLSearchParams({
username: "amouranth",
});
// Optional parameters
// params.set("cursor", "1775765398.000000");
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: "amouranth",
};
// Optional parameters
// params.cursor = "1775765398.000000";
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" => "amouranth",
];
// Optional parameters
// $query["cursor"] = "1775765398.000000";
try {
$response = $client->request("GET", "/api/v2/onlyfans.com/profile/media-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/media-posts-by-username"
params := url.Values{}
params.Set("username", "amouranth")
// Optional parameters
// params.Set("cursor", "1775765398.000000")
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)
}
エンドポイントの正確なパス、URL の例、コードスニペットをコピーするときにバージョンを選んでください。上のパラメーター一覧は変わりません。
GET /api/v1/onlyfans.com/profile/media-posts-by-usernamecurl --request GET \
--url "https://www.scrapestorm.net/api/v1/onlyfans.com/profile/media-posts-by-username" \
--header "X-API-Key: 00000000-0000-4000-8000-000000000000" \
--get --data-urlencode 'username=amouranth' \
# Optional parameters:
# --data-urlencode 'cursor=1775765398.000000'
from urllib.parse import urljoin
import requests
BASE_URL = "https://www.scrapestorm.net"
ENDPOINT = "/api/v1/onlyfans.com/profile/media-posts-by-username"
HEADERS = {"Accept": "application/json", "X-API-Key": "00000000-0000-4000-8000-000000000000"}
params = {
"username": "amouranth",
}
# Optional parameters
# params["cursor"] = "1775765398.000000"
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/media-posts-by-username";
const params = new URLSearchParams({
username: "amouranth",
});
// Optional parameters
// params.set("cursor", "1775765398.000000");
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: "amouranth",
};
// Optional parameters
// params.cursor = "1775765398.000000";
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" => "amouranth",
];
// Optional parameters
// $query["cursor"] = "1775765398.000000";
try {
$response = $client->request("GET", "/api/v1/onlyfans.com/profile/media-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/media-posts-by-username"
params := url.Values{}
params.Set("username", "amouranth")
// Optional parameters
// params.Set("cursor", "1775765398.000000")
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)
}
プレビューには主要なフィールドとコレクションの最初の要素が含まれているため、レスポンスの形をすばやく確認できます。バージョンを切り替えると JSON の形式が変わります。
このコンパクトな JSON の例は、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
}
]
}
}
}
このコンパクトな JSON の例は、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
}
}
}
このドキュメントを最初の判断材料とし、継続的な利用のためにエンドポイントを接続する前に、料金、プラットフォームのカバー範囲、連携ルールを確認してください。
これらの回答を参考に、この API メソッドがワークフロー、バージョンの選択、導入計画に合うかどうかを判断してください。
このメソッドは プロフィール に対して「ユーザー名によるメディア投稿」を実行します。以下のコンパクトなレスポンス例で、フィールドの正確な構造を確認できます。
新しい連携では、正規化された構造を提供する V2 を選んでください。V1 は、既にプラットフォーム固有の形式を処理しているクライアントとの互換性のためにのみ使用してください。
API キーを作成し、リクエストヘッダーで送信し、表の必須パラメーターを指定してください。コード例には、正しいパスとリクエスト構造が既に含まれています。