YepAPI
Keywords

Content Scoring

Score any content for SEO quality, readability, and keyword optimization.

POST/v1/seo/content/score
$0.01/call

Usage

const res = await fetch('https://api.yepapi.com/v1/seo/content/score', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    url: 'https://myblog.com/nextjs-guide',
    keyword: 'nextjs tutorial',
  }),
});
const { data } = await res.json();
console.log(data);
curl -X POST https://api.yepapi.com/v1/seo/content/score \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://myblog.com/nextjs-guide", "keyword": "nextjs tutorial"}'

Request Body

ParameterTypeRequiredDescriptionDefault
urlstringYesURL of the page to score
keywordstringYesTarget keyword to optimize for

Response

{
  "ok": true,
  "data": {
    "overallScore": 72,
    "readability": 85,
    "keywordUsage": 65,
    "headingStructure": 80,
    "metaTitle": {
      "score": 90,
      "value": "Complete Next.js Tutorial for Beginners",
      "length": 42
    },
    "metaDescription": {
      "score": 60,
      "value": "Learn Next.js...",
      "length": 14
    },
    "wordCount": 2450,
    "recommendations": [
      "Add target keyword to meta description",
      "Include more heading variations (H3, H4)",
      "Add internal links to related content"
    ]
  }
}

Response Fields

FieldTypeDescription
okbooleanWhether the request succeeded
data.overallScorenumberOverall SEO content score (0-100)
data.readabilitynumberReadability score (0-100)
data.keywordUsagenumberKeyword usage and density score (0-100)
data.headingStructurenumberHeading hierarchy and structure score (0-100)
data.metaTitleobjectMeta title analysis
data.metaTitle.scorenumberMeta title optimization score (0-100)
data.metaTitle.valuestringThe actual meta title text
data.metaTitle.lengthnumberCharacter length of the meta title
data.metaDescriptionobjectMeta description analysis
data.metaDescription.scorenumberMeta description optimization score (0-100)
data.metaDescription.valuestringThe actual meta description text
data.metaDescription.lengthnumberCharacter length of the meta description
data.wordCountnumberTotal word count of the page content
data.recommendationsstring[]Actionable SEO improvement suggestions

On this page