API reference

On-Page SEO Audit API

On-page SEO audit of one URL: title and meta description checks, heading structure, image alt coverage, internal/external links, canonical, robots meta, social tags, HTTPS, word count, and a severity-ranked findings list.

Endpoint

GET/v1/on_page/pagelive · proven3 credits
Try in Playground

Parameters

Query parameters

NameRequiredDescriptionExample
urlyesPage URL to audit (http/https, public hosts only)https://example.com
timeoutnoFetch budget in milliseconds, clamped to 1000-1500010000
dry_runnoRead a zero-credit estimate without fetching sources, running AI, or reserving credits. Cache status is a snapshot, not a guarantee at execution.1

Examples

Make the request

curl
curl "https://www.monocrawl.com/v1/on_page/page?url=https%3A%2F%2Fexample.com" \
  -H "x-api-key: mn_your_key_here"
TypeScript
typescript
const key = process.env.MONOCRAWL_API_KEY;
if (!key) throw new Error('Set MONOCRAWL_API_KEY on your server.');
const res = await fetch(
  "https://www.monocrawl.com/v1/on_page/page?url=https%3A%2F%2Fexample.com",
  { headers: { "x-api-key": key } },
);
const body = await res.json();

if (!body.success) {
  // one error shape for every endpoint — see /docs/errors
  throw new Error(`${body.error.type}: ${body.error.message}`);
}

console.log(body.data, "credits left:", body.credits_remaining);
Python
python
import os
import requests

res = requests.get(
    "https://www.monocrawl.com/v1/on_page/page?url=https%3A%2F%2Fexample.com",
    headers={"x-api-key": os.environ["MONOCRAWL_API_KEY"]},
    timeout=60,
)
body = res.json()

if not body["success"]:
    # one error shape for every endpoint — see /docs/errors
    raise RuntimeError(f"{body['error']['type']}: {body['error']['message']}")

print(body["data"], "credits left:", body["credits_remaining"])

Response

Response fields and example

This example is illustrative, not a captured live response. Variable-cost operations may settle a charge different from the list price below. A successful response puts the platform payload in data and reports the exact credits used, remaining balance, request id and cache status beside it.

200 · application/json
{
  "success": true,
  "platform": "on_page",
  "endpoint": "/v1/on_page/page",
  "data": {
    "_warnings": [
      "example"
    ],
    "final_url": "https://example.com/example",
    "findings": [
      {
        "id": "example",
        "message": "example",
        "severity": "example"
      }
    ],
    "headings": {
      "counts": {
        "h1": 0,
        "h2": 0,
        "h3": 0,
        "h4": 0,
        "h5": 0,
        "h6": 0
      },
      "h1_count": 0,
      "outline": [
        {
          "level": 0,
          "text": "example"
        }
      ],
      "structure_ok": false
    },
    "https": false,
    "images": {
      "total": 0,
      "with_alt": 0,
      "without_alt": 0
    },
    "language": "example",
    "links": {
      "external": 0,
      "internal": 0,
      "total": 0
    },
    "meta_description": {
      "length": 0,
      "present": false
    },
    "open_graph": {
      "complete": false,
      "missing": [
        "example"
      ],
      "present": 0
    },
    "redirected": false,
    "robots": {
      "nofollow": false,
      "noindex": false
    },
    "status": 0,
    "title": {
      "length": 0,
      "present": false,
      "text": "example"
    },
    "twitter_card": {
      "complete": false,
      "missing": [
        "example"
      ],
      "present": 0
    },
    "url": "https://example.com/example",
    "viewport_meta": false,
    "word_count": 0
  },
  "credits_used": 3,
  "credits_remaining": 99,
  "request_id": "req_…",
  "cached": false
}

The example is illustrative and shows a documented subset of data. The fields below are optional across supported sources; nullable fields can also be absent. Preserve unknown values and accept additional fields.

Schema basis: observed response shapes, not an exhaustive field specification. See schema coverage and validation limits.

Download the data JSON Schema. Validate response.data, not the whole envelope. A valid shape does not establish that every field or source record was returned.

Field inside dataTypeMeaning
canonicalstring | nullCanonical URL returned by this audit when supplied.
_warningsarray | nullOptional warnings supplied by this operation. Null means unknown.
final_urlstring | nullOptional final url supplied by this operation. Null means unknown.
findingsarray | nullOptional findings supplied by this operation. Null means unknown.
findings[].idstring | nullSource identifier. Preserve the supplied type and exact value.
findings[].messagestring | nullOptional message supplied by this operation. Null means unknown.
findings[].severitystring | nullOptional severity supplied by this operation. Null means unknown.
headingsobject | nullOptional headings supplied by this operation. Null means unknown.
headings.countsobject | nullOptional counts supplied by this operation. Null means unknown.
headings.counts.h1number | nullOptional h1 supplied by this operation. Null means unknown.
headings.counts.h2number | nullOptional h2 supplied by this operation. Null means unknown.
headings.counts.h3number | nullOptional h3 supplied by this operation. Null means unknown.
headings.counts.h4number | nullOptional h4 supplied by this operation. Null means unknown.
headings.counts.h5number | nullOptional h5 supplied by this operation. Null means unknown.
headings.counts.h6number | nullOptional h6 supplied by this operation. Null means unknown.
headings.h1_countnumber | nullOptional h1 count supplied by this operation. Null means unknown.
headings.outlinearray | nullOptional outline supplied by this operation. Null means unknown.
headings.outline[].levelnumber | nullOptional level supplied by this operation. Null means unknown.
headings.outline[].textstring | nullSource text when supplied.
headings.structure_okboolean | nullOptional structure ok supplied by this operation. Null means unknown.
httpsboolean | nullOptional https supplied by this operation. Null means unknown.
imagesobject | nullOptional images supplied by this operation. Null means unknown.
images.totalnumber | nullSource-reported total; null is unknown.
images.with_altnumber | nullOptional with alt supplied by this operation. Null means unknown.
images.without_altnumber | nullOptional without alt supplied by this operation. Null means unknown.
languagestring | nullOptional language supplied by this operation. Null means unknown.
linksobject | nullOptional links supplied by this operation. Null means unknown.
links.externalnumber | nullOptional external supplied by this operation. Null means unknown.
links.internalnumber | nullOptional internal supplied by this operation. Null means unknown.
links.totalnumber | nullSource-reported total; null is unknown.
meta_descriptionobject | nullOptional meta description supplied by this operation. Null means unknown.
meta_description.lengthnumber | nullOptional length supplied by this operation. Null means unknown.
meta_description.presentboolean | nullOptional present supplied by this operation. Null means unknown.
open_graphobject | nullOptional open graph supplied by this operation. Null means unknown.
open_graph.completeboolean | nullOptional complete supplied by this operation. Null means unknown.
open_graph.missingarray | nullOptional missing supplied by this operation. Null means unknown.
open_graph.presentnumber | nullOptional present supplied by this operation. Null means unknown.
redirectedboolean | nullOptional redirected supplied by this operation. Null means unknown.
robotsobject | nullOptional robots supplied by this operation. Null means unknown.
robots.nofollowboolean | nullOptional nofollow supplied by this operation. Null means unknown.
robots.noindexboolean | nullOptional noindex supplied by this operation. Null means unknown.
statusnumber | nullOptional status supplied by this operation. Null means unknown.
titleobject | nullSource title when supplied.
title.lengthnumber | nullOptional length supplied by this operation. Null means unknown.
title.presentboolean | nullOptional present supplied by this operation. Null means unknown.
title.textstring | nullSource text when supplied.
twitter_cardobject | nullOptional twitter card supplied by this operation. Null means unknown.
twitter_card.completeboolean | nullOptional complete supplied by this operation. Null means unknown.
twitter_card.missingarray | nullOptional missing supplied by this operation. Null means unknown.
twitter_card.presentnumber | nullOptional present supplied by this operation. Null means unknown.
urlstring | nullOriginal source URL when supplied.
viewport_metaboolean | nullOptional viewport meta supplied by this operation. Null means unknown.
word_countnumber | nullOptional word count supplied by this operation. Null means unknown.

Optional fields reviewed from preserved successful responses. Additive fields and source variations remain allowed; validate the fields your workflow requires.

The example is invented and illustrates types only; zero and empty values are not claims about a real result.

Failures use the typed error envelope. A confirmed uncharged or refunded failure reports zero; a pending reconciliation can report an unknown charge. Read credits_used and error.details.billing_status, and keep request_id for recovery. Response contract · Error reference

First call in under a minute

1,000 monthly free credits and a ready-made key the moment you sign up. No card.