Content Analysis
Content Summary
Get aggregate content analysis — top domains, sentiment breakdown, content types.
POST
$0.02/call/v1/seo/content/summaryUsage
const res = await fetch('https://api.yepapi.com/v1/seo/content/summary', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"keyword": "vibe coding"
}),
});
const { data } = await res.json();
console.log(data);curl -X POST https://api.yepapi.com/v1/seo/content/summary \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword":"vibe coding"}'Request Body
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
keyword | string | Yes | Keyword to analyze | — |
Response
{
"ok": true,
"data": {
"avgContentQualityScore": 0.0,
"keyword": "nextjs seo",
"sentimentDistribution": {
"negative": 0,
"neutral": 0,
"positive": 0
},
"totalCount": 15607
}
}Response Fields
| Field | Type | Description |
|---|---|---|
ok | boolean | Whether the request succeeded |
data.keyword | string | The keyword that was analyzed |
data.totalCount | number | Total number of content pieces found for this keyword |
data.avgContentQualityScore | number | Average content quality score across all results (0-1) |
data.sentimentDistribution | object | Breakdown of sentiment across all content |
data.sentimentDistribution.positive | number | Count of content pieces with positive sentiment |
data.sentimentDistribution.negative | number | Count of content pieces with negative sentiment |
data.sentimentDistribution.neutral | number | Count of content pieces with neutral sentiment |
Under the Hood
High-level content landscape analysis in a single call.