PancakeSwap · Schema

PancakeSwap Trading Pair

Schema for a PancakeSwap V2 liquidity trading pair

DeFiDEXBNB ChainDecentralized ExchangeBlockchainSwapLiquidityYield FarmingNFTWeb3

Properties

Name Type Description
pair_address string Contract address of the liquidity pair
base_name string Full name of the base token
base_symbol string Symbol of the base token
base_address string Contract address of the base token
quote_name string Full name of the quote token
quote_symbol string Symbol of the quote token
quote_address string Contract address of the quote token
price string Current price of base token in quote token
base_volume string 24-hour base token trading volume
quote_volume string 24-hour quote token trading volume
liquidity string Total liquidity in USD
liquidity_BNB string Total liquidity denominated in BNB
View JSON Schema on GitHub

JSON Schema

pair.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/pancakeswap/main/json-schema/pair.json",
  "title": "PancakeSwap Trading Pair",
  "description": "Schema for a PancakeSwap V2 liquidity trading pair",
  "type": "object",
  "properties": {
    "pair_address": {
      "type": "string",
      "description": "Contract address of the liquidity pair",
      "pattern": "^0x[a-fA-F0-9]{40}$",
      "example": "0xA527a61703D82139F8a06Bc30097cC9CAA2df5A6"
    },
    "base_name": {
      "type": "string",
      "description": "Full name of the base token",
      "example": "PancakeSwap Token"
    },
    "base_symbol": {
      "type": "string",
      "description": "Symbol of the base token",
      "example": "CAKE"
    },
    "base_address": {
      "type": "string",
      "description": "Contract address of the base token",
      "pattern": "^0x[a-fA-F0-9]{40}$",
      "example": "0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82"
    },
    "quote_name": {
      "type": "string",
      "description": "Full name of the quote token",
      "example": "Wrapped BNB"
    },
    "quote_symbol": {
      "type": "string",
      "description": "Symbol of the quote token",
      "example": "WBNB"
    },
    "quote_address": {
      "type": "string",
      "description": "Contract address of the quote token",
      "pattern": "^0x[a-fA-F0-9]{40}$",
      "example": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"
    },
    "price": {
      "type": "string",
      "description": "Current price of base token in quote token",
      "example": "5.32"
    },
    "base_volume": {
      "type": "string",
      "description": "24-hour base token trading volume",
      "example": "100000.00"
    },
    "quote_volume": {
      "type": "string",
      "description": "24-hour quote token trading volume",
      "example": "1400.00"
    },
    "liquidity": {
      "type": "string",
      "description": "Total liquidity in USD",
      "example": "1000000.00"
    },
    "liquidity_BNB": {
      "type": "string",
      "description": "Total liquidity denominated in BNB",
      "example": "2800.00"
    }
  },
  "required": [
    "pair_address",
    "base_name",
    "base_symbol",
    "base_address",
    "quote_name",
    "quote_symbol",
    "quote_address",
    "price",
    "base_volume",
    "quote_volume",
    "liquidity",
    "liquidity_BNB"
  ]
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/pair"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.