Data

Token Comments

Fetch comments for a token by contract address or numeric project ID. Hidden comments are excluded. Uses offset pagination.

GET
/api/v1/tokens/{address}/comments
Get paginated comments for a token. The address param accepts a contract address or numeric project ID.
Auth: API Key required

Query Parameters

ParamTypeDescription
pagenumberPage number (default: 1)
limitnumberItems per page (default: 20, max: 100)

Response

Response
{
  "data": [
    {
      "id": 1,
      "author": "0x...",
      "content": "Great project!",
      "tradeType": "buy",
      "txHash": "0x...",
      "createdAt": "2026-01-01T00:00:00.000Z"
    }
  ],
  "pagination": {
    "total": 15,
    "page": 1,
    "limit": 20,
    "hasMore": false
  }
}
200 OK404 Token not found
Example Code
// Get comments by contract address (also accepts numeric project ID)
const res = await fetch(
  "https://launchonbasis.com/api/v1/tokens/0xTokenAddress/comments?page=1&limit=20",
  { headers: { "X-API-Key": "bsk_your_key" } }
);
const { data, pagination } = await res.json();