Skip to main content
GET
/
v1
/
coins
/
list
/
popular
Get popular coins
import { ParagraphAPI } from "@paragraph-com/sdk"

const api = new ParagraphAPI()
const { items: coins } = await api.coins.get({ sortBy: "popular" })
{
  "coins": [
    {
      "id": "<string>",
      "contractAddress": "<string>",
      "metadata": {
        "name": "<string>",
        "symbol": "<string>",
        "decimals": 123,
        "description": "<string>",
        "chainId": 123,
        "external_url": "<string>",
        "links": [
          {
            "name": "<string>",
            "url": "<string>"
          }
        ],
        "tags": [
          "<string>"
        ],
        "extensions": {
          "coinType": "<string>",
          "paragraph": {
            "blogId": "<string>",
            "blogUrl": "<string>",
            "authorName": "<string>",
            "noteId": "<string>",
            "postSlug": "<string>"
          }
        },
        "attributes": [
          {
            "trait_type": "<string>",
            "value": "<string>"
          }
        ],
        "image": "<string>",
        "logoURI": "<string>"
      }
    }
  ]
}

Response

Popular coins retrieved successfully

coins
object[]
required