APIPASS API Marketplace API Keys API

The API Keys API from APIPASS API Marketplace — 2 operation(s) for api keys.

Operations 5

GET /api/v1/api-keys List Api Keys #
POST /api/v1/api-keys Create New Api Key #
GET /api/v1/api-keys/{api_key_id} Get Api Key #
PATCH /api/v1/api-keys/{api_key_id} Update Api Key #
DELETE /api/v1/api-keys/{api_key_id} Delete Api Key #

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/apipass:apipass-api-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

apipass-api-keys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ApiPass Platform API Keys API
  version: 1.0.0
tags:
- name: API Keys
paths:
  /api/v1/api-keys:
    get:
      tags:
      - API Keys
      summary: List Api Keys
      description: '获取当前用户的所有API Keys


        只返回属于当前用户的API Keys'
      operationId: list_api_keys_api_v1_api_keys_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiKeyResponse'
                type: array
                title: Response List Api Keys Api V1 Api Keys Get
      security:
      - HTTPBearer: []
    post:
      tags:
      - API Keys
      summary: Create New Api Key
      description: '创建新的API Key


        需要Supabase Auth token进行鉴权'
      operationId: create_new_api_key_api_v1_api_keys_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateApiKeyRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiKeyResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/api-keys/{api_key_id}:
    get:
      tags:
      - API Keys
      summary: Get Api Key
      description: '获取单个API Key详情


        只能查看自己的API Key'
      operationId: get_api_key_api_v1_api_keys__api_key_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: api_key_id
        in: path
        required: true
        schema:
          type: string
          title: Api Key Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiKeyResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - API Keys
      summary: Update Api Key
      description: '更新API Key配置


        只能更新自己的API Key'
      operationId: update_api_key_api_v1_api_keys__api_key_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: api_key_id
        in: path
        required: true
        schema:
          type: string
          title: Api Key Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateApiKeyRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiKeyResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - API Keys
      summary: Delete Api Key
      description: '删除API Key(软删除,设置is_active=false)


        只能删除自己的API Key'
      operationId: delete_api_key_api_v1_api_keys__api_key_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: api_key_id
        in: path
        required: true
        schema:
          type: string
          title: Api Key Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    UpdateApiKeyRequest:
      properties:
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        ip_whitelist:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Ip Whitelist
        hourly_credit_limit:
          anyOf:
          - type: integer
          - type: 'null'
          title: Hourly Credit Limit
        daily_credit_limit:
          anyOf:
          - type: integer
          - type: 'null'
          title: Daily Credit Limit
        total_credit_limit:
          anyOf:
          - type: integer
          - type: 'null'
          title: Total Credit Limit
        claude_code_enabled:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Claude Code Enabled
        concurrent_limit:
          anyOf:
          - type: integer
          - type: 'null'
          title: Concurrent Limit
      type: object
      title: UpdateApiKeyRequest
      description: 更新API Key请求
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    CreateApiKeyRequest:
      properties:
        name:
          type: string
          title: Name
          description: API Key名称,如'生产环境'、'测试环境'
        hourly_credit_limit:
          anyOf:
          - type: integer
          - type: 'null'
          title: Hourly Credit Limit
          description: 小时credit限额
          default: 1000
        daily_credit_limit:
          anyOf:
          - type: integer
          - type: 'null'
          title: Daily Credit Limit
          description: 日credit限额
          default: 5000
        total_credit_limit:
          anyOf:
          - type: integer
          - type: 'null'
          title: Total Credit Limit
          description: 总credit限额
          default: 100000
        ip_whitelist:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Ip Whitelist
          description: IP白名单
        claude_code_enabled:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Claude Code Enabled
          description: 是否启用Claude Code功能
          default: false
        concurrent_limit:
          anyOf:
          - type: integer
          - type: 'null'
          title: Concurrent Limit
          description: Claude Code并发请求限制
          default: 5
      type: object
      required:
      - name
      title: CreateApiKeyRequest
      description: 创建API Key请求
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ApiKeyResponse:
      properties:
        id:
          type: string
          title: Id
        user_id:
          type: string
          title: User Id
        name:
          type: string
          title: Name
        key:
          type: string
          title: Key
        ip_whitelist:
          items:
            type: string
          type: array
          title: Ip Whitelist
        hourly_credit_limit:
          type: integer
          title: Hourly Credit Limit
        daily_credit_limit:
          type: integer
          title: Daily Credit Limit
        total_credit_limit:
          type: integer
          title: Total Credit Limit
        is_active:
          type: boolean
          title: Is Active
        claude_code_enabled:
          type: boolean
          title: Claude Code Enabled
          default: false
        concurrent_limit:
          type: integer
          title: Concurrent Limit
          default: 5
        metadata:
          additionalProperties: true
          type: object
          title: Metadata
        created_at:
          type: string
          format: date-time
          title: Created At
      type: object
      required:
      - id
      - user_id
      - name
      - key
      - hourly_credit_limit
      - daily_credit_limit
      - total_credit_limit
      - is_active
      - created_at
      title: ApiKeyResponse
      description: API Key响应
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer