Skip to main content
GET
/
v1
/
nft
/
trending
Get the most popular NFT collections right now
curl --request GET \
  --url https://api.coinstats.app/v1/nft/trending \
  --header 'X-API-KEY: <api-key>'
import requests

url = "https://api.coinstats.app/v1/nft/trending"

headers = {"X-API-KEY": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};

fetch('https://api.coinstats.app/v1/nft/trending', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.coinstats.app/v1/nft/trending",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.coinstats.app/v1/nft/trending"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("X-API-KEY", "<api-key>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.coinstats.app/v1/nft/trending")
.header("X-API-KEY", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.coinstats.app/v1/nft/trending")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'

response = http.request(request)
puts response.read_body
{
  "meta": {
    "page": 2,
    "limit": 20,
    "itemCount": 150,
    "pageCount": 8,
    "hasPreviousPage": true,
    "hasNextPage": true
  },
  "data": [
    {
      "address": "0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d",
      "description": "The Bored Ape Yacht Club is a collection of 10,000 unique Bored Ape NFTs— unique digital collectibles living on the Ethereum blockchain.",
      "name": "Bored Ape Yacht Club",
      "bannerImg": "https://static.coinstats.app/nft/collection/6490c15716994ae311b3dc0639e74f8f/banner/lg.webp",
      "blockchain": "ethereum",
      "img": "https://static.coinstats.app/nft/collection/6490c15716994ae311b3dc0639e74f8f/main/lg.webp",
      "relevantUrls": [
        {
          "name": "Etherscan",
          "url": "https://etherscan.io/address/0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d"
        }
      ],
      "slug": "bored-ape-yacht-club",
      "slugCs": "bored_ape_yacht_club",
      "source": "opensea",
      "verified": true,
      "rank": 1,
      "rankAll": 5,
      "averagePrice": 14.5,
      "count": 10000,
      "floorPriceMc": 12.8,
      "floorPriceUsd": 25600,
      "mainCurrencyId": "ethereum",
      "marketcapMc": 128000,
      "marketcapUsd": 256000000,
      "oneDayAveragePrice": 13.2,
      "oneDaySales": 15,
      "ownersCount": 4309,
      "sevenDayAveragePrice": 12.85,
      "sevenDaySales": 87,
      "thirtyDayAveragePrice": 13.45,
      "thirtyDaySales": 342,
      "thirtyDayVolume": 4598.5,
      "totalSales": 85432,
      "totalSupply": 10000,
      "totalVolume": 125000,
      "volumeMc24h": 245.8,
      "volumeMc7d": 1685.3,
      "volumeUsd24h": 491600,
      "volumeUsd7d": 3370600,
      "floorPriceChange24h": 5.2,
      "floorPriceChange7d": -12.5,
      "marketcapChange24h": 8.3,
      "marketcapChange7d": -7.1,
      "volumeChange24h": 125.4,
      "volumeChange7d": 45.8,
      "ownersCountChange24h": 12,
      "ownersCountChange7d": 87,
      "salesInProfit": 78,
      "salesInProfitChange24h": 5,
      "salesInProfitChange7d": 23,
      "oneDayChange": 3.8,
      "transactionsUpdateDate": "2024-01-15T14:30:25.123Z",
      "sevenDayChange": 15.2,
      "thirtyDayChange": -8.5,
      "listedCount": 489,
      "show": true,
      "creatorFee": 250,
      "volume": 12845.7,
      "createdDate": "2021-04-30T12:00:00.000Z"
    }
  ]
}
{
"statusCode": 400,
"message": "Bad Request",
"requestId": "11111111-2222-3333-4444-555555555555",
"path": "<requested-endpoint>"
}
{
"statusCode": 401,
"message": "Unauthorized",
"requestId": "11111111-2222-3333-4444-555555555555",
"path": "<requested-endpoint>"
}
{
"statusCode": 403,
"message": "Forbidden",
"requestId": "11111111-2222-3333-4444-555555555555",
"path": "<requested-endpoint>"
}
{
"statusCode": 404,
"message": "Not Found",
"requestId": "11111111-2222-3333-4444-555555555555",
"path": "<requested-endpoint>"
}
{
"statusCode": 409,
"message": "Transactions not synced",
"requestId": "11111111-2222-3333-4444-555555555555",
"path": "<requested-endpoint>"
}
{
"statusCode": 429,
"message": "Rate limit exceeded",
"requestId": "11111111-2222-3333-4444-555555555555",
"path": "<requested-endpoint>"
}
{
"statusCode": 503,
"message": "Service Unavailable. Please Contact Support"
}
2 credits per request

  • Top trending collections by volume and activity
  • Floor prices and market caps
  • Collection statistics and metadata
  • Trading volume and price trends
  • Recent sales volume
  • Market activity
  • Social engagement
  • Price movement
  • page & limit: Control pagination.

Authorizations

X-API-KEY
string
header
required

API key required to access the endpoints. Generate one from your dashboard at https://openapi.coinstats.app and pass it in the X-API-KEY request header. Never expose your key in client-side code.

Query Parameters

page
number

Page number to retrieve (1-based indexing)

Example:

1

limit
number

Number of NFT items to return per page

Example:

20

Response

meta
object
required
data
object[]