Rankability Page Auditor API

Single-page and batch AEO/SEO page audits.

GitHub OpenAPI

Operations 5

GET /api/agent/v1/page-auditor/audits List audits #
POST /api/agent/v1/page-auditor/audits Start one durable retry-safe page audit #
DELETE /api/agent/v1/page-auditor/audits/{audit_id} Permanently delete a finished audit #
GET /api/agent/v1/page-auditor/audits/{audit_id} Get an audit by ID #
PUT /api/agent/v1/page-auditor/audits/batch Dry-run or start/resume a durable batch of up to 25 audits #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/rankability-com:rankability-com-page-auditor-api"
All apis
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.

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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

rankability-com-page-auditor-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rankability Agent Page Auditor API
  version: 1.24.0
  description: 'REST API for programmatic SEO and AI search visibility work in Rankability: content jobs, AI and organic rank tracking, keyword research, page and site audits, clients and their Knowledge sources, crawling, and usage.


    Authenticate with an organization API key (`Authorization: Bearer rk_live_...`, created in Settings > API keys) or an OAuth 2.0 access token. Each operation lists the scopes it needs in `x-required-scopes` (all required) or `x-accepted-scopes` (any one is enough); an empty `x-required-scopes` with no `x-accepted-scopes` means any Agent API scope works.


    Errors use one shape: `{ "error": { "code", "message", "details" } }`. Every response carries `X-Request-Id`, `X-API-Version` and `X-RateLimit-*` headers. Call `GET /usage` before starting on-demand work.'
  contact:
    name: Rankability support
    url: https://help.rankability.com
  termsOfService: https://www.rankability.com/terms/
servers:
- url: https://app.rankability.com
  description: Production
security:
- ApiKeyAuth: []
- OAuth2: []
tags:
- name: Page Auditor
  description: Single-page and batch AEO/SEO page audits.
paths:
  /api/agent/v1/page-auditor/audits:
    get:
      operationId: get_page_auditor_audits
      summary: List audits
      description: 'List audits


        List recent audits, most recent first.


        Required scope: `page_audit:read`.'
      tags:
      - Page Auditor
      x-required-scopes:
      - page_audit:read
      security:
      - ApiKeyAuth: []
      - OAuth2:
        - page_audit:read
      parameters:
      - name: client_id
        in: query
        required: false
        description: Filter by client
        schema:
          type: string
          format: uuid
      - name: status
        in: query
        required: false
        description: Filter by `pending`, `crawling`, `researching`, `scoring`, `complete`, or `error`
        schema:
          type: string
          enum:
          - pending
          - crawling
          - researching
          - scoring
          - complete
          - error
      - name: limit
        in: query
        required: false
        description: Max 100
        schema:
          type: number
          default: 50
      - name: offset
        in: query
        required: false
        description: For pagination
        schema:
          type: number
          default: 0
      - name: view
        in: query
        required: false
        description: '`compact` or `full`'
        schema:
          type: string
          enum:
          - compact
          - full
      - name: fields
        in: query
        required: false
        description: Explicit top-level field selection; overrides the view field set
        schema: {}
      - name: naming
        in: query
        required: false
        description: Use `legacy` only for mixed-casing backward compatibility
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
              example:
                audits:
                - audit_id: 8c2a...uuid
                  status: complete
                  keyword: best running shoes 2026
                  url: https://example.com/best-running-shoes
                  overall_score: 78
                  created_at: '2026-04-29T15:00:00.000Z'
                  completed_at: '2026-04-29T15:01:42.000Z'
                pagination:
                  limit: 50
                  offset: 0
                  count: 1
                  total: 1
                  has_more: false
                view: compact
          headers:
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            X-API-Version:
              $ref: '#/components/headers/X-API-Version'
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
        default:
          $ref: '#/components/responses/Error'
    post:
      operationId: post_page_auditor_audits
      summary: Start one durable retry-safe page audit
      description: 'Start one durable retry-safe page audit (150 credits on legacy Full accounts)


        Reserve 150 credits and start a new audit. Returns immediately with `status: "pending"`. `Idempotency-Key` is required and derives the durable audit ID, so a retry returns the same audit across process restarts and concurrent delivery. Reusing a key for different inputs returns `409 idempotency_conflict`.


        Required scope: `page_audit:write`.'
      tags:
      - Page Auditor
      x-required-scopes:
      - page_audit:write
      security:
      - ApiKeyAuth: []
      - OAuth2:
        - page_audit:write
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        description: Optional. A stable key for this logical request so retries never repeat or double-charge the work.
        schema:
          type: string
          maxLength: 255
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              properties:
                keyword:
                  type: string
                  description: Target keyword the page should rank for. Max 500 chars.
                url:
                  type: string
                  format: uri
                  description: Public URL to audit. Must use `http` or `https`. Private/loopback hosts are rejected.
                location:
                  type: string
                  description: Optional location for SERP context (e.g. `"United States"`). Max 200 chars.
                intent:
                  type: string
                  enum:
                  - informational
                  - commercial
                  - transactional
                  - navigational
                  description: One of `informational`, `commercial`, `transactional`, `navigational`. If omitted, Rankability infers it from the keyword, URL, and location (for example, a service keyword with a city, state, or "near me" is treated as `transactional`, which uses the local-service rubric). The response reports it as `detected_intent` with `intent_source` (`provided` or `inferred`). Pass `intent` to override.
                client_id:
                  type: string
                  format: uuid
                  description: Optional client to associate the audit with. Must belong to your organization.
              required:
              - keyword
              - url
      responses:
        '201':
          description: Success
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
              example:
                audit_id: 8c2a...uuid
                status: pending
                credits_reserved: 150
                keyword: best running shoes 2026
                url: https://example.com/best-running-shoes
                intent: commercial
                detected_intent: commercial
                intent_source: provided
                client_id: null
                created_at: '2026-04-29T15:00:00.000Z'
          headers:
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            X-API-Version:
              $ref: '#/components/headers/X-API-Version'
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
        default:
          $ref: '#/components/responses/Error'
  /api/agent/v1/page-auditor/audits/{audit_id}:
    delete:
      operationId: delete_page_auditor_audits_by_audit_id
      summary: Permanently delete a finished audit
      description: 'Permanently delete a finished audit (409 if it is still in progress — wait for it to finish)


        Permanently delete a finished audit and free up clutter from old runs. This lets assistants prune stale audits the same way they prune finished Site Auditor projects.


        Required scope: `page_audit:write`.'
      tags:
      - Page Auditor
      x-required-scopes:
      - page_audit:write
      security:
      - ApiKeyAuth: []
      - OAuth2:
        - page_audit:write
      parameters:
      - name: audit_id
        in: path
        required: true
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: false
        description: Optional. A stable key for this logical request so retries never repeat or double-charge the work.
        schema:
          type: string
          maxLength: 255
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
              example:
                success: true
                audit_id: 8c2a...uuid
          headers:
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            X-API-Version:
              $ref: '#/components/headers/X-API-Version'
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        default:
          $ref: '#/components/responses/Error'
    get:
      operationId: get_page_auditor_audits_by_audit_id
      summary: Get an audit by ID
      description: 'Get an audit by ID


        Fetch a single audit. Poll with `?view=status` until `status` is `complete` or `error`, then request `view=full` (the default) for the analysis. Nested audit objects use canonical `snake_case` by default; `naming=legacy` preserves the earlier mixed-casing representation.


        Required scope: `page_audit:read`.'
      tags:
      - Page Auditor
      x-required-scopes:
      - page_audit:read
      security:
      - ApiKeyAuth: []
      - OAuth2:
        - page_audit:read
      parameters:
      - name: audit_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
          headers:
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            X-API-Version:
              $ref: '#/components/headers/X-API-Version'
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        default:
          $ref: '#/components/responses/Error'
  /api/agent/v1/page-auditor/audits/batch:
    put:
      operationId: put_page_auditor_audits_batch
      summary: Dry-run or start/resume a durable batch of up to 25 audits
      description: 'Dry-run or start/resume a durable batch of up to 25 audits


        The batch validates tenant ownership, public URLs, duplicates, total capacity, and all legacy credit availability before launching work. Setup failures release newly created reservations and remove newly created audit rows. A retry resumes the same batch rather than creating another set of audits.


        Required scope: `page_audit:write`.'
      tags:
      - Page Auditor
      x-required-scopes:
      - page_audit:write
      security:
      - ApiKeyAuth: []
      - OAuth2:
        - page_audit:write
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        description: Optional. A stable key for this logical request so retries never repeat or double-charge the work.
        schema:
          type: string
          maxLength: 255
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
          headers:
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            X-API-Version:
              $ref: '#/components/headers/X-API-Version'
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
        default:
          $ref: '#/components/responses/Error'
components:
  headers:
    X-RateLimit-Limit:
      description: Maximum requests in the current window.
      schema:
        type: integer
    X-RateLimit-Reset:
      description: Seconds until the window resets.
      schema:
        type: integer
    X-RateLimit-Remaining:
      description: Requests remaining in the current window.
      schema:
        type: integer
    X-Request-Id:
      description: Unique request id for tracing and support.
      schema:
        type: string
    X-API-Version:
      description: Agent API contract version.
      schema:
        type: string
  responses:
    BadRequest:
      description: Invalid input (`invalid_input`) or an operation not valid in the current state.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: The credential lacks a required scope (`forbidden`), or the organization's plan does not include this (`plan_required`, `plan_limit_exceeded`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing, invalid, expired or revoked credentials (`unauthorized`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Resource not found or not owned by your organization (`not_found`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Too many requests (`rate_limit_exceeded`), on-demand usage paused (`usage_limit_reached`), Tracker busy (`capacity_reached`) or too many concurrent jobs (`concurrency_limit_reached`). Honor `Retry-After`.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error:
      description: Error. See `error.code`; common codes include `insufficient_credits` (402), `conflict` (409) and `service_unavailable` (503).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
              example: invalid_input
            message:
              type: string
            details:
              type: object
              additionalProperties: true
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: rk_live_ API key
      description: 'Organization API key sent as `Authorization: Bearer rk_live_...`. Create keys in Settings > API keys; each key carries its own scopes.'
    OAuth2:
      type: oauth2
      description: 'OAuth 2.0 authorization code flow with PKCE (S256), used by MCP clients and integrations. Dynamic client registration is available at /oauth/register; metadata at /.well-known/oauth-authorization-server. Send the access token as `Authorization: Bearer <token>`.'
      flows:
        authorizationCode:
          authorizationUrl: https://app.rankability.com/oauth/authorize
          tokenUrl: https://app.rankability.com/oauth/token
          refreshUrl: https://app.rankability.com/oauth/token
          scopes:
            copywriter:run: Create content
            copywriter:read: Read content
            reporter:read: Read reporter data
            reporter:run: Trigger scans
            reporter:write: Manage reporter projects
            prospect_scan:run: Run prospect visibility reports
            prospect_scan:read: Read prospect visibility reports
            researcher:run: Run keyword research
            researcher:read: Read research jobs & projects
            seo_research:run: Run SEO research
            seo_research:read: Read SEO research
            clients:read: Read workspaces
            clients:write: Create, update & delete workspaces
            connections:read: Read eligible provider properties and workspace connections
            connections:write: Link authorized provider properties to workspaces
            kb:read: Read knowledge base
            optimize:run: Run page optimization
            page_audit:read: Read page audits
            page_audit:write: Run page audits
            site-auditor:read: Read site audits
            site-auditor:write: Run site audits
            search_intelligence:query: Query search intelligence (Google + AI platforms)
            scrape:run: Scrape a page (SEO + AEO extraction)
            crawl:run: Crawl a site (bounded multi-page)
            extract:run: Extract structured data from a page
            prospector:read: Read Prospector lists & outreach items
            prospector:write: Manage Prospector lists & outreach items
            prospector:run: Run Prospector opportunity discovery
            backlinks:read: Read saved backlink profile evidence
            backlinks:run: Refresh backlink profile evidence
            gbp-audit:read: Read saved GBP audit evidence
            gbp-audit:run: Run connected Google Business Profile audits
            batch-url:read: Read saved Batch URL Analyzer runs
            routines:read: Read Automate settings and history
            routines:write: Manage Automate settings and recurring work
            publishing:read: Read publishing connections & receipts
            publishing:write: Create publishing drafts
            serena:ask: Consult Serena (read-only)