PumpView Trading API

The Trading API from PumpView — 4 operation(s) for trading.

GitHub OpenAPI

Operations 4

POST /v1/swaps/build Swap Build #
GET /v1/swaps/usage Trading Usage #
POST /v1/swaps/{swap_id}/submit Swap Submit #
GET /v1/swaps/{swap_id} Swap Status #

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/pumpview-fun:pumpview-fun-trading-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

pumpview-fun-trading-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pumpview Fun Trading API
  version: 0.1.0
  description: 'Operations tagged Trading across 2 of this provider''s published API definitions: pumpview-fun-api-openapi.json, pumpview-fun-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Trading
paths:
  /v1/swaps/build:
    post:
      tags:
      - Trading
      summary: Swap Build
      description: Prepare and simulate an ExactIn swap. Free API access; client signs locally.
      operationId: swap_build_v1_swaps_build_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SwapBuild'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/swaps/usage:
    get:
      tags:
      - Trading
      summary: Trading Usage
      description: All-time confirmed swap volume for this account and its API keys. USD is a build-time price estimate.
      operationId: trading_usage_v1_swaps_usage_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/swaps/{swap_id}/submit:
    post:
      tags:
      - Trading
      summary: Swap Submit
      description: Broadcast only the original signed transaction through Kolibrio. Check status after a timeout.
      operationId: swap_submit_v1_swaps__swap_id__submit_post
      parameters:
      - name: swap_id
        in: path
        required: true
        schema:
          type: string
          title: Swap Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SwapSubmit'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/swaps/{swap_id}:
    get:
      tags:
      - Trading
      summary: Swap Status
      description: Read the status of this account's swap. Never creates a replacement trade.
      operationId: swap_status_v1_swaps__swap_id__get
      parameters:
      - name: swap_id
        in: path
        required: true
        schema:
          type: string
          title: Swap Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SwapBuild:
      properties:
        request_id:
          type: string
          maxLength: 80
          minLength: 16
          pattern: ^[A-Za-z0-9_-]+$
          title: Request Id
        wallet:
          type: string
          maxLength: 44
          minLength: 32
          title: Wallet
        input_mint:
          type: string
          maxLength: 44
          minLength: 3
          title: Input Mint
        output_mint:
          type: string
          maxLength: 44
          minLength: 3
          title: Output Mint
        amount:
          type: string
          pattern: ^[1-9][0-9]{0,19}$
          title: Amount
          description: Exact input in integer atomic units, encoded as a JSON string.
        slippage_bps:
          type: integer
          maximum: 10000.0
          minimum: 0.0
          title: Slippage Bps
          description: 100 bps = 1%. Explicitly chosen by the signer.
        tip_lamports:
          type: integer
          maximum: 1000000000.0
          minimum: 2000000.0
          title: Tip Lamports
          default: 2000000
        max_priority_fee_lamports:
          type: integer
          maximum: 100000000.0
          minimum: 0.0
          title: Max Priority Fee Lamports
          default: 1000000
      additionalProperties: false
      type: object
      required:
      - request_id
      - wallet
      - input_mint
      - output_mint
      - amount
      - slippage_bps
      title: SwapBuild
    SwapSubmit:
      properties:
        signed_transaction_base64:
          type: string
          maxLength: 1800
          minLength: 100
          title: Signed Transaction Base64
      additionalProperties: false
      type: object
      required:
      - signed_transaction_base64
      title: SwapSubmit
    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
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
x-refined-from:
- pumpview-fun-api-openapi.json
- pumpview-fun-openapi.json