Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API 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.
openapi: 3.2.0
info:
title: WebAnalyzer Leaderboard 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: Leaderboard
paths:
/api/v1/leaderboard:
get:
operationId: getLeaderboard
summary: Get the public leaderboard
description: 'Highest-scoring analyzed sites, best first. Cursor-paginated: pass the nextCursor from one page as cursor for the next.'
parameters:
- name: limit
in: query
required: false
description: Entries per page, 1-100.
schema:
type: integer
minimum: 1
maximum: 100
default: 20
- name: cursor
in: query
required: false
description: Opaque pagination token from a previous response's nextCursor.
schema:
type: string
responses:
'200':
description: One page of the leaderboard.
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:
- entries
- nextCursor
properties:
entries:
type: array
items:
$ref: '#/components/schemas/LeaderboardEntry'
nextCursor:
type:
- string
- 'null'
description: Token for the next page, or null on the last page.
viewUrl:
type: string
format: uri
'400':
description: Invalid limit or cursor.
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:
- Leaderboard
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.
LeaderboardEntry:
type: object
required:
- rank
- name
- url
- score
properties:
rank:
type: integer
minimum: 1
name:
type: string
description: Display name of the site.
url:
type: string
format: uri
score:
type: integer
minimum: 0
maximum: 100
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