For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Trending Tokens

Discover CoinVera’s Trend endpoint for real-time insights into the top trending Solana tokens—filterable by time window and result count.

Identify the hottest Solana tokens over a recent timeframe. Use the Trend endpoint to retrieve a ranked list of tokens sorted by activity, volume, or momentum.

Endpoint

GET https://api.coinvera.io/api/v1/trend

Authentication Include your API key in the request header:

x-api-key: <YOUR_API_KEY>

Query Parameters

Parameter
Type
Required
Description

hour

number

✅

Lookback window in hours (e.g. 1, 6, 24).

limit

number

✅

Maximum number of tokens to return (e.g. 10, 50).

Direct URL Example

https://api.coinvera.io/api/v1/trend?hour=6&limit=20

…plus your x-api-key header.


Code Examples

const axios = require('axios');

const x_api_key = "";

// Configuration
const hour = 24;  // Change this to 1, 6, 12, or 24 hours
const limit = 10; // Number of results to return

async function getTrend(hour, limit) {
    try {
        const url = `https://api.coinvera.io/api/v1/trend?x-api-key=${x_api_key}&hour=${hour}&limit=${limit}`;
        const response = await axios.get(url);
        return { hour, limit, ...response.data };
    } catch (err) {
        return { hour, limit, error: err.message };
    }
}

async function fetchTrend() {
    const result = await getTrend(hour, limit);
    
    if (result.error) {
        console.log(`Error for ${result.hour}h trend (limit: ${result.limit}): ${result.error}`);
    } else {
        console.log(`Trend data for ${result.hour}h (limit: ${result.limit}):`);
        console.log(JSON.stringify(result, null, 2));
    }
}

fetchTrend();

Example Response


Tip: Try different hour windows to capture short-term spikes or longer-term trends, and adjust limit to tailor the size of your results list.

Last updated