# computer.localnetwork.directory.searchArtists

> Find artists the directory's DJs played, most supported first, with their supports over every set (no track minimum).

- Kind: query
- Authority: directory.localnetwork.computer
- Lexicon: 1
- Published by [localnetwork.computer](https://lexicon.garden/identity/did:plc:d42l64gsczg6qh2vo243xv5l), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:d42l64gsczg6qh2vo243xv5l/computer.localnetwork.directory.searchArtists)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:d42l64gsczg6qh2vo243xv5l/computer.localnetwork.directory.searchArtists/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:d42l64gsczg6qh2vo243xv5l/computer.localnetwork.directory.searchArtists/analytics)

## Query (`computer.localnetwork.directory.searchArtists`)

Type: query · GET

### Parameters (query string)

- `limit` (integer)
  - Constraints: minimum: 1, maximum: 50, default: 25
- `q` (string): Text to find anywhere in the artist's name, in any case. Without it, every artist.
  - Constraints: maxLength: 100

### Output (application/json)

- `artists` (array, required)
  - `items` (ref)
    - Reference: `computer.localnetwork.directory.defs#supportedArtist`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Find artists the directory's DJs played, most supported first, with their supports over every set (no track minimum).",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "artists": {
              "items": {
                "ref": "computer.localnetwork.directory.defs#supportedArtist",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "artists"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "limit": {
            "default": 25,
            "maximum": 50,
            "minimum": 1,
            "type": "integer"
          },
          "q": {
            "description": "Text to find anywhere in the artist's name, in any case. Without it, every artist.",
            "maxLength": 100,
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "computer.localnetwork.directory.searchArtists",
  "lexicon": 1
}
```
