send0 Usage API

The Usage API from send0 — 2 operation(s) for usage.

GitHub OpenAPI

Operations 2

GET /v1/usage Get usage #
GET /v1/stats Get daily stats #

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/send0-dev:send0-dev-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

send0-dev-usage-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: send0 Usage API
  version: 1.0.0
  description: 'Email inboxes for AI agents: create an address, receive, wait, reply, and get webhooks. https://send0.dev'
  license:
    name: AGPL-3.0
    identifier: AGPL-3.0-only
servers:
- url: https://api.send0.dev
security:
- bearerAuth: []
tags:
- name: Usage
paths:
  /v1/usage:
    get:
      operationId: getUsage
      summary: Get usage
      description: Your plan, inboxes used, sends today against the daily limit (UTC), and whether sending is paused.
      tags:
      - Usage
      x-send0-scope: read
      parameters: []
      responses:
        '200':
          description: Usage
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Usage'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Not allowed (scope, policy or account state)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found, or not visible to this key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit (`rate_limited`, see Retry-After) or daily send limit reached
          headers:
            Retry-After:
              description: Seconds to wait before retrying
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/stats:
    get:
      operationId: getStats
      summary: Get daily stats
      description: 'Mail per UTC day for the last `days` days (default 14, up to 90): received, sent, delivered, bounced and failed. Days with no mail are zeros.'
      tags:
      - Usage
      x-send0-scope: read
      parameters:
      - name: days
        in: query
        required: false
        schema:
          default: 14
          type: integer
          minimum: 1
          maximum: 90
      - name: inbox_id
        in: query
        required: false
        schema:
          type: string
          maxLength: 40
      responses:
        '200':
          description: Stats
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Stats'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Not allowed (scope, policy or account state)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found, or not visible to this key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit (`rate_limited`, see Retry-After) or daily send limit reached
          headers:
            Retry-After:
              description: Seconds to wait before retrying
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Stats:
      $id: '#/components/schemas/Stats'
      type: object
      properties:
        object:
          type: string
          const: stats
        from:
          type: string
          format: date-time
          description: Start of the first day (UTC)
        days:
          type: array
          items:
            type: object
            properties:
              received:
                type: integer
              sent:
                type: integer
              delivered:
                type: integer
              bounced:
                type: integer
                description: Bounces and complaints
              failed:
                type: integer
              date:
                type: string
                description: YYYY-MM-DD, UTC
            required:
            - received
            - sent
            - delivered
            - bounced
            - failed
            - date
            additionalProperties: false
        totals:
          type: object
          properties:
            received:
              type: integer
            sent:
              type: integer
            delivered:
              type: integer
            bounced:
              type: integer
              description: Bounces and complaints
            failed:
              type: integer
          required:
          - received
          - sent
          - delivered
          - bounced
          - failed
          additionalProperties: false
      required:
      - object
      - from
      - days
      - totals
      additionalProperties: false
    Error:
      $id: '#/components/schemas/Error'
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: Stable, machine-readable code, e.g. not_found, recipient_not_allowed
            message:
              type: string
            param:
              description: The request field the error is about
              type: string
            request_id:
              type: string
          required:
          - code
          - message
          additionalProperties: false
      required:
      - error
      additionalProperties: false
    Usage:
      $id: '#/components/schemas/Usage'
      type: object
      properties:
        object:
          type: string
          const: usage
        plan:
          type: string
          enum:
          - free
          - pro
          - scale
        inboxes:
          type: object
          properties:
            used:
              type: integer
            limit:
              anyOf:
              - type: integer
              - type: 'null'
              description: null when the install has no inbox cap (self-hosted)
          required:
          - used
          - limit
          additionalProperties: false
        sends_today:
          type: object
          properties:
            used:
              type: integer
            limit:
              anyOf:
              - type: integer
              - type: 'null'
              description: null when the install has no daily cap (self-hosted)
            resets_at:
              type: string
              format: date-time
              description: Midnight UTC, when the daily count starts over
          required:
          - used
          - limit
          - resets_at
          additionalProperties: false
        sending:
          type: object
          properties:
            paused:
              type: boolean
            reason:
              type:
              - string
              - 'null'
            paused_at:
              anyOf:
              - type: string
                format: date-time
              - type: 'null'
          required:
          - paused
          - reason
          - paused_at
          additionalProperties: false
      required:
      - object
      - plan
      - inboxes
      - sends_today
      - sending
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API key: s0_live_… or s0_test_…'