---
agentTools:
  projectIndex: https://ociswap.readme.io/llms.txt
---

# Returns a paginated list of tokens on Ociswap

Returns a paginated list of tokens on Ociswap

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "0.6.1",
    "title": "Ociswap API",
    "description": "Ociswap API",
    "license": {
      "name": "MIT License",
      "url": "https://api.ociswap.com/license"
    }
  },
  "servers": [
    {
      "url": "https://api.ociswap.com"
    }
  ],
  "security": [],
  "paths": {
    "/tokens": {
      "get": {
        "operationId": "tokens",
        "description": "Returns a paginated list of tokens on Ociswap",
        "summary": "Returns a paginated list of tokens on Ociswap",
        "parameters": [
          {
            "name": "cursor",
            "in": "query",
            "description": "Use this cursor to paginate through the list of items. Provide the next_cursor value from a previous response to retrieve the next set of results.",
            "schema": {
              "type": "integer",
              "default": 0
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Specifies the maximum number of items to be returned per page. Adjust this value to control the number of results shown in each response.",
            "schema": {
              "type": "integer",
              "default": 10,
              "maximum": 100
            }
          },
          {
            "name": "order",
            "in": "query",
            "description": "Order items by a field.",
            "schema": {
              "type": "string",
              "enum": [
                "rank",
                "listed_at",
                "created_at",
                "trending",
                "liquidity_xrd",
                "total_value_locked_xrd",
                "liquidity_usd",
                "total_value_locked_usd",
                "volume_xrd_7d",
                "volume_xrd_24h",
                "volume_xrd_1h",
                "volume_usd_7d",
                "volume_usd_24h",
                "volume_usd_1h",
                "price_xrd_now",
                "price_usd_now",
                "market_cap_circulating_xrd_now",
                "market_cap_circulating_usd_now",
                "price_xrd_percent_change_24h",
                "price_usd_percent_change_24h",
                "price_xrd_percent_change_7d",
                "price_usd_percent_change_7d"
              ],
              "default": "rank"
            }
          },
          {
            "name": "direction",
            "in": "query",
            "description": "Specify the direction of the ordering. By default, ordering is ascending.",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ],
              "default": "asc"
            }
          },
          {
            "name": "query",
            "in": "query",
            "description": "Fuzzy search for tokens by their name or symbol",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "min_liquidity_usd",
            "in": "query",
            "description": "Filter tokens by minimum liquidity in USD",
            "schema": {
              "type": "number",
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/TokenOverview"
                      }
                    },
                    "next_cursor": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request",
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "description": "An unexpected error occured",
            "$ref": "#/components/responses/Error"
          }
        }
      }
    }
  },
  "components": {
    "responses": {
      "Error": {
        "description": "Error response",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "required": [
                "error"
              ],
              "properties": {
                "error": {
                  "type": "string",
                  "description": "Error message"
                }
              }
            }
          }
        }
      }
    },
    "schemas": {
      "ResourceAddress": {
        "description": "Bech32m-encoded human readable version of the resource (fungible, non-fungible) global address or hex-encoded id.",
        "type": "string"
      },
      "Decimal": {
        "description": "String-encoded decimal representing the amount of a related fungible resource.",
        "type": "string",
        "format": "decimal"
      },
      "TokenOverview": {
        "type": "object",
        "required": [
          "address",
          "name",
          "symbol"
        ],
        "properties": {
          "address": {
            "$ref": "#/components/schemas/ResourceAddress"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "listed_at": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "rank": {
            "type": "integer"
          },
          "icon_url": {
            "type": "string"
          },
          "market_cap": {
            "$ref": "#/components/schemas/MarketCap"
          },
          "price": {
            "$ref": "#/components/schemas/BaseAmountsTimes"
          },
          "volume": {
            "$ref": "#/components/schemas/AmountsIntervals"
          }
        }
      },
      "MarketCap": {
        "type": "object",
        "properties": {
          "circulating": {
            "$ref": "#/components/schemas/BaseAmountsTimes"
          },
          "fully_diluted": {
            "$ref": "#/components/schemas/BaseAmountsTimes"
          }
        }
      },
      "ValueTimes": {
        "type": "object",
        "properties": {
          "now": {
            "$ref": "#/components/schemas/Decimal"
          },
          "1h": {
            "$ref": "#/components/schemas/Decimal"
          },
          "24h": {
            "$ref": "#/components/schemas/Decimal"
          },
          "7d": {
            "$ref": "#/components/schemas/Decimal"
          },
          "percent_change": {
            "$ref": "#/components/schemas/PercentChange"
          }
        }
      },
      "PercentChange": {
        "type": "object",
        "properties": {
          "24h": {
            "$ref": "#/components/schemas/Decimal"
          },
          "7d": {
            "$ref": "#/components/schemas/Decimal"
          }
        }
      },
      "ValueIntervals": {
        "type": "object",
        "properties": {
          "1h": {
            "$ref": "#/components/schemas/Decimal"
          },
          "24h": {
            "$ref": "#/components/schemas/Decimal"
          },
          "7d": {
            "$ref": "#/components/schemas/Decimal"
          },
          "total": {
            "$ref": "#/components/schemas/Decimal"
          }
        }
      },
      "BaseAmountsTimes": {
        "type": "object",
        "properties": {
          "xrd": {
            "$ref": "#/components/schemas/ValueTimes"
          },
          "usd": {
            "$ref": "#/components/schemas/ValueTimes"
          }
        }
      },
      "AmountsIntervals": {
        "type": "object",
        "properties": {
          "token": {
            "$ref": "#/components/schemas/ValueIntervals"
          },
          "xrd": {
            "$ref": "#/components/schemas/ValueIntervals"
          },
          "usd": {
            "$ref": "#/components/schemas/ValueIntervals"
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 101,
      "1": 18,
      "2": 175,
      "3": 145,
      "4": 46,
      "5": 146,
      "6": 246,
      "7": 0,
      "8": 30,
      "9": 1,
      "10": 34,
      "11": 138
    }
  }
}
```