disban-io Subscription API

The Subscription API from disban-io — 1 operation(s) for subscription.

Operations 2

GET /api/subscription Inspect plan and current UTC-month usage #
POST /api/subscription Change plan; shorter retention requires explicit deletion confirmation #

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/disban-io:disban-io-subscription-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

disban-io-subscription-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Disban Subscription API
  version: 1.0.0
  description: 'Email-domain classification API (Free beta). Free plan: 2,000 checks per UTC month. No payment or automatic billing. Check credits are metered per successful domain, including cache hits. Plan changes retain usage.'
servers:
- url: https://disban.io
tags:
- name: Subscription
paths:
  /api/subscription:
    get:
      operationId: getSubscription
      summary: Inspect plan and current UTC-month usage
      security:
      - bearerAuth: []
      - sessionCookie: []
      responses:
        '200':
          description: Current subscription
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Subscription'
        '400':
          description: Request could not be completed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Request could not be completed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Request could not be completed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Request could not be completed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: Request could not be completed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '415':
          description: Request could not be completed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate or quota limit; honor Retry-After
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            Retry-After:
              schema:
                type: integer
              description: Seconds until retry
        '502':
          description: Request could not be completed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Request could not be completed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Subscription
    post:
      operationId: changePlan
      summary: Change plan; shorter retention requires explicit deletion confirmation
      security:
      - sessionCookie: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                confirm_deletion:
                  type: boolean
                  default: false
                  description: Send true only after accepting the retention warning returned with HTTP 409. Older activity is permanently deleted oldest first.
                plan_id:
                  type: string
                  enum:
                  - free
              required:
              - plan_id
      responses:
        '200':
          description: Plan changed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Subscription'
        '400':
          description: Request could not be completed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Request could not be completed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Request could not be completed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Request could not be completed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: Request could not be completed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '415':
          description: Request could not be completed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate or quota limit; honor Retry-After
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            Retry-After:
              schema:
                type: integer
              description: Seconds until retry
        '502':
          description: Request could not be completed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Request could not be completed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Subscription
components:
  schemas:
    Plan:
      type: object
      properties:
        id:
          type: string
          enum:
          - free
          - launch
          - growth
          - scale
        selectable:
          type: boolean
          description: Only Free can be activated. Launch, Growth, and Scale are coming soon.
        name:
          type: string
        monthly_checks:
          type: integer
        requests_per_second:
          type: integer
        description:
          type: string
      required:
      - id
      - name
      - monthly_checks
      - requests_per_second
    Offer:
      type: object
      properties:
        currency:
          type: string
          const: USD
        monthly_price:
          type: number
          const: 0
        discount_percent:
          type: integer
          const: 0
        payment_required:
          type: boolean
          const: false
        auto_charge:
          type: boolean
          const: false
        terms:
          type: string
      required:
      - currency
      - monthly_price
      - discount_percent
      - payment_required
      - auto_charge
      - terms
    Subscription:
      type: object
      properties:
        plan:
          $ref: '#/components/schemas/Plan'
        offer:
          $ref: '#/components/schemas/Offer'
        period:
          type: string
          example: 2026-09
        used:
          type: integer
          description: Total checks charged this UTC month, including bonus checks.
        monthly_used:
          type: integer
        monthly_remaining:
          type: integer
        bonus_used:
          type: integer
        bonus_remaining:
          type: integer
        remaining:
          type: integer
        resets_at:
          type: string
          format: date-time
      required:
      - plan
      - offer
      - period
      - used
      - remaining
      - resets_at
    Error:
      type: object
      properties:
        error:
          type: string
        code:
          type: string
        retry_after:
          type: integer
      required:
      - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: dbn_ API key; check, batch, inbound check webhook and read-only subscription
    sessionCookie:
      type: apiKey
      in: cookie
      name: disban_session