Apiosk Usage API

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

Operations 1

GET /v2/usage Usage for this 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/apiosk-com:apiosk-com-usage-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

apiosk-com-usage-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Apiosk Usage API
  version: 2.0.0
  description: Buy verifiable data per call with an organisation API key. Ask returns the same API choices as the App; execute runs the selected API with your inputs and approved cap. Direct source calls and optional multi-source plans remain available.
servers:
- url: https://gateway.apiosk.com
security:
- apiKey: []
tags:
- name: Usage
paths:
  /v2/usage:
    get:
      summary: Usage for this key
      operationId: getUsage
      description: Free. This month's spending and recent charges. Requires billing:read.
      parameters:
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 200
          default: 50
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  key_id:
                    type: string
                    format: uuid
                  organisation_id:
                    type: string
                    format: uuid
                  month_start:
                    type: string
                    format: date-time
                  month_spent:
                    type: object
                    properties:
                      amount:
                        type: number
                        example: 0.023
                      amount_micro_usd:
                        type: string
                        example: '23000'
                      currency:
                        type: string
                        example: USD
                  charges:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        status:
                          type: string
                          enum:
                          - charged
                          - reserved
                          - refunded
                        cost:
                          type: object
                          properties:
                            amount:
                              type: number
                              example: 0.023
                            amount_micro_usd:
                              type: string
                              example: '23000'
                            currency:
                              type: string
                              example: USD
                        created_at:
                          type: string
                          format: date-time
                        source_id:
                          type: string
                        operation:
                          type: string
                        name:
                          type: string
                        run_id:
                          type: string
                          format: uuid
        '401':
          description: invalid_api_key, api_key_expired or api_key_revoked
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    required:
                    - code
                    - message
                    properties:
                      code:
                        type: string
                        example: invalid_source_input
                      message:
                        type: string
                      required_scope:
                        type: string
                      limit:
                        type: string
                        enum:
                        - per_request
                        - monthly
                        - max_spend
                        - daily
                      required:
                        type: object
                        properties:
                          amount:
                            type: number
                            example: 0.023
                          amount_micro_usd:
                            type: string
                            example: '23000'
                          currency:
                            type: string
                            example: USD
                      available:
                        type: object
                        properties:
                          amount:
                            type: number
                            example: 0.023
                          amount_micro_usd:
                            type: string
                            example: '23000'
                          currency:
                            type: string
                            example: USD
                      field:
                        type: string
                      missing:
                        type: array
                        items:
                          type: string
                      expected:
                        type: array
                        items:
                          type: string
                      operations:
                        type: array
                        items:
                          type: string
                      retry_after_ms:
                        type: integer
        '403':
          description: insufficient_scope or api_key_required
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    required:
                    - code
                    - message
                    properties:
                      code:
                        type: string
                        example: invalid_source_input
                      message:
                        type: string
                      required_scope:
                        type: string
                      limit:
                        type: string
                        enum:
                        - per_request
                        - monthly
                        - max_spend
                        - daily
                      required:
                        type: object
                        properties:
                          amount:
                            type: number
                            example: 0.023
                          amount_micro_usd:
                            type: string
                            example: '23000'
                          currency:
                            type: string
                            example: USD
                      available:
                        type: object
                        properties:
                          amount:
                            type: number
                            example: 0.023
                          amount_micro_usd:
                            type: string
                            example: '23000'
                          currency:
                            type: string
                            example: USD
                      field:
                        type: string
                      missing:
                        type: array
                        items:
                          type: string
                      expected:
                        type: array
                        items:
                          type: string
                      operations:
                        type: array
                        items:
                          type: string
                      retry_after_ms:
                        type: integer
        '429':
          description: rate_limit_exceeded
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    required:
                    - code
                    - message
                    properties:
                      code:
                        type: string
                        example: invalid_source_input
                      message:
                        type: string
                      required_scope:
                        type: string
                      limit:
                        type: string
                        enum:
                        - per_request
                        - monthly
                        - max_spend
                        - daily
                      required:
                        type: object
                        properties:
                          amount:
                            type: number
                            example: 0.023
                          amount_micro_usd:
                            type: string
                            example: '23000'
                          currency:
                            type: string
                            example: USD
                      available:
                        type: object
                        properties:
                          amount:
                            type: number
                            example: 0.023
                          amount_micro_usd:
                            type: string
                            example: '23000'
                          currency:
                            type: string
                            example: USD
                      field:
                        type: string
                      missing:
                        type: array
                        items:
                          type: string
                      expected:
                        type: array
                        items:
                          type: string
                      operations:
                        type: array
                        items:
                          type: string
                      retry_after_ms:
                        type: integer
        '503':
          description: service_unavailable
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    required:
                    - code
                    - message
                    properties:
                      code:
                        type: string
                        example: invalid_source_input
                      message:
                        type: string
                      required_scope:
                        type: string
                      limit:
                        type: string
                        enum:
                        - per_request
                        - monthly
                        - max_spend
                        - daily
                      required:
                        type: object
                        properties:
                          amount:
                            type: number
                            example: 0.023
                          amount_micro_usd:
                            type: string
                            example: '23000'
                          currency:
                            type: string
                            example: USD
                      available:
                        type: object
                        properties:
                          amount:
                            type: number
                            example: 0.023
                          amount_micro_usd:
                            type: string
                            example: '23000'
                          currency:
                            type: string
                            example: USD
                      field:
                        type: string
                      missing:
                        type: array
                        items:
                          type: string
                      expected:
                        type: array
                        items:
                          type: string
                      operations:
                        type: array
                        items:
                          type: string
                      retry_after_ms:
                        type: integer
      tags:
      - Usage
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: 'An organisation API key: Authorization: Bearer apk_org_live_…'