Tensor Pools API

The Pools API from Tensor — 7 operation(s) for pools.

Operations 7

GET /api/v1/pools/tswap TSwap Pools #
GET /api/v1/pools/tamm TAmm Pools #
GET /api/v1/tx/pool/create Build Create Pool Transaction #
GET /api/v1/tx/pool/edit Build Edit Pool Transaction #
GET /api/v1/tx/pool/close Build Close Pool Transaction #
GET /api/v1/tx/pool/deposit Build Pool Deposit Transaction #
GET /api/v1/tx/pool/withdraw Build Pool Withdraw Transaction #

Documentation

Specifications

Schemas & Data

Other Resources

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/tensor-pools-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

tensor-pools-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tensor Bids Pools API
  version: '1.0'
  description: 'Read-only REST surface for the Tensor Solana NFT marketplace. Covers collections,

    NFT mint metadata, active listings, bids (collection / single-NFT / trait), TSwap

    and TAmm pool state, user portfolios, transaction history, royalty enforcement

    metadata, priority fee oracle, and whitelist verification.


    All endpoints require an `x-tensor-api-key` header. Request access at

    https://dev.tensor.trade and follow the Airtable signup flow linked from the

    Tensor Developer Hub.


    Operation paths in this spec are illustrative resource-oriented routes mirroring

    the published reference at https://dev.tensor.trade/reference. Consult the live

    reference for canonical request and response payload field names.

    '
  termsOfService: https://tensor.trade/legal/terms-of-service
  contact:
    name: Tensor Developer Hub
    url: https://dev.tensor.trade
  license:
    name: Proprietary
    url: https://tensor.trade/legal/terms-of-service
servers:
- url: https://api.mainnet.tensordev.io
  description: Mainnet REST API
security:
- ApiKeyAuth: []
tags:
- name: Pools
paths:
  /api/v1/pools/tswap:
    get:
      tags:
      - Pools
      summary: TSwap Pools
      operationId: getTswapPools
      parameters:
      - name: slug
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: TensorSwap (v1) pools for the collection.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Pool'
  /api/v1/pools/tamm:
    get:
      tags:
      - Pools
      summary: TAmm Pools
      operationId: getTammPools
      parameters:
      - name: slug
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: TensorAMM (v2) pools for the collection.
  /api/v1/tx/pool/create:
    get:
      tags:
      - Pools
      summary: Build Create Pool Transaction
      operationId: buildCreatePoolTx
      description: Open a TensorAMM v2 bonding-curve pool.
      parameters:
      - name: owner
        in: query
        required: true
        schema:
          type: string
      - name: slug
        in: query
        required: true
        schema:
          type: string
      - name: poolType
        in: query
        required: true
        schema:
          type: string
          enum:
          - Buy
          - Sell
          - TwoSided
      - name: curveType
        in: query
        required: true
        schema:
          type: string
          enum:
          - Linear
          - Exponential
      - name: startingPrice
        in: query
        required: true
        schema:
          type: string
      - name: delta
        in: query
        required: true
        schema:
          type: string
      - name: mmFeeBps
        in: query
        schema:
          type: integer
      responses:
        '200':
          $ref: '#/components/responses/UnsignedTx'
  /api/v1/tx/pool/edit:
    get:
      tags:
      - Pools
      summary: Build Edit Pool Transaction
      operationId: buildEditPoolTx
      parameters:
      - name: pool
        in: query
        required: true
        schema:
          type: string
      - name: owner
        in: query
        required: true
        schema:
          type: string
      - name: startingPrice
        in: query
        schema:
          type: string
      - name: delta
        in: query
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/UnsignedTx'
  /api/v1/tx/pool/close:
    get:
      tags:
      - Pools
      summary: Build Close Pool Transaction
      operationId: buildClosePoolTx
      parameters:
      - name: pool
        in: query
        required: true
        schema:
          type: string
      - name: owner
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/UnsignedTx'
  /api/v1/tx/pool/deposit:
    get:
      tags:
      - Pools
      summary: Build Pool Deposit Transaction
      operationId: buildPoolDepositTx
      parameters:
      - name: pool
        in: query
        required: true
        schema:
          type: string
      - name: owner
        in: query
        required: true
        schema:
          type: string
      - name: amount
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/UnsignedTx'
  /api/v1/tx/pool/withdraw:
    get:
      tags:
      - Pools
      summary: Build Pool Withdraw Transaction
      operationId: buildPoolWithdrawTx
      parameters:
      - name: pool
        in: query
        required: true
        schema:
          type: string
      - name: owner
        in: query
        required: true
        schema:
          type: string
      - name: amount
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/UnsignedTx'
components:
  responses:
    UnsignedTx:
      description: Base64-encoded unsigned Solana transaction ready for client-side signing.
      content:
        application/json:
          schema:
            type: object
            required:
            - txs
            properties:
              txs:
                type: array
                items:
                  type: object
                  required:
                  - tx
                  properties:
                    tx:
                      type: string
                      description: Base64-encoded serialized Solana versioned transaction.
                    lastValidBlockHeight:
                      type: integer
              metadata:
                type: object
                additionalProperties: true
  schemas:
    Pool:
      $ref: ../json-schema/tensor-pool-schema.json
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-tensor-api-key