Bewary Keys API

The Keys API from Bewary — 2 operation(s) for keys.

Operations 4

POST /v1/keys Create an API key (signed-in account) #
GET /v1/keys List API keys (signed-in account) #
PATCH /v1/keys/{key_id} Enable or disable bulk delivery on an API key (signed-in account) #
DELETE /v1/keys/{key_id} Revoke an API key (signed-in account) #

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/bewary:bewary-keys-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

bewary-keys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Bewary Keys API
  description: 'Scam intelligence for apps and AI agents: links, domains, IPs, phone numbers, SMS short codes, emails, wallets, bank accounts (IBAN), mobile apps and payment handles, each with a typed verdict, facts and reason codes. Contract: https://bewary.app/docs. Pricing: https://bewary.app/pricing.'
  version: 1.9.0
servers:
- url: https://api.bewary.app
security:
- bearer: []
- apiKey: []
- {}
tags:
- name: Keys
paths:
  /v1/keys:
    post:
      tags:
      - Keys
      summary: Create an API key (signed-in account)
      operationId: createKey
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KeyIn'
      responses:
        '200':
          description: The new key, shown once.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KeyCreated'
        '400':
          description: invalid_input or unsupported_type
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: 'unauthorized: missing, revoked or wrong key, or an option that needs a key'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    get:
      tags:
      - Keys
      summary: List API keys (signed-in account)
      operationId: listKeys
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Every key on the account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KeyList'
        '401':
          description: 'unauthorized: missing, revoked or wrong key, or an option that needs a key'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /v1/keys/{key_id}:
    patch:
      tags:
      - Keys
      summary: Enable or disable bulk delivery on an API key (signed-in account)
      operationId: updateKey
      parameters:
      - name: key_id
        in: path
        required: true
        schema:
          type: string
          description: The key id from GET /v1/keys.
          title: Key Id
        description: The key id from GET /v1/keys.
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KeyPatch'
      responses:
        '200':
          description: The key after the change.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KeyInfo'
        '400':
          description: invalid_input or unsupported_type
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: 'unauthorized: missing, revoked or wrong key, or an option that needs a key'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
      - Keys
      summary: Revoke an API key (signed-in account)
      operationId: revokeKey
      parameters:
      - name: key_id
        in: path
        required: true
        schema:
          type: string
          description: The key id from GET /v1/keys.
          title: Key Id
        description: The key id from GET /v1/keys.
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
components:
  schemas:
    KeyPatch:
      properties:
        bulk:
          type: boolean
          title: Bulk
          description: Enable or disable bulk delivery on this key.
      type: object
      required:
      - bulk
      title: KeyPatch
    KeyList:
      properties:
        keys:
          items:
            $ref: '#/components/schemas/KeyInfo'
          type: array
          title: Keys
      type: object
      required:
      - keys
      title: KeyList
    ErrorDetail:
      properties:
        code:
          type: string
          enum:
          - invalid_input
          - unsupported_type
          - unauthorized
          - forbidden
          - quota_exceeded
          - rate_limited
          - not_found
          - input_too_large
          - internal
          - degraded_unavailable
          - gone
          title: Code
        message:
          type: string
          title: Message
        request_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Request Id
      type: object
      required:
      - code
      - message
      title: ErrorDetail
    KeyIn:
      properties:
        name:
          anyOf:
          - type: string
            maxLength: 80
          - type: 'null'
          title: Name
        bulk:
          type: boolean
          title: Bulk
          description: The key may download the bulk files and read the TAXII collection, which spends a day pass (GET /v1/bulk). Off unless asked for.
          default: false
      type: object
      title: KeyIn
    KeyCreated:
      properties:
        id:
          type: string
          title: Id
        key:
          type: string
          title: Key
          description: Shown once. Bewary keeps only a hash.
        note:
          type: string
          title: Note
      type: object
      required:
      - id
      - key
      - note
      title: KeyCreated
    ErrorResponse:
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
      type: object
      required:
      - error
      title: ErrorResponse
    KeyInfo:
      properties:
        id:
          type: string
          title: Id
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        created_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Created At
        last_used_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Last Used At
        revoked:
          type: boolean
          title: Revoked
        bulk:
          type: boolean
          title: Bulk
          description: The key may download the bulk files and read the TAXII collection.
          default: false
      type: object
      required:
      - id
      - revoked
      title: KeyInfo
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: An API key, bw_…
    apiKey:
      type: apiKey
      in: header
      name: X-Api-Key