Search, news and web
On-page SEO audit API
Audit one URL for on-page SEO and read the score, meta tags and checks as JSON.
Audit one public URL and read back its on-page score, its title and meta tags, its heading structure, a set of pass or fail checks and how long the page took to load.
Your first call
1. Audit a page
Send the page's full URL, including https://.
curl "https://www.socialcrawl.dev/v1/on_page/page?url=https%3A%2F%2Fwww.socialcrawl.dev%2F" \
-H "x-api-key: sc_your_key_here"const url = new URL("https://www.socialcrawl.dev/v1/on_page/page");
url.searchParams.set("url", "https://www.socialcrawl.dev/");
const res = await fetch(url, { headers: { "x-api-key": process.env.SOCIALCRAWL_API_KEY! } });
const { data } = await res.json();
console.log(data.onpage_score, data.meta.title, data.checks.is_https);import os
import requests
res = requests.get(
"https://www.socialcrawl.dev/v1/on_page/page",
params={"url": "https://www.socialcrawl.dev/"},
headers={"x-api-key": os.environ["SOCIALCRAWL_API_KEY"]},
)
data = res.json()["data"]
print(data["onpage_score"], data["meta"]["title"], data["checks"]["is_https"])Measured on 22/11/2026: this call returned an on-page score of 91.59 and the page's meta tags, checks and timing for 1 credit.
2. Read the score and the checks
onpage_score rolls the checks up into one number. Each entry in checks is true when that issue or property applies. For example, no_h1_tag: false means the page has an H1 and is_https: true means it loads over HTTPS. A page with structured data, such as JSON-LD, gets has_micromarkup: true. broken_links and broken_resources say whether the page links to something that fails.
3. Read computed fields
When an endpoint supports a computed field and the required source inputs are present, the unified response includes that optional field. Depending on the endpoint, optional fields can include engagement_rate, language, content_category, and estimated_reach. See Computed fields for formulas, clamping rules, and null semantics. Where an endpoint supports them, list rows also carry judged labels (computed.labels, computed.relevance) by default at no extra credits; see Labels.
What it covers
| What you want | Call |
|---|---|
| An SEO score for one page | GET /v1/on_page/page |
| Title, description and heading structure | GET /v1/on_page/page |
| HTTPS, canonical and broken-link checks | GET /v1/on_page/page |
| Load timing for the page | GET /v1/on_page/page |
| A page that builds its content with scripts | GET /v1/on_page/page with enable_javascript=true |
What it does not cover
- A whole site. Each call audits one URL, so audit a site by calling once per page.
- Pages behind a login.
- Keyword rankings and backlinks. This endpoint audits the page itself, not how it ranks.
All endpoints
1 endpoint available.
| Endpoint | Path | Credit Tier |
|---|---|---|
| Run an on-page SEO audit for one URL | /v1/on_page/page | standard (1cr) |
Platform notes
- Set
enable_javascript=trueto run the page's scripts while it loads. It is off by default. - All endpoints use
GETwith query parameters.
