WebAnalyzer Analyses API
The Analyses API from WebAnalyzer, for analyses.
The Analyses API from WebAnalyzer, for analyses.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/webanalyzer-dev:webanalyzer-dev-analyses-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: WebAnalyzer Analyses API
version: 1.0.0
description: 'Free REST API for WebAnalyzer (webanalyzer.dev): analyze any public web page and get a 0-100 quality score across 8 dimensions (SEO, GEO/AI readiness, performance, accessibility, code quality, UI/UX, data & tracking, security) computed from 290+ deterministic checks.
**Authentication:** none. The API is deliberately open and keyless — no signup, no API key, no OAuth.
**Quota:** 3 free analyses per day per IP (shared across the website, this API and the MCP server), plus a short per-minute burst limit. Standard RateLimit headers on every response.
**Versioning & deprecation policy** (full text: https://webanalyzer.dev/deprecation-policy.md): the API is path-versioned (/api/v1). Backwards-incompatible changes only ever ship under a new /api/v2 prefix; v1 stays alive for at least 6 months after a deprecation notice. Deprecated operations are announced at https://webanalyzer.dev/developers and carry Deprecation (RFC 9745) and Sunset (RFC 8594) headers on their responses for the whole grace period.
**Sandbox:** pass dryRun: true to POST /api/v1/analyze for a deterministic sample response — build and test an integration without spending an analysis or touching a real site.
**Scoring note:** scores use a deliberately demanding curve with critical caps — a 70 is a good site. Do not compare against linear percentage graders.'
contact:
name: WebAnalyzer
url: https://webanalyzer.dev/contact
email: hello@webanalyzer.dev
termsOfService: https://webanalyzer.dev/privacy
servers:
- url: https://webanalyzer.dev
description: Production
- url: https://sandbox.webanalyzer.dev
description: 'Sandbox environment: same paths and response shapes, deterministic sample data, no side effects — POST /api/v1/analyze here (or pass dryRun: true against production) to test an integration.'
- url: https://webanalyzer.dev/api/v1/sandbox
description: 'Sandbox as a path prefix on the production host: POST /analyze under it.'
security: []
tags:
- name: Analyses
paths:
/api/v1/analyses:
post:
operationId: startAnalysisJob
summary: Start analyses as async jobs (single or batch)
description: 'The asynchronous twin of analyzeUrl: returns 202 Accepted immediately with a job id and a status URL to poll (GET /api/v1/analyses/{id}). Also the batch endpoint: pass urls (an array, up to 3) instead of url to fan out one job per URL in a single request — each URL spends one slot of the shared daily quota (3 analyses/day per IP).'
requestBody:
required: true
content:
application/json:
schema:
type: object
description: Pass exactly one of url (single job) or urls (batch).
properties:
url:
type: string
format: uri
description: Full URL of the public page to analyze (single job).
example: https://example.com
urls:
type: array
minItems: 1
maxItems: 3
description: 'Batch mode: an array of URLs, one job each.'
items:
type: string
format: uri
responses:
'202':
description: 'Job(s) accepted. Single url: an AnalysisJob (Location header carries the status URL). Batch urls: {jobs: AnalysisJob[]}. Poll each statusUrl.'
headers:
RateLimit-Limit:
description: Requests allowed per window.
schema:
type: string
RateLimit-Remaining:
description: Requests remaining in the current window.
schema:
type: string
RateLimit-Reset:
description: Seconds until the window resets.
schema:
type: string
Location:
description: Status URL for the job.
schema:
type: string
format: uri
content:
application/json:
schema:
$ref: '#/components/schemas/AnalysisJob'
'400':
description: Malformed request body.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: The URL is invalid, blocked or not public.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limit exceeded — honor Retry-After.
headers:
RateLimit-Limit:
description: Requests allowed per window.
schema:
type: string
RateLimit-Remaining:
description: Requests remaining in the current window.
schema:
type: string
RateLimit-Reset:
description: Seconds until the window resets.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Analyses
/api/v1/analyses/{id}:
get:
operationId: getAnalysisJob
summary: Poll an async analysis job
description: 'Returns the job status: running (poll again after Retry-After seconds), complete (with the analysis result), or failed.'
parameters:
- name: id
in: path
required: true
description: Job id from startAnalysisJob.
schema:
type: string
responses:
'200':
description: Current job state.
headers:
RateLimit-Limit:
description: Requests allowed per window.
schema:
type: string
RateLimit-Remaining:
description: Requests remaining in the current window.
schema:
type: string
RateLimit-Reset:
description: Seconds until the window resets.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/AnalysisJob'
'404':
description: Unknown job id.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limit exceeded — honor Retry-After.
headers:
RateLimit-Limit:
description: Requests allowed per window.
schema:
type: string
RateLimit-Remaining:
description: Requests remaining in the current window.
schema:
type: string
RateLimit-Reset:
description: Seconds until the window resets.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Analyses
/api/v1/analyses/batch:
post:
operationId: startAnalysisJobsBatch
summary: 'Batch: start one async job per URL'
description: 'The batch endpoint in its plainest shape: the request body is a JSON array of up to 3 URLs. Fans out one async analysis job per URL and returns 202 with {jobs: AnalysisJob[]}. Each URL spends one slot of the shared daily quota (3 analyses/day per IP).'
requestBody:
required: true
content:
application/json:
schema:
type: array
minItems: 1
maxItems: 3
description: URLs to analyze, one job each.
items:
type: string
format: uri
responses:
'202':
description: Jobs accepted; poll each job's statusUrl.
headers:
RateLimit-Limit:
description: Requests allowed per window.
schema:
type: string
RateLimit-Remaining:
description: Requests remaining in the current window.
schema:
type: string
RateLimit-Reset:
description: Seconds until the window resets.
schema:
type: string
content:
application/json:
schema:
type: object
required:
- jobs
properties:
jobs:
type: array
items:
$ref: '#/components/schemas/AnalysisJob'
'400':
description: Body is not an array of 1-3 URLs.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: A URL is invalid, blocked or not public.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limit exceeded — honor Retry-After.
headers:
RateLimit-Limit:
description: Requests allowed per window.
schema:
type: string
RateLimit-Remaining:
description: Requests remaining in the current window.
schema:
type: string
RateLimit-Reset:
description: Seconds until the window resets.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Analyses
components:
schemas:
Error:
type: object
description: Every non-2xx response carries this structured error.
required:
- error
properties:
error:
type: object
required:
- code
- message
- status
properties:
code:
type: string
description: Stable machine-readable error code.
enum:
- invalid_request
- invalid_url
- blocked_host
- fetch_failed
- rate_limited
- daily_limit
- analysis_running
- idempotency_conflict
- not_found
- method_not_allowed
- internal_error
message:
type: string
description: Human-readable explanation of what went wrong.
status:
type: integer
description: HTTP status code, duplicated in the body for logging convenience.
documentation:
type: string
format: uri
description: Link to the error documentation.
AnalysisJob:
type: object
description: State of an asynchronous analysis job.
required:
- id
- status
properties:
id:
type: string
description: Opaque job id.
status:
type: string
enum:
- running
- complete
- failed
description: Job state.
statusUrl:
type: string
format: uri
description: URL to poll for this job.
estimatedSeconds:
type: integer
description: Rough seconds until completion while running.
result:
$ref: '#/components/schemas/AnalysisSummary'
error:
type: object
description: Present when status is failed.
properties:
code:
type: string
message:
type: string
AnalysisSummary:
type: object
description: The result of analyzing one URL.
required:
- id
- url
- score
- grade
- dimensions
properties:
id:
type: string
description: Analysis id — also the key for the badge and report URLs.
url:
type: string
format: uri
description: Final URL after redirects.
title:
type:
- string
- 'null'
description: Page title.
score:
type: integer
minimum: 0
maximum: 100
description: Overall 0-100 score (demanding curve).
grade:
type: string
description: Letter grade, A+ through F.
dimensions:
type: array
items:
$ref: '#/components/schemas/DimensionScore'
topIssues:
type: array
items:
$ref: '#/components/schemas/Issue'
badgeUrl:
type: string
format: uri
description: Embeddable SVG score badge.
reportUrl:
type: string
format: uri
description: Human-readable report page.
scoringNote:
type: string
DimensionScore:
type: object
description: Score for one of the 8 quality dimensions.
required:
- key
- label
- score
- grade
properties:
key:
type: string
description: Stable dimension identifier.
enum:
- seo
- geo
- performance
- accessibility
- codeQuality
- uiux
- dataTracking
- security
label:
type: string
description: Human-readable dimension name.
score:
type: integer
minimum: 0
maximum: 100
description: Dimension score, 0-100.
grade:
type: string
description: Letter grade, A+ through F.
summary:
type: string
description: One-sentence summary of the dimension result.
Issue:
type: object
description: One of the most important problems found on the page.
required:
- dimension
- title
properties:
dimension:
type: string
description: Dimension the issue belongs to.
title:
type: string
description: What is wrong, in one sentence.
detail:
type: string
description: Specifics of the finding on this page.
securitySchemes:
optionalBearer:
type: http
scheme: bearer
description: OPTIONAL. Every endpoint works with no credential at all. For agent stacks that require an OAuth flow, register at /api/v1/oauth/register (RFC 7591) and exchange client credentials for a token at /api/v1/oauth/token — discovery at /.well-known/oauth-authorization-server (RFC 8414). Tokens grant no extra privilege.
externalDocs:
description: Developer portal
url: https://webanalyzer.dev/developers