GroundsocialDocs

API · On-page SEO

GET /onpage/page

On-page SEO audit of one URL: tags, headings, links, schema, checks, score.

RequestGET /v1/onpage/page
Operation idonpage.page.get
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

On-page SEO audit of one URL: tags, headings, links, schema, checks, score.

Query parameters

NameTypeRequiredDescription
urlstringyesExample: https://www.python.org/.
enable_javascript"true" | "false"noOne of true, false.

Responses

StatusMeaningSchema
200The audit.OnPageAudit
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404That URL does not resolve or is not an HTML page.Error
429Too many requests. Wait for Retry-After seconds.Error
503On-page SEO is temporarily unavailable. Retryable; nothing was charged.Error

OnPageAudit fields

FieldTypeDescription
urlstring
final_urlstring
status_codeinteger
content_typestring
fetch_time_msinteger
page_size_bytesinteger
titlestring | null
title_lengthinteger
meta_descriptionstring | null
meta_description_lengthinteger
canonicalstring | null
is_canonical_selfboolean | null
meta_robotsstring | null
is_indexableboolean
languagestring | null
has_viewportboolean
charsetstring | null
headingsobject
word_countinteger
linksobject
imagesobject
hreflangobject[]
structured_data_typesstring[]
open_graphobject
twitter_cardobject
checksobject[]
scoreintegerShare of checks passed, 0-100.

Errors use one shape everywhere; see Errors for every code and what to do.