# radio.4000.listTracks

> Published by [4000.radio](https://lexicon.garden/identity/did:plc:hd34khf6wifegm23c2u3cv2d)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:hd34khf6wifegm23c2u3cv2d/radio.4000.listTracks)
- [Documentation](https://lexicon.garden/lexicon/did:plc:hd34khf6wifegm23c2u3cv2d/radio.4000.listTracks/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:hd34khf6wifegm23c2u3cv2d/radio.4000.listTracks/examples)

## Definitions

### `radio.4000.listTracks`

**Type**: `query`

Tracks, newest first, from the whole network or some radios, optionally filtered. Does not require auth.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cursor` | `string` | No |  |
| `limit` | `integer` | No |  |
| `mention` | `string` (handle) | No | Only tracks whose description @mentions this handle. |
| `q` | `string` | No | Words to find in titles and descriptions. |
| `radios` | `array` | No | Only tracks of these radios. |
| `tags` | `array` | No | Only tracks with all these #tags (without #). |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cursor` | `string` | No |  |
| `tracks` | `array` | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Tracks, newest first, from the whole network or some radios, optionally filtered. Does not require auth.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "tracks": {
              "items": {
                "ref": "radio.4000.defs#trackView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "tracks"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "mention": {
            "description": "Only tracks whose description @mentions this handle.",
            "format": "handle",
            "type": "string"
          },
          "q": {
            "description": "Words to find in titles and descriptions.",
            "maxLength": 300,
            "type": "string"
          },
          "radios": {
            "description": "Only tracks of these radios.",
            "items": {
              "format": "did",
              "type": "string"
            },
            "maxLength": 100,
            "type": "array"
          },
          "tags": {
            "description": "Only tracks with all these #tags (without #).",
            "items": {
              "maxLength": 640,
              "type": "string"
            },
            "maxLength": 10,
            "type": "array"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "radio.4000.listTracks",
  "lexicon": 1
}
```
