Pixly Account API

The Account API from Pixly — 2 operation(s) for account.

GitHub OpenAPI

Operations 2

GET /api/v1/account Credit balance and plan #

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/pixly-app:pixly-app-account-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

pixly-app-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pixly Account API
  version: '1'
  summary: Real-estate photo and video tools over plain HTTP.
  description: 'Turn listing photos into staged photos and short videos. Typical flow: POST a tool with imageUrl → if the answer is 202, poll the job until status is "completed" → download resultUrls. Generation tools spend credits from the account''s Pixly balance. Full reference: https://pixly.app/docs.md'
  termsOfService: https://pixly.app/terms
  contact:
    name: Pixly support
    email: support@pixly.app
    url: https://pixly.app/docs
servers:
- url: https://pixly.app
security:
- apiKey: []
- oauth:
  - tools
tags:
- name: Account
paths:
  /api/v1/account:
    get:
      operationId: get_account
      summary: Credit balance and plan
      tags:
      - Account
      responses:
        '200':
          description: The account
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Account'
        '401':
          description: Missing/invalid credential
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited — see Retry-After (120 req/min, 30/min for generations)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /api/v1/checkout:
    post:
      operationId: get_checkout_link
      summary: A Stripe Checkout URL for the account holder to pay on
      description: 'Call when a tool answers 402. Nothing is charged here: the person completes Stripe''s page, credits arrive within seconds, then retry the tool. No active plan → a subscription; active plan → a one-time credit top-up. A subscriber asking for a different plan gets the billing page instead.'
      tags:
      - Account
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $schema: https://json-schema.org/draft/2020-12/schema
              type: object
              properties:
                plan:
                  description: Plan to subscribe to, for an account with no active plan. Defaults to "starter". Ignored for a top-up.
                  type: string
                  enum:
                  - starter
                  - agent
                  - pro_agent
                  - team
                topUpUsd:
                  description: 'For an account that already has a plan: one-time credit top-up amount in USD (10–500, default 10), priced at that plan''s rate.'
                  type: number
                  minimum: 10
                  maximum: 500
      responses:
        '201':
          description: The link
          content:
            application/json:
              schema:
                type: object
                required:
                - kind
                - url
                - summary
                - next
                properties:
                  kind:
                    type: string
                    enum:
                    - subscribe
                    - top_up
                    - manage
                  url:
                    type: string
                    format: uri
                    description: Give this to the user. Expires in 24 hours.
                  summary:
                    type: string
                  priceUsd:
                    type: number
                  credits:
                    type: number
                  next:
                    type: string
                    description: What to do after handing over the link
        '401':
          description: Missing/invalid credential
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Invalid input — error.issues lists the offending fields
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited — see Retry-After (120 req/min, 30/min for generations)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Account:
      type: object
      properties:
        creditsRemaining:
          type: number
        creditsTotal:
          type: number
        plan:
          type:
          - string
          - 'null'
        canUseCredits:
          type: boolean
          description: False = no active plan; tools answer 402
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
            message:
              type: string
              description: Says what to do next
            issues:
              type: array
              items:
                type: object
                properties:
                  path:
                    type: string
                  message:
                    type: string
            required:
              type: number
              description: Credits the run needs (402)
            jobId:
              type: string
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: An API key (pixly_sk_…) created at https://pixly.app/app/settings.
    oauth:
      type: oauth2
      description: OAuth 2.1 with PKCE; public clients, dynamic registration or Client ID Metadata Documents.
      flows:
        authorizationCode:
          authorizationUrl: https://pixly.app/oauth/authorize
          tokenUrl: https://pixly.app/api/oauth/token
          refreshUrl: https://pixly.app/api/oauth/token
          scopes:
            tools: Run Pixly tools with the account's credits; read its jobs and balance