Palisade Usage API

The Usage API from Palisade — 1 operation(s) for usage.

GitHub OpenAPI

Operations 1

GET /usage Get domain usage counts #

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/palisade-email:palisade-email-usage-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

palisade-email-usage-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '2025-04-30'
  title: Palisade Usage API
  description: 'The Palisade API uses independent rate-limit buckets. Honor the response headers — do not hard-code limits.


    ### Buckets

    - **Global** — applies to every request reaching the API (public and authenticated alike).

    - **DNS** — applies in addition to the global bucket on endpoints that trigger outbound DNS resolution during the request (domain verify, find-dkim-keys, the DNS-reading tools — audit, mailbox provider, SPF include validation, DNS lookup and header analysis — and DNS provider detect). A request can hit either bucket independently.

    - **API key** — applies in addition to the global bucket on every request authenticated with an API key. Each key gets its own bucket, shared across all API instances.

    - **API key DNS** — a stricter per-key bucket that applies in addition to the DNS bucket on the same DNS-triggering endpoints when the request is authenticated with an API key.

    - **Signup** — a per-IP bucket on the headless signup endpoint.

    - **MCP OAuth** — a per-subject bucket on the MCP server for requests authenticated with an OAuth (JWT) token, mirroring the API-key bucket for token callers.


    ### Headers on every response

    - `RateLimit-Limit`, `RateLimit-Remaining`, `RateLimit-Reset` — current bucket state.


    ### Headers on 429 responses

    - `Retry-After` — seconds to wait before retrying.


    ### 429 response body

    `{ "error": "rate_limit_exceeded", "scope": "global" | "dns" | "api_key" | "api_key_dns" | "signup" | "mcp_oauth", "limit": N, "window_seconds": N, "retry_after_seconds": N, "message": "..." }`. Clients must respect `Retry-After` and back off exponentially on repeat failures.


    ### Keying

    Limits are applied **per API key** when the request carries Basic credentials, **per JWT subject** for dashboard-session callers, and fall back to **per source IP** otherwise. Multiple keys from the same host each get their own bucket.'
servers:
- url: https://api.palisade.email
  description: API server
tags:
- name: Usage
paths:
  /usage:
    get:
      tags:
      - Usage
      summary: Get domain usage counts
      operationId: getUsage
      security:
      - BearerAuth: []
      - BasicAuth: []
      parameters:
      - schema:
          type: string
          format: date
        required: true
        name: date_from
        in: query
      - schema:
          type: string
          format: date
        required: true
        name: date_to
        in: query
      - schema:
          type: array
          items:
            type: string
            enum:
            - domains
            - organizations
            - line_items
            - aligned_messages
        required: false
        style: form
        explode: true
        name: expand
        in: query
      - schema:
          $ref: '#/components/schemas/ApiVersion'
        required: true
        name: Palisade-Version
        in: header
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Usage'
components:
  schemas:
    LineItem:
      type: object
      properties:
        sku:
          type: string
          enum:
          - DOMAIN-ACTIVE-TRIAL
          - DOMAIN-ACTIVE-FREE
          - DOMAIN-ACTIVE-1TO10
          - DOMAIN-ACTIVE-11TO100
          - DOMAIN-ACTIVE-101TO1000
          - DOMAIN-ACTIVE-1001PLUS
          - DOMAIN-INACTIVE
          - DOMAIN-PARKED
          - AGENT-ADDON
        quantity:
          type: number
      required:
      - sku
      - quantity
    ApiVersion:
      type: string
      enum:
      - '2025-04-30'
      - unstable
    Usage:
      type: object
      properties:
        active_domains:
          type: number
        inactive_domains:
          type: number
        parked_domains:
          type: number
        deleted_domains:
          type: number
        domains:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                format: uuid
              url:
                type: string
              is_active:
                type: boolean
              is_parked:
                type: boolean
              organization_id:
                type: string
                format: uuid
            required:
            - id
            - url
            - is_active
            - is_parked
            - organization_id
        organizations:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                format: uuid
              name:
                type: string
              active_domains:
                type: number
              inactive_domains:
                type: number
              parked_domains:
                type: number
              is_trialing:
                type: boolean
              line_items:
                type: array
                items:
                  $ref: '#/components/schemas/LineItem'
            required:
            - id
            - name
            - active_domains
            - inactive_domains
            - parked_domains
            - is_trialing
        line_items:
          type: array
          items:
            $ref: '#/components/schemas/LineItem'
        aligned_messages:
          type: integer
          minimum: 0
          description: How many messages authenticated as the organization's own mail (SPF- or DKIM-aligned) were reported over the requested range, across the organization and any active children. This is the volume an IT teams tier is sold against. Returned only when requested through expand, since it aggregates the DMARC report table.
      required:
      - active_domains
      - inactive_domains
      - parked_domains
      - deleted_domains
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    BasicAuth:
      type: http
      scheme: basic
      description: 'API key sent as HTTP Basic credentials. Put the API key in the username and leave the password empty: `Authorization: Basic base64(<api_key>:)`.'
externalDocs:
  description: View the raw OpenAPI Specification in JSON format
  url: /swagger.json