Tokens

ℹ️ We use the term clubs and tokens interchangeably. We will migrate to using tokens in the future.

Get active tokens

Returns a list of active tokens from the launchpad

GET https://app.onbons.ai/api/clubs/get-clubs?page=0

{
    "clubs": [
        {
            "id": "0xac",
            "clubId": "172",
            "creator": "0x21af1185734d213d45c6236146fb81e2b0e8b821",
            "initialSupply": "10000000000000000000000000",
            "createdAt": "1738601677",
            "supply": "800000000000000000000000000",
            "feesEarned": "0",
            "currentPrice": "49",
            "marketCap": "39200000000",
            "complete": true,
            "completedAt": 1738605313,
            "liquidity": "21053000633",
            "liquidityReleasedAt": 1738609745,
            "name": "AGI",
            "symbol": "AGI",
            "uri": "https://www.storj-ipfs.com/ipfs/bafybeibzyt7d6nbgyxsmyioimbpcwkwpbfqzgyiwllb5xjjwd5umxkhyyy",
            "cliffPercent": "5000",
            "vestingDuration": "7200",
            "tokenAddress": "0xff3ffe5df8312a570989b6b982a6bd2813151d3a",
            "v2": true,
            "token": {
                "name": "AGI",
                "symbol": "AGI",
                "image": "https://www.storj-ipfs.com/ipfs/bafybeibzyt7d6nbgyxsmyioimbpcwkwpbfqzgyiwllb5xjjwd5umxkhyyy"
            },
            "creatorPubId": "0x088d93-0x022c-DA-74eae0c2"
        }
    ]
}

Get trading info for a token

Returns trading info for a given token including liquidity, token price, etc.

All values related to value are in USDC, 6 decimals of precision.

ℹ️ Queries Lens Chain tokens by default. Include query param chain=base for Base tokens.

GET https://app.onbons.ai/api/clubs/get-trading-info?clubId=183

{
    "id": "0xb7",
    "v2": true,
    "complete": false,
    "name": "LaMiss",
    "symbol": "LaMiss",
    "image": "https://www.storj-ipfs.com/ipfs/bafybeiajbqm2wsi3nu7svyo4vmlvwwkfza33yvgl3gz3v7h7qbqjppuxxu",
    "createdAt": "1738736467",
    "buyPrice": "12",
    "volume24Hr": "52064699",
    "liquidity": "2327055599",
    "marketCap": "2327055599",
    "holders": "17",
    "priceDeltas": {
        "24h": "0",
        "6h": "0",
        "1h": "0",
        "5m": "0"
    },
    "cliffPercent": 10,
    "vestingDurationSeconds": "7200",
    "hook": "0x8dd4c756f183513850e874f7d1ffd0d7cb498080",
    "tokenAddress": "0x8468f9ee7c2275313979c3042166f325b1da5094",
    "liquidityReleasedAt": null
}

Returns the single token that has the most buys in the last 100 trades on the launchpad

ℹ️ Queries Lens Chain tokens by default. Include query param chain=base for Base tokens.

GET https://app.onbons.ai/api/clubs/get-trending-club

{
    "__typename": "Club",
    "id": "0xb7",
    "creator": "0x680c1f699d5ae441a2b60fb5ef63facbf470b4af",
    "createdAt": "1738736467",
    "initialSupply": "0",
    "supply": "187906445724117831733675942",
    "feesEarned": "0",
    "currentPrice": "12",
    "marketCap": "2254877348",
    "liquidity": "2327055599",
    "complete": false,
    "completedAt": null,
    "liquidityReleasedAt": null,
    "tokenInfo": null,
    "tokenAddress": "0x8468f9ee7c2275313979c3042166f325b1da5094",
    "creatorFees": "43208110",
    "holders": "17",
    "v2": true,
    "name": "LaMiss",
    "symbol": "LaMiss",
    "uri": "https://www.storj-ipfs.com/ipfs/bafybeiajbqm2wsi3nu7svyo4vmlvwwkfza33yvgl3gz3v7h7qbqjppuxxu",
    "cliffPercent": "1000",
    "vestingDuration": "7200",
    "hook": "0x8dd4c756f183513850e874f7d1ffd0d7cb498080",
    "prevTrade24h": [
        {
            "__typename": "Trade",
            "price": "12",
            "prevPrice": "12",
            "createdAt": "1738785329"
        }
    ],
    "prevTrade6h": [],
    "prevTrade1h": [],
    "prevTrade5m": [],
    "24h": {
        "__typename": "Trade",
        "price": "12",
        "prevPrice": "12",
        "createdAt": "1738785329"
    },
    "token": {
        "name": "LaMiss",
        "symbol": "LaMiss",
        "image": "https://www.storj-ipfs.com/ipfs/bafybeiajbqm2wsi3nu7svyo4vmlvwwkfza33yvgl3gz3v7h7qbqjppuxxu"
    },
    "creatorStrategy": "lens",
    "creatorPubId": "0x088d93-0x0233-DA-66f74254",
    "creatorHandle": "0x680c1F699D5AE441A2b60FB5ef63faCbf470B4af",
    "creatorProfileId": null
}

Last updated