---
title: "Top.gg API: Tags | Perceptlayer"
description: "Tags from Top.gg as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/topgg/tags
---

[APIs](https://perceptlayer.com/apis) / [Top.gg](https://perceptlayer.com/apis/topgg) / Tags

# Top.gg: Tags

Tags from Top.gg as JSON. 1 credit per successful call.

GET `/v1/topgg/tags`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | Required | Up to 200 characters |
| `locale` | string | Optional | en, de |
| `type` | string | Optional | BOT, SERVER |

## Example request

Top.gg

GET /v1/topgg/tags?query=music 

```
{
  "success": true,
  "data": {
    "items": [
      {
        "slug": "music",
        "name": "Music",
        "count": 53261
      },
      {
        "slug": "discord-music-bot",
        "name": "discord music bot",
        "count": 4015
      },
      {
        "slug": "247-music",
        "name": "24/7 music",
        "count": 3443
      }
    ],
    "count": 20
  },
  "meta": {
    "filters": {
      "query": "music",
      "locale": "en",
      "type": "BOT"
    },
    "endpoint_family": "tags",
    "upstream_requests": 1,
    "duration_ms": 461
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded 30 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/topgg?try=tags#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

Each item in `data.items` has these 3 fields, read from a recorded call that returned 20 items. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `slug` | string |
| `name` | string |
| `count` | integer |
