What this endpoint helps with
The response provides available Posts fields in normalized V2 or platform-native V1 format.
When to use it
Use “Details by post ID” after the object is known and your product needs its current public context.
Retrieve detailed public Posts data from YouTube by a known identifier for object records, validation, and enrichment.
Use “Details by post ID” 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 Posts fields in normalized V2 or platform-native V1 format.
Use “Details by post ID” after the object is known and your product needs its current public context.
Attach public YouTube 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 |
|---|---|---|---|---|
post_id |
No | str |
Ugkxa3BN5SFLT-KGgPZYyJlmsaR_vGGhu9ok |
Post ID on the selected platform. |
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/youtube.com/posts/details-by-post-idcurl --request GET \
--url "https://www.scrapestorm.net/api/v2/youtube.com/posts/details-by-post-id" \
--header "X-API-Key: 00000000-0000-4000-8000-000000000000" \
# Optional parameters:
# --data-urlencode 'post_id=Ugkxa3BN5SFLT-KGgPZYyJlmsaR_vGGhu9ok'
from urllib.parse import urljoin
import requests
BASE_URL = "https://www.scrapestorm.net"
ENDPOINT = "/api/v2/youtube.com/posts/details-by-post-id"
HEADERS = {"Accept": "application/json", "X-API-Key": "00000000-0000-4000-8000-000000000000"}
params = {
}
# Optional parameters
# params["post_id"] = "Ugkxa3BN5SFLT-KGgPZYyJlmsaR_vGGhu9ok"
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/youtube.com/posts/details-by-post-id";
const params = new URLSearchParams({
});
// Optional parameters
// params.set("post_id", "Ugkxa3BN5SFLT-KGgPZYyJlmsaR_vGGhu9ok");
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 = {
};
// Optional parameters
// params.post_id = "Ugkxa3BN5SFLT-KGgPZYyJlmsaR_vGGhu9ok";
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 = [
];
// Optional parameters
// $query["post_id"] = "Ugkxa3BN5SFLT-KGgPZYyJlmsaR_vGGhu9ok";
try {
$response = $client->request("GET", "/api/v2/youtube.com/posts/details-by-post-id", [
'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/youtube.com/posts/details-by-post-id"
params := url.Values{}
// Optional parameters
// params.Set("post_id", "Ugkxa3BN5SFLT-KGgPZYyJlmsaR_vGGhu9ok")
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/youtube.com/posts/details-by-post-idcurl --request GET \
--url "https://www.scrapestorm.net/api/v1/youtube.com/posts/details-by-post-id" \
--header "X-API-Key: 00000000-0000-4000-8000-000000000000" \
--get --data-urlencode 'post_id=value'
from urllib.parse import urljoin
import requests
BASE_URL = "https://www.scrapestorm.net"
ENDPOINT = "/api/v1/youtube.com/posts/details-by-post-id"
HEADERS = {"Accept": "application/json", "X-API-Key": "00000000-0000-4000-8000-000000000000"}
params = {
"post_id": "value",
}
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/youtube.com/posts/details-by-post-id";
const params = new URLSearchParams({
post_id: "value",
});
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 = {
post_id: "value",
};
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 = [
"post_id" => "value",
];
try {
$response = $client->request("GET", "/api/v1/youtube.com/posts/details-by-post-id", [
'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/youtube.com/posts/details-by-post-id"
params := url.Values{}
params.Set("post_id", "value")
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",
"search_context": {
"post_id": "Ugkxa3BN5SFLT-KGgPZYyJlmsaR_vGGhu9ok"
},
"data": {
"post": {
"author": {
"url": "https://www.youtube.com/@mkbhd",
"channel_id": "UCBJycsmduvYEL83R_U4JriQ",
"username": "mkbhd",
"display_name": "Marques Brownlee",
"avatar_url": "https://example.com/image.jpg",
"avatar_urls": "https://example.com/image.jpg"
},
"url": "https://www.youtube.com/post/Ugkxa3BN5SFLT-KGgPZYyJlmsaR_vGGhu9ok",
"post_id": "Ugkxa3BN5SFLT-KGgPZYyJlmsaR_vGGhu9ok",
"text": "Introducing a new colorway and updated design: 251.1. Now in matte black. (Plus a new water repellent ripstop mesh and a little touch of silver reflective detail for the winter)…",
"hashtags": [],
"emails": [],
"published_time": "2 years ago",
"published_at": "2023-11-09T09:12:59.511894-08:00",
"is_edited": false,
"vote_count": 31000,
"comment_count": null,
"links": [
{
"url": "https://atoms.com/products/mkbhd251-1",
"link_type": "website",
"label": "https://atoms.com/products/mkbhd251-1",
"channel_id": null,
"video_id": null
}
],
"attachment_type": "multi_image",
"attached_video": null,
"image_count": 4,
"images": [
{
"image_url": "https://example.com/image.jpg",
"thumbnails": [
{
"url": "https://yt3.ggpht.com/DRQFUxLpjmjn-SYaIqWGtXLcx-pD78rqnmhk-yhQEaOSMbQObQMQqkTao0PBQk624sCrRVXZN_29=s288-c-fcrop64=1,000024ddfffff1a9-rw-nd-v1",
"width": 288,
"height": 288
},
{
"url": "https://yt3.ggpht.com/DRQFUxLpjmjn-SYaIqWGtXLcx-pD78rqnmhk-yhQEaOSMbQObQMQqkTao0PBQk624sCrRVXZN_29=s400-c-fcrop64=1,000024ddfffff1a9-rw-nd-v1",
"width": 400,
"height": 400
},
{
"_more_items": 7
}
]
},
{
"image_url": "https://example.com/image.jpg",
"thumbnails": [
{
"url": "https://yt3.ggpht.com/TojFATEOvYO3-sFbqEAv7Q4aijzby4KMxTWomslL5KLrEud-TBqJkvIEvEbdH50saRwEBaUnziF1Fg=s288-c-fcrop64=1,0000199affffe666-rw-nd-v1",
"width": 288,
"height": 288
},
{
"url": "https://yt3.ggpht.com/TojFATEOvYO3-sFbqEAv7Q4aijzby4KMxTWomslL5KLrEud-TBqJkvIEvEbdH50saRwEBaUnziF1Fg=s400-c-fcrop64=1,0000199affffe666-rw-nd-v1",
"width": 400,
"height": 400
},
{
"_more_items": 7
}
]
},
{
"_more_items": 2
}
]
}
}
}
This compact JSON example comes from the latest successful verification run for V1.
{
"success": true,
"status": "ok",
"search_context": {
"post_id": "Ugkxa3BN5SFLT-KGgPZYyJlmsaR_vGGhu9ok"
},
"data": {
"responseContext": {
"serviceTrackingParams": [
{
"service": "GFEEDBACK",
"params": [
{
"key": "browse_id",
"value": "FEpost_detail"
},
{
"key": "browse_id_prefix",
"value": ""
},
{
"_more_items": 2
}
]
},
{
"service": "GOOGLE_HELP",
"params": [
{
"key": "browse_id",
"value": "FEpost_detail"
},
{
"key": "browse_id_prefix",
"value": ""
}
]
},
{
"_more_items": 3
}
],
"maxAgeSeconds": 0,
"mainAppWebResponseContext": {
"loggedOut": true,
"trackingParam": "k5_fmPxhoXZRWwgkNg3o9CEE4Dq_c7sw3d7WwiKjsA6P62GedUno1JQXBwRMkusEmIBwOcCw59TLtslLKPQGSS"
},
"responseId": "IhMIqvX8jdXflQMVOAzLBB0a5iE7",
"webResponseContextExtensionData": {
"webResponseContextPreloadData": {
"preloadMessageNames": [
"channelMetadataRenderer",
"twoColumnBrowseResultsRenderer",
{
"_more_items": 29
}
]
},
"ytConfigData": {
"visitorData": "Cgt4N0JiRG5EMEVXRSjy_fTSBjIKCgJVUxIEGgAgDWLfAgrcAjIwLllUPUNfMWpRMHJlQk1McFpvcW96LW54NS03VzZrZUhaazNJU0pJVjh4bHM1NVdlakdMbjktUm5CeDVTaTAxVHhYc0ZGVkZ1a184cU9qNkVhazdpR2NoaXptT1gxY…",
"rootVisualElementType": 247244
},
"hasDecorated": true
}
},
"contents": {
"twoColumnBrowseResultsRenderer": {
"tabs": [
{
"tabRenderer": {
"title": "Posts",
"selected": true,
"content": "…",
"trackingParams": "CBIQ8JMBGAUiEwiq9fyN1d-VAxU4DMsEHRrmITs="
}
}
]
}
},
"metadata": {
"channelMetadataRenderer": {
"title": "Marques Brownlee",
"externalId": "UCBJycsmduvYEL83R_U4JriQ"
}
},
"trackingParams": "CAAQhGciEwiq9fyN1d-VAxU4DMsEHRrmITvKAQRetfVv",
"topbar": {
"desktopTopbarRenderer": {
"logo": {
"topbarLogoRenderer": {
"iconImage": {
"iconType": "YOUTUBE_LOGO"
},
"tooltipText": {
"runs": "…"
},
"endpoint": {
"clickTrackingParams": "CBEQsV4iEwiq9fyN1d-VAxU4DMsEHRrmITvKAQRetfVv",
"commandMetadata": "…",
"browseEndpoint": "…"
},
"trackingParams": "CBEQsV4iEwiq9fyN1d-VAxU4DMsEHRrmITs=",
"overrideEntityKey": "EgZ0b3BiYXIg9QEoAQ%3D%3D"
}
},
"searchbox": {
"fusionSearchboxRenderer": {
"icon": {
"iconType": "SEARCH"
},
"placeholderText": {
"runs": "…"
},
"config": {
"webSearchboxConfig": "…"
},
"trackingParams": "CA0Q7VAiEwiq9fyN1d-VAxU4DMsEHRrmITs=",
"searchEndpoint": {
"clickTrackingParams": "CA0Q7VAiEwiq9fyN1d-VAxU4DMsEHRrmITvKAQRetfVv",
"commandMetadata": "…",
"searchEndpoint": "…"
},
"clearButton": {
"buttonRenderer": "…"
},
"showImageSourceDialog": {
"clickTrackingParams": "CA0Q7VAiEwiq9fyN1d-VAxU4DMsEHRrmITvKAQRetfVv",
"showDialogCommand": "…"
},
"disableAiAppearance": true
}
},
"trackingParams": "CAEQq6wBIhMIqvX8jdXflQMVOAzLBB0a5iE7",
"topbarButtons": [
{
"topbarMenuButtonRenderer": {
"icon": "…",
"menuRequest": "…",
"trackingParams": "CAsQ_qsBGAAiEwiq9fyN1d-VAxU4DMsEHRrmITs=",
"accessibility": "…",
"tooltip": "Settings",
"style": "STYLE_DEFAULT"
}
},
{
"buttonRenderer": {
"style": "STYLE_SUGGESTIVE",
"size": "SIZE_SMALL",
"text": "…",
"icon": "…",
"navigationEndpoint": "…",
"trackingParams": "CAoQ1IAEGAEiEwiq9fyN1d-VAxU4DMsEHRrmITs=",
"targetId": "topbar-signin"
}
}
],
"hotkeyDialog": {
"hotkeyDialogRenderer": {
"title": {
"runs": "…"
},
"sections": [
"…",
"…",
{
"_more_items": 2
}
],
"dismissButton": {
"buttonRenderer": "…"
},
"trackingParams": "CAgQteYDIhMIqvX8jdXflQMVOAzLBB0a5iE7"
}
},
"backButton": {
"buttonRenderer": {
"trackingParams": "CAcQvIYDIhMIqvX8jdXflQMVOAzLBB0a5iE7",
"command": {
"clickTrackingParams": "CAcQvIYDIhMIqvX8jdXflQMVOAzLBB0a5iE7ygEEXrX1bw==",
"commandMetadata": "…",
"signalServiceEndpoint": "…"
}
}
},
"forwardButton": {
"buttonRenderer": {
"trackingParams": "CAYQvYYDIhMIqvX8jdXflQMVOAzLBB0a5iE7",
"command": {
"clickTrackingParams": "CAYQvYYDIhMIqvX8jdXflQMVOAzLBB0a5iE7ygEEXrX1bw==",
"commandMetadata": "…",
"signalServiceEndpoint": "…"
}
}
},
"a11ySkipNavigationButton": {
"buttonRenderer": {
"style": "STYLE_DEFAULT",
"size": "SIZE_DEFAULT",
"isDisabled": false,
"text": {
"runs": "…"
},
"trackingParams": "CAUQ8FsiEwiq9fyN1d-VAxU4DMsEHRrmITs=",
"command": {
"clickTrackingParams": "CAUQ8FsiEwiq9fyN1d-VAxU4DMsEHRrmITvKAQRetfVv",
"commandMetadata": "…",
"signalServiceEndpoint": "…"
}
}
},
"voiceSearchButton": {
"buttonRenderer": {
"style": "STYLE_DEFAULT",
"size": "SIZE_DEFAULT",
"isDisabled": false,
"serviceEndpoint": {
"clickTrackingParams": "CAIQ7a8FIhMIqvX8jdXflQMVOAzLBB0a5iE7ygEEXrX1bw==",
"commandMetadata": "…",
"signalServiceEndpoint": "…"
},
"icon": {
"iconType": "MICROPHONE_ON"
},
"tooltip": "Search with your voice",
"trackingParams": "CAIQ7a8FIhMIqvX8jdXflQMVOAzLBB0a5iE7",
"accessibilityData": {
"accessibilityData": "…"
}
}
}
}
},
"microformat": {
"microformatDataRenderer": {
"urlCanonical": "https://www.youtube.com/post/Ugkxa3BN5SFLT-KGgPZYyJlmsaR_vGGhu9ok",
"title": "Post from Marques Brownlee",
"description": "Introducing a new colorway and updated design: 251.1. Now in matte black. (Plus a new water repellent ripstop mesh and a little touch of silver reflective de...",
"thumbnail": {
"thumbnails": [
{
"url": "https://yt3.ggpht.com/DRQFUxLpjmjn-SYaIqWGtXLcx-pD78rqnmhk-yhQEaOSMbQObQMQqkTao0PBQk624sCrRVXZN_29=s2048-c-fcrop64=1,000024ddfffff1a9-rw-nd-v1?days_since_epoch=20653",
"width": 2048,
"height": 2048
}
]
},
"siteName": "YouTube",
"appName": "YouTube",
"androidPackage": "com.google.android.youtube",
"iosAppStoreId": "544007664",
"iosAppArguments": "https://www.youtube.com/post/Ugkxa3BN5SFLT-KGgPZYyJlmsaR_vGGhu9ok",
"ogType": "yt-fb-app:channel",
"urlApplinksWeb": "https://www.youtube.com/post/Ugkxa3BN5SFLT-KGgPZYyJlmsaR_vGGhu9ok?feature=applinks",
"urlApplinksIos": "vnd.youtube://www.youtube.com/post/Ugkxa3BN5SFLT-KGgPZYyJlmsaR_vGGhu9ok?feature=applinks",
"urlApplinksAndroid": "vnd.youtube://www.youtube.com/post/Ugkxa3BN5SFLT-KGgPZYyJlmsaR_vGGhu9ok?feature=applinks",
"urlTwitterIos": "vnd.youtube://www.youtube.com/post/Ugkxa3BN5SFLT-KGgPZYyJlmsaR_vGGhu9ok?feature=twitter-deep-link",
"urlTwitterAndroid": "vnd.youtube://www.youtube.com/post/Ugkxa3BN5SFLT-KGgPZYyJlmsaR_vGGhu9ok?feature=twitter-deep-link",
"twitterCardType": "summary",
"twitterSiteHandle": "@YouTube",
"schemaDotOrgType": "http://schema.org/http://schema.org/YoutubeChannelV2",
"noindex": false,
"unlisted": false,
"familySafe": true,
"tags": [
"MKBHD",
"MarquesBrownlee",
{
"_more_items": 2
}
],
"availableCountries": [
"TZ",
"KI",
{
"_more_items": 247
}
],
"pageOwnerDetails": {
"name": "Marques Brownlee"
},
"_more_fields": "3 more fields"
}
}
}
}
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 “Details by post ID” for Posts. 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.