On-Page & Lighthouse
Instant Page Audit
Run an instant technical SEO audit on any page — meta tags, headings, links, images.
POST
$0.03/call/v1/seo/onpage/instantUsage
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
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
url | string | Yes | Full 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
| Field | Type | Description |
|---|---|---|
ok | boolean | Whether the request succeeded |
data.pages | array | List of audited pages |
data.pages[].url | string | The URL that was audited |
data.pages[].statusCode | number | HTTP status code of the page |
data.pages[].title | string | Page title from the <title> tag |
data.pages[].description | string | Meta description content |
data.pages[].h1 | string[] | Array of H1 heading texts found on the page |
data.pages[].wordCount | number | Total word count of the page content |
data.pages[].internalLinks | number | Number of internal links on the page |
data.pages[].externalLinks | number | Number of external links on the page |
data.pages[].images | number | Number of images on the page |
data.pages[].timeToInteractive | number | Time to interactive in milliseconds |
Under the Hood
Instant on-page analysis without crawling. Returns results in real-time.