> ## Documentation Index
> Fetch the complete documentation index at: https://docs.adspo.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Get usage

> Returns current credit usage for the authenticated API key. This endpoint does not consume a credit.



## OpenAPI

````yaml GET /v1/usage
openapi: 3.1.0
info:
  title: Adspo API
  version: 1.0.0
  description: >
    The Adspo API gives you programmatic access to ad creative data across
    brands.


    ## Authentication


    All endpoints require an API key passed in the `x-api-key` header.


    ```

    x-api-key: YOUR_API_KEY

    ```


    ## Rate limits


    - **120 requests per minute** per key. Exceeding this returns `429`.

    - **Credits per billing period** vary by plan. Each request costs 1 credit.
    Exceeding your quota returns `429` with `resets_at` indicating when it
    resets
servers:
  - url: https://api.adspo.co
    description: Production
security:
  - apiKey: []
paths:
  /v1/usage:
    get:
      summary: Get usage
      description: >-
        Returns current credit usage for the authenticated API key. This
        endpoint does not consume a credit.
      operationId: getUsage
      responses:
        '200':
          description: Current usage stats.
          content:
            application/json:
              schema:
                type: object
                properties:
                  credits_used:
                    type: integer
                    description: Credits consumed so far this billing period.
                  credits_limit:
                    type: integer
                    description: Total credits available for this billing period.
                  credits_remaining:
                    type: integer
                    description: Credits remaining for the current billing period.
                  resets_at:
                    type: string
                    description: >-
                      When the quota resets. Aligns with the billing period end
                      date.
              example:
                credits_used: 1240
                credits_limit: 10000
                credits_remaining: 8760
                resets_at: '2026-06-04T22:38:10Z'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: Your Adspo API key.

````