PerfDelta Account API

Plan, budget and quota.

GitHub OpenAPI
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).

Operations 1

GET /usage.php Plan, budget and quota #

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/perfdelta:perfdelta-account-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

perfdelta-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PerfDelta REST Account API
  version: 1.0.0
  summary: PageSpeed and Core Web Vitals scans, reports, projects and performance budgets.
  description: 'Start PageSpeed scans, read real-user Core Web Vitals (Chrome UX Report) and Lighthouse lab data, prioritised fixes, history, projects, competitors and performance budgets.


    Authentication: `Authorization: Bearer `. Create keys at https://perfdelta.com/api-keys. A free account can call the read endpoints and start one scan every 24 hours (30 requests per minute); paid plans get 60 requests per minute and a monthly PageSpeed test budget. Scans cost one test per URL and device, all other calls are free of charge.


    Responses are JSON (`application/json; charset=utf-8`). Errors are flat objects with an `error` code and usually a `message`. There is no pagination. The same functions are available to AI agents through the MCP server at https://perfdelta.com/api/mcp.php.


    Human-readable reference: https://perfdelta.com/api-docs'
  termsOfService: https://perfdelta.com/terms
  contact:
    name: PerfDelta
    url: https://perfdelta.com/contact
    email: info@perfdelta.com
  x-logo:
    url: https://perfdelta.com/assets/img/apple-touch-icon.png
servers:
- url: https://perfdelta.com/api/v1
security:
- bearerAuth: []
tags:
- name: Account
  description: Plan, budget and quota.
paths:
  /usage.php:
    get:
      operationId: getUsage
      tags:
      - Account
      summary: Plan, budget and quota
      responses:
        '200':
          description: Current usage of the account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Usage'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '503':
          $ref: '#/components/responses/Unavailable'
components:
  schemas:
    Quota:
      type: object
      properties:
        type:
          type: string
          enum:
          - rolling
        scans_used:
          type: integer
        scans_limit:
          type: integer
        scans_remaining:
          type: integer
        window_hours:
          type: integer
        next_scan_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
    BudgetWarning:
      anyOf:
      - type: object
        properties:
          used_pct:
            type: integer
          upgrade_plan:
            anyOf:
            - type: string
            - type: 'null'
          upgrade_url:
            type: string
      - type: 'null'
    Meta:
      type: object
      properties:
        upgrade:
          type: object
          properties:
            reason:
              type: string
            required_plan:
              type: string
            unlocks:
              type: string
            url:
              type: string
    Usage:
      type: object
      properties:
        plan:
          type: string
        unit:
          type: string
        daily_limit:
          type: integer
        daily_used:
          type: integer
        daily_remaining:
          type: integer
        monthly_budget:
          anyOf:
          - type: integer
          - type: 'null'
        monthly_used:
          type: integer
        monitoring_projected:
          type: integer
        monitoring_remaining_need:
          type: integer
        available_for_manual_scans:
          type: integer
        monthly_used_pct:
          type: number
        quota:
          $ref: '#/components/schemas/Quota'
        upgrade_plan:
          anyOf:
          - type: string
          - type: 'null'
        upgrade_url:
          type: string
        budget_warning:
          $ref: '#/components/schemas/BudgetWarning'
      required:
      - plan
    Error:
      type: object
      description: 'Errors are flat: a code, usually a message, and further detail fields on the same level.'
      properties:
        error:
          type: string
        message:
          type: string
        required_plan:
          type: string
        upgrade_url:
          type: string
        retry_after:
          type: integer
        next_scan_at:
          anyOf:
          - type: string
          - type: 'null'
        _meta:
          $ref: '#/components/schemas/Meta'
      required:
      - error
      additionalProperties: true
  responses:
    TooManyRequests:
      description: 'rate_limited (Retry-After: 60), too_many_failed_attempts, quota_exhausted (free scan window, with next_scan_at) or throttled.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: email_unverified, plan_required (with required_plan and _meta.upgrade), token_scope or a plan limit such as url_limit_reached, competitor_limit, project_limit.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: 'Missing or invalid API key (error unauthorized). Header WWW-Authenticate: Bearer.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unavailable:
      description: API temporarily disabled or no measuring capacity (disabled, busy, capacity_exhausted, free_capacity_exhausted).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: PerfDelta API key, e.g. pdk_live_...
externalDocs:
  description: API documentation
  url: https://perfdelta.com/api-docs