YouTube API
Channel Store
Get channel merchandise and store items.
POST
$0.01/call/v1/youtube/channel-storeUsage
const res = await fetch('https://api.yepapi.com/v1/youtube/channel-store', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({ id: 'UCAuUUnT6oDeKwE6v1NGQxug' }),
});
const { data } = await res.json();
console.log(data.data);curl -X POST https://api.yepapi.com/v1/youtube/channel-store \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id": "UCAuUUnT6oDeKwE6v1NGQxug"}'Request Body
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
id | string | Yes | YouTube channel ID | — |
geo | string | No | Country code for geo-specific results | — |
lang | string | No | Language code | — |
Response
{
"ok": true,
"data": {
"data": [
{
"title": "Official Merch",
"price": "$24.99",
"url": "https://store.example.com/item",
"thumbnail": [
{ "url": "https://...", "width": 168, "height": 94 }
]
}
]
}
}Response Fields
| Field | Type | Description |
|---|---|---|
ok | boolean | Whether the request succeeded |
data.data | object[] | Array of merchandise/store items |
data.data[].title | string | Product or merchandise name |
data.data[].price | string | Product price with currency symbol (e.g. $24.99) |
data.data[].url | string | Link to the product page |
data.data[].thumbnail | object[] | Product images |