PZERO Public API

No authentication

GitHub OpenAPI

Operations 12

GET /llms.txt Agent-facing integration guide #
GET /SKILL.md Agent skill entry point #
GET /pricing.md How a charge is computed #
GET /marketplace.md How supply is priced and matched #
GET /openapi.json This OpenAPI specification #
GET /healthz Liveness probe #
GET /v1/models Public model catalog #
GET /v1/models/{id} Retrieve one public catalog model #
GET /v1/models/stats Relative per-model popularity #
GET /v1/market/stats Live corridor depth, buyer savings, and today's clears #
GET /v1/capacity What is buyable right now, and at what posted prices #
GET /v1/supply/pool/summary Posted-price pool depth (no supplier identity) #

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/pzero-studio:pzero-studio-public-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

pzero-studio-public-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pzero Studio Public API
  version: 1.0.0
  contact:
    url: /
  description: 'Operations tagged public across 2 of this provider''s published API definitions: pzero-studio-openapi.json, pzero-studio-openapi2.json. Each path carries the servers of the definition it was published in.'
servers:
- url: /
  description: Same origin that served this OpenAPI document
tags:
- name: Public
  description: No authentication
paths:
  /llms.txt:
    get:
      tags:
      - Public
      summary: Agent-facing integration guide
      operationId: getLlmsTxt
      responses:
        '200':
          description: Plain-text integration guide
          content:
            text/plain:
              schema:
                type: string
      security: []
    servers:
    - url: /
      description: Same origin that served this OpenAPI document
  /SKILL.md:
    get:
      tags:
      - Public
      summary: Agent skill entry point
      description: 'Loadable agent skill with YAML frontmatter: what PZERO is, when to reach for it, the handful of facts that prevent the common failures, and links onward to llms.txt, pricing.md, marketplace.md and this spec. Deliberately short — llms.txt carries the detail. Also served at /skill.md; the two paths return the same document.'
      operationId: getAgentSkill
      responses:
        '200':
          description: Markdown document with YAML frontmatter
          content:
            text/markdown:
              schema:
                type: string
      security: []
    servers:
    - url: /
      description: Same origin that served this OpenAPI document
  /pricing.md:
    get:
      tags:
      - Public
      summary: How a charge is computed
      description: 'Explains usage price versus clearing price, what maxPriceCentsPerDollar does, and which refusal maps to which fix. Carries no rate tables: live numbers are on GET /v1/models, GET /v1/capacity, and POST /v1/video/quote.'
      operationId: getPricingMarkdown
      responses:
        '200':
          description: Markdown document
          content:
            text/markdown:
              schema:
                type: string
      security: []
    servers:
    - url: /
      description: Same origin that served this OpenAPI document
  /marketplace.md:
    get:
      tags:
      - Public
      summary: How supply is priced and matched
      description: Explains the two-sided market, cheapest-first routing, fall-forward, and the difference between a price constraint and a depth constraint — the distinction behind no_eligible_supply versus insufficient_routable_at_price.
      operationId: getMarketplaceMarkdown
      responses:
        '200':
          description: Markdown document
          content:
            text/markdown:
              schema:
                type: string
      security: []
    servers:
    - url: /
      description: Same origin that served this OpenAPI document
  /openapi.json:
    get:
      tags:
      - Public
      summary: This OpenAPI specification
      operationId: getOpenAPI
      responses:
        '200':
          description: OpenAPI 3.0 document
          content:
            application/json:
              schema:
                type: object
      security: []
    servers:
    - url: /
      description: Same origin that served this OpenAPI document
  /healthz:
    get:
      tags:
      - Public
      summary: Liveness probe
      operationId: getHealthz
      responses:
        '200':
          description: Service is up
          content:
            text/plain:
              schema:
                type: string
                example: ok
      security: []
    servers:
    - url: /
      description: Same origin that served this OpenAPI document
  /v1/models:
    get:
      tags:
      - Public
      summary: Public model catalog
      description: Use a status "live" entry's id (Venice model slug) as the model field in text, image, or video inference. Pricing shape depends on modality.
      operationId: listModels
      responses:
        '200':
          description: Model list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelList'
      security: []
    servers:
    - url: /
      description: Same origin that served this OpenAPI document
  /v1/models/{id}:
    get:
      tags:
      - Public
      summary: Retrieve one public catalog model
      description: 'Same object as that id''s element in GET /v1/models data[]. Accepts a bare Venice slug or an optional pzero/ prefix; the response id is always the bare slug. Membership is list visibility: coming_soon on the list is 200. Unknown, disabled, or not on the list is 404.'
      operationId: getModel
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          example: claude-opus-4-8
        description: Venice model slug, bare or with optional pzero/ prefix.
      responses:
        '200':
          description: One public catalog row
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Model'
        '404':
          $ref: '#/components/responses/NotFound'
      security: []
    servers:
    - url: /
      description: Same origin that served this OpenAPI document
  /v1/models/stats:
    get:
      tags:
      - Public
      summary: Relative per-model popularity
      description: Rank and usage share only; raw request counts, token counts, wallets, and request ids are intentionally omitted. When aggregate volume is below the privacy threshold, hasSufficientVolume is false and models is empty.
      operationId: getModelStats
      parameters:
      - name: window
        in: query
        required: false
        schema:
          type: string
          enum:
          - 24h
          - 7d
          - 30d
          default: 7d
      responses:
        '200':
          description: Popularity stats
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelStats'
        '400':
          $ref: '#/components/responses/BadRequest'
      security: []
    servers:
    - url: /
      description: Same origin that served this OpenAPI document
  /v1/market/stats:
    get:
      tags:
      - Public
      summary: Live corridor depth, buyer savings, and today's clears
      operationId: getMarketStats
      responses:
        '200':
          description: Market statistics
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MarketStats'
      security: []
    servers:
    - url: /
      description: Same origin that served this OpenAPI document
  /v1/capacity:
    get:
      tags:
      - Public
      summary: What is buyable right now, and at what posted prices
      description: 'Pre-flight for agents: GET /v1/models says what is callable, this says what is fundable. Depth comes from the same eligibility predicate the router selects on, so capacity cannot advertise supply the router would refuse. The whole response is cached for 30 seconds, so totals lag posted changes by up to that long. No supplier identity is exposed.'
      operationId: getCapacity
      parameters:
      - name: maxPriceCents
        in: query
        required: false
        schema:
          type: integer
          minimum: 30
          maximum: 80
        description: Narrow the ladder to prices at or below this ask and restate the totals for that slice.
      responses:
        '200':
          description: Routable DIEM per posted price plus live modalities
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Capacity'
        '400':
          $ref: '#/components/responses/BadRequest'
      security: []
    servers:
    - url: /
      description: Same origin that served this OpenAPI document
  /v1/supply/pool/summary:
    get:
      tags:
      - Public
      summary: Posted-price pool depth (no supplier identity)
      operationId: getPoolSummary
      responses:
        '200':
          description: Routable DIEM per posted price
          content:
            application/json:
              schema:
                type: object
                properties:
                  prices:
                    type: array
                    items:
                      $ref: '#/components/schemas/PoolSummaryRow'
      security: []
    servers:
    - url: /
      description: Same origin that served this OpenAPI document
components:
  schemas:
    ModelStats:
      type: object
      description: Relative popularity only. No raw counts.
      properties:
        window:
          type: string
        hasSufficientVolume:
          type: boolean
        models:
          type: array
          items:
            type: object
            properties:
              rank:
                type: integer
              usageShare:
                type: number
            additionalProperties: true
      additionalProperties: true
    Error:
      type: object
      properties:
        error:
          type: string
          description: HTTP status text
        message:
          type: string
    Model:
      type: object
      properties:
        id:
          type: string
          example: claude-opus-4-8
          description: Venice model slug; use as the model field in chat completions
        object:
          type: string
          example: model
        display_name:
          type: string
        status:
          type: string
          enum:
          - live
          - coming_soon
          description: Only live rows are callable and include pricing
        modality:
          type: string
          example: text
        tier:
          type: string
        default_max_output_tokens:
          type:
          - integer
          - 'null'
        max_output_tokens:
          type:
          - integer
          - 'null'
        context_tokens:
          type:
          - integer
          - 'null'
          description: Available context window in tokens from Venice model_spec.availableContextTokens
        capabilities:
          type: array
          items:
            type: string
            enum:
            - reasoning
            - vision
            - audio_input
            - video_input
            - image_generation
            - video_generation
            - code
            - function_calling
        is_beta:
          type: boolean
        is_deprecated:
          type: boolean
        supports_vision:
          type: boolean
        supports_reasoning:
          type: boolean
        optimized_for_code:
          type: boolean
        pricing:
          $ref: '#/components/schemas/ModelPricing'
        constraints:
          type: object
          description: Venice model_spec.constraints on live image and video rows. Keys are present only when the model advertises them.
          properties:
            durations:
              type: array
              items:
                type: string
            resolutions:
              type: array
              items:
                type: string
            aspect_ratios:
              type: array
              items:
                type: string
            audio:
              type: boolean
            model_type:
              type: string
        first_seen_at:
          type: string
          format: date-time
      required:
      - id
      - object
      - display_name
      - status
      - modality
    MarketStats:
      type: object
      description: Live corridor snapshot. DIEM quantities are decimal strings; USDC amounts are decimal strings with six places.
      properties:
        ready:
          type: boolean
        updatedAt:
          type: string
          format: date-time
        corridor:
          type: object
          properties:
            floorCents:
              type: integer
              example: 1
            capCents:
              type: integer
              example: 80
            bucketStepCents:
              type: integer
              example: 10
        availableDepth:
          type: object
          additionalProperties: true
        supplyDepth:
          type: object
          additionalProperties: true
        demandDepth:
          type: object
          additionalProperties: true
        clearedVolumeToday:
          type: object
          additionalProperties: true
        clearPriceCents:
          type: object
          additionalProperties: true
        buyerSavings:
          type: object
          properties:
            avgClearingPriceCents:
              type: number
            avgDiscountVsFacePercent:
              type: number
            clearsCount:
              type: integer
            diemCleared:
              type: string
            grossGmvUsdc:
              type: string
          additionalProperties: true
      additionalProperties: true
    PoolSummaryRow:
      type: object
      properties:
        priceCentsPerDollar:
          type: integer
        routableDiem:
          type: string
          example: '10.000000'
    ModelList:
      type: object
      properties:
        object:
          type: string
          example: list
        data:
          type: array
          items:
            $ref: '#/components/schemas/Model'
    ModelPricing:
      type: object
      description: Micro-USDC per million tokens
      properties:
        input_per_million:
          type: integer
          format: int64
        output_per_million:
          type: integer
          format: int64
        cache_per_million:
          type: integer
          format: int64
    Capacity:
      type: object
      properties:
        generatedAt:
          type: string
          format: date-time
        routableDiem:
          type: string
          description: Total routable DIEM across the eligible ladder
        usdcToBuyAll:
          type: string
          description: USDC needed to clear that whole ladder at posted asks
        cheapestPostedCents:
          type:
          - integer
          - 'null'
        prices:
          type: array
          description: Cheapest posted ask first
          items:
            type: object
            properties:
              priceCentsPerDollar:
                type: integer
              routableDiem:
                type: string
              usdcToBuyAll:
                type: string
        modalities:
          type: object
          description: DIEM is model-agnostic, so a modality gates on the catalog being priced for it, not on separate depth.
          additionalProperties:
            type: object
            properties:
              available:
                type: boolean
              liveModels:
                type: integer
  responses:
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    BadRequest:
      description: Invalid request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Persistent pzero_... API key. Inference only; rejected on account and supply routes.
    sessionCookie:
      type: apiKey
      in: cookie
      name: pzero_session
      description: HttpOnly session cookie from POST /auth/privy/verify. Rejected on POST /v1/chat/completions.
x-refined-from:
- pzero-studio-openapi.json
- pzero-studio-openapi2.json