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

# Get Seller Revenue

> Daily revenue timeseries for the past N days.



## OpenAPI

````yaml /openapi.json get /v1/sellers/revenue
openapi: 3.1.0
info:
  title: AgentPowers API
  description: Paid marketplace for Claude Code skills and agents
  version: 0.1.0
servers:
  - url: https://api.agentpowers.ai
    description: Production
security: []
paths:
  /v1/sellers/revenue:
    get:
      tags:
        - sellers
      summary: Get Seller Revenue
      description: Daily revenue timeseries for the past N days.
      operationId: get_seller_revenue_v1_sellers_revenue_get
      parameters:
        - name: days
          in: query
          required: false
          schema:
            type: integer
            maximum: 365
            minimum: 1
            default: 30
            title: Days
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RevenueTimeseriesResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - BearerAuth: []
components:
  schemas:
    RevenueTimeseriesResponse:
      properties:
        days:
          items:
            $ref: '#/components/schemas/DayRevenue'
          type: array
          title: Days
        total_cents:
          type: integer
          title: Total Cents
        period_days:
          type: integer
          title: Period Days
      type: object
      required:
        - days
        - total_cents
        - period_days
      title: RevenueTimeseriesResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    DayRevenue:
      properties:
        date:
          type: string
          title: Date
        total_cents:
          type: integer
          title: Total Cents
      type: object
      required:
        - date
        - total_cents
      title: DayRevenue
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        Provide a Clerk JWT or a long-lived CLI token (prefix `ap_cli_`).  Pass
        as `Authorization: Bearer <token>`.

````