4Paradigm Account API

The account API from 4Paradigm — 3 operation(s) for account.

Operations 6

GET /account get account list #
POST /account/{userid} create user account #
DELETE /account/{userid} delete user account #
PUT /account/{userid} update user account info #
GET /account/{userid}/balance get user account balance #
POST /account/{userid}/balance modify user account balance #

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/4paradigm-account-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

4paradigm-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pineapple-billing Account API
  description: Pineapple-billing
  version: 0.0.2
servers:
- url: http://127.0.0.1:4321/api
security:
- ApiKeyAuth: []
tags:
- name: Account
paths:
  /account:
    get:
      tags:
      - Account
      summary: get account list
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AccountInfo'
        400:
          $ref: '#/components/responses/RequestError'
        500:
          $ref: '#/components/responses/ServerError'
      operationId: getAccount
      x-operation-id-source: derived
  /account/{userid}:
    parameters:
    - in: path
      name: userid
      schema:
        type: string
      description: user id
    post:
      tags:
      - Account
      summary: create user account
      parameters:
      - in: query
        name: callback_url
        schema:
          type: string
        required: true
      - in: query
        name: balance
        schema:
          type: number
          format: double
        required: false
      responses:
        200:
          description: OK
        400:
          $ref: '#/components/responses/RequestError'
        500:
          $ref: '#/components/responses/ServerError'
      operationId: postAccountByUserid
      x-operation-id-source: derived
    delete:
      tags:
      - Account
      summary: delete user account
      responses:
        200:
          description: OK
        400:
          $ref: '#/components/responses/RequestError'
        500:
          $ref: '#/components/responses/ServerError'
      operationId: deleteAccountByUserid
      x-operation-id-source: derived
    put:
      tags:
      - Account
      summary: update user account info
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AccountInfo'
      responses:
        200:
          description: OK
        400:
          $ref: '#/components/responses/RequestError'
        500:
          $ref: '#/components/responses/ServerError'
      operationId: putAccountByUserid
      x-operation-id-source: derived
  /account/{userid}/balance:
    parameters:
    - in: path
      name: userid
      schema:
        type: string
      description: user id
    get:
      tags:
      - Account
      summary: get user account balance
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                type: number
                format: double
        400:
          $ref: '#/components/responses/RequestError'
        500:
          $ref: '#/components/responses/ServerError'
      operationId: getAccountByUseridBalance
      x-operation-id-source: derived
    post:
      tags:
      - Account
      summary: modify user account balance
      parameters:
      - in: query
        name: buy_balance
        schema:
          type: number
          format: double
        required: true
      responses:
        200:
          description: OK
        400:
          $ref: '#/components/responses/RequestError'
        500:
          $ref: '#/components/responses/ServerError'
      operationId: postAccountByUseridBalance
      x-operation-id-source: derived
components:
  responses:
    RequestError:
      description: http request error
      content:
        application/json:
          schema:
            type: object
            properties:
              content:
                type: object
              message:
                type: string
              type:
                type: string
    ServerError:
      description: server error
      content:
        text/plain:
          schema:
            type: string
          example: Something went wrong.
  schemas:
    AccountInfo:
      type: object
      properties:
        userID:
          type: string
        balance:
          type: number
          format: double
        callback_url:
          type: string
        computeunit_group:
          type: array
          items:
            type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization