YepAPI
On-Page & Lighthouse

Instant Page Audit

Run an instant technical SEO audit on any page — meta tags, headings, links, images.

POST/v1/seo/onpage/instant
$0.03/call

Usage

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

Request Body

ParameterTypeRequiredDescriptionDefault
urlstringYesFull URL to audit

Response

{
  "ok": true,
  "data": {
    "pages": [
      {
        "description": "Next.js by Vercel is the full-stack React framework for the web.",
        "externalLinks": 0,
        "h1": ["The React Framework for the Web"],
        "images": 0,
        "internalLinks": 0,
        "statusCode": 200,
        "timeToInteractive": 144.0,
        "title": "Next.js by Vercel - The React Framework",
        "url": "https://nextjs.org/",
        "wordCount": 316
      }
    ]
  }
}

Response Fields

FieldTypeDescription
okbooleanWhether the request succeeded
data.pagesarrayList of audited pages
data.pages[].urlstringThe URL that was audited
data.pages[].statusCodenumberHTTP status code of the page
data.pages[].titlestringPage title from the <title> tag
data.pages[].descriptionstringMeta description content
data.pages[].h1string[]Array of H1 heading texts found on the page
data.pages[].wordCountnumberTotal word count of the page content
data.pages[].internalLinksnumberNumber of internal links on the page
data.pages[].externalLinksnumberNumber of external links on the page
data.pages[].imagesnumberNumber of images on the page
data.pages[].timeToInteractivenumberTime to interactive in milliseconds
Under the Hood

Instant on-page analysis without crawling. Returns results in real-time.

On this page