AdvisorPPC Credits API

The credits API from AdvisorPPC — 3 operation(s) for credits.

Operations 4

GET /api/credits/balance Balance #
POST /api/credits/checkout/{pack} Credit Pack Checkout #
GET /api/credits/auto-topup Get Auto Topup #
PUT /api/credits/auto-topup Put Auto Topup #

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/advisorppc-com:advisorppc-com-credits-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

advisorppc-com-credits-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AdvisorPPC Credits API
  version: 0.1.0
tags:
- name: Credits
paths:
  /api/credits/balance:
    get:
      tags:
      - Credits
      summary: Balance
      operationId: balance_api_credits_balance_get
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BalanceOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/credits/checkout/{pack}:
    post:
      tags:
      - Credits
      summary: Credit Pack Checkout
      description: Create hosted Checkout for one-time extra usage.
      operationId: credit_pack_checkout_api_credits_checkout__pack__post
      security:
      - HTTPBearer: []
      parameters:
      - name: pack
        in: path
        required: true
        schema:
          type: string
          title: Pack
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckoutOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/credits/auto-topup:
    get:
      tags:
      - Credits
      summary: Get Auto Topup
      operationId: get_auto_topup_api_credits_auto_topup_get
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AutoTopupOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - Credits
      summary: Put Auto Topup
      description: Save the workspace's automatic top-up choice (admin or owner).
      operationId: put_auto_topup_api_credits_auto_topup_put
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AutoTopupIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AutoTopupOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    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
    CheckoutOut:
      properties:
        url:
          type: string
          title: Url
      type: object
      required:
      - url
      title: CheckoutOut
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AutoTopupOut:
      properties:
        available:
          type: boolean
          title: Available
        enabled:
          type: boolean
          title: Enabled
        pack:
          type: string
          title: Pack
        monthly_limit:
          type: integer
          title: Monthly Limit
        threshold_units:
          type: integer
          title: Threshold Units
        used_this_month:
          type: integer
          title: Used This Month
        paused_reason:
          anyOf:
          - type: string
          - type: 'null'
          title: Paused Reason
        monthly_limit_choices:
          items:
            type: integer
          type: array
          title: Monthly Limit Choices
        can_manage:
          type: boolean
          title: Can Manage
        card_on_file:
          type: boolean
          title: Card On File
      type: object
      required:
      - available
      - enabled
      - pack
      - monthly_limit
      - threshold_units
      - used_this_month
      - paused_reason
      - monthly_limit_choices
      - can_manage
      - card_on_file
      title: AutoTopupOut
    PackOut:
      properties:
        pack:
          type: string
          title: Pack
        usd_cents:
          type: integer
          title: Usd Cents
        credits:
          type: integer
          title: Credits
        label:
          type: string
          title: Label
      type: object
      required:
      - pack
      - usd_cents
      - credits
      - label
      title: PackOut
    BalanceOut:
      properties:
        balance:
          type: integer
          title: Balance
        tier:
          type: string
          title: Tier
        weekly_usage_percent:
          type: integer
          title: Weekly Usage Percent
        resets_at:
          type: string
          title: Resets At
        included_available:
          type: boolean
          title: Included Available
        extra_usage_units:
          type: integer
          title: Extra Usage Units
        packs:
          items:
            $ref: '#/components/schemas/PackOut'
          type: array
          title: Packs
        purchase_channel:
          type: string
          title: Purchase Channel
        app_store_purchases_enabled:
          type: boolean
          title: App Store Purchases Enabled
      type: object
      required:
      - balance
      - tier
      - weekly_usage_percent
      - resets_at
      - included_available
      - extra_usage_units
      - packs
      - purchase_channel
      - app_store_purchases_enabled
      title: BalanceOut
    AutoTopupIn:
      properties:
        enabled:
          type: boolean
          title: Enabled
        pack:
          type: string
          title: Pack
          default: '100'
        monthly_limit:
          type: integer
          title: Monthly Limit
          default: 2
      type: object
      required:
      - enabled
      title: AutoTopupIn
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer