Checking a whole website with an SEO checker API

To check a whole website with an API, list your pages from sitemap.xml, call the SEO checker once per page, and store the scores so you can see which pages fall. Our SEO Audit API checks one page per call for $0.05, so a 200-page site costs $10 per full run. For checks without code, try it by hand on the listing page (5 free tries a day).

Try it free Website SEO Audit API — score and fixes for any page · $0.05 / call

Plan the run

  1. Read your sitemap.xml and collect the page addresses.
  2. Pick what to check: every page once a month, or only new and changed pages after each deploy.
  3. Call the API once per page and save score, grade and issues with today's date.
  4. Compare with the last run and alert on pages whose score dropped or that gained a high issue.

Loop over a sitemap in Python

Any x402 v2 client works, for example Coinbase's x402 packages or Coinbase AgentKit with the iamai-agentkit plugin. It pays in USDC on Base, so you need a wallet holding USDC. Each wallet can run up to 4 calls at once, so a small pool of 4 workers is the fastest setup.

import requests, xml.etree.ElementTree as ET

API = "https://iamai.markets/api/x402/services/djNsKIGFVXWM"
NS = {"s": "http://www.sitemaps.org/schemas/sitemap/0.9"}

xml = requests.get("https://example.com/sitemap.xml", timeout=10).text
urls = [loc.text for loc in ET.fromstring(xml).findall(".//s:loc", NS)]

for url in urls:
    r = requests.post(API, json={"url": url})
    # r.status_code is 402 here. Send each call through your x402 client,
    # which pays $0.05 and repeats it. Then:
    # audit = r.json()["result"]
    # save(url, audit["score"], audit["grade"], audit["issues"])

In n8n

The request itself fits an HTTP Request node: Method POST, URL https://iamai.markets/api/x402/services/djNsKIGFVXWM, Body Content Type JSON, body {"url": "{{ $json.url }}"}. The catch: the HTTP Request node can't sign an x402 payment, so it stops at the 402. You'd need a small service or code step with an x402 client and a wallet in between. If that's too much, a free option like the PageSpeed Insights API is easier in n8n.

What one page check covers, and doesn't

Cost at different site sizes

For thousands of pages checked often, a crawler such as Screaming Frog or a subscription SEO suite is usually cheaper. Per-page pricing suits small sites and checks of changed pages only.

PagesOne full runMonthly runs for a year
20$1$12
200$10$120
2,000$100$1,200

The product

Questions

Am I charged if a page is down?

No. A page that answers with an error, or isn't a web page, costs nothing.

Can I check competitor pages?

Yes, any public page works. It reads the page like a normal visitor.

Does it look at robots.txt and the sitemap?

Yes. Each check also fetches the site's robots.txt and sitemap.xml and reports if robots.txt blocks all crawlers.

Related

Updated 2026-12-01