# computer.localnetwork.directory.searchPerformers

> Search performers: active published projects, and DJs whose profile has the performer section on and that staff list. A DJ's profile counts as a solo act, and a solo project managed only by a listed DJ is left out for their profile. Sorts by relevance with q, by distance with a location, and newest first otherwise (a profile by when it was listed).

- 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.searchPerformers)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:d42l64gsczg6qh2vo243xv5l/computer.localnetwork.directory.searchPerformers/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:d42l64gsczg6qh2vo243xv5l/computer.localnetwork.directory.searchPerformers/analytics)

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

Type: query · GET

### Parameters (query string)

- `country` (string): ISO 3166-1 alpha-2 code.
  - Constraints: minLength: 2, maxLength: 2
- `cursor` (string)
  - Constraints: maxLength: 512
- `feeTiers` (array)
  - Constraints: maxLength: 10
  - `items` (string)
    - Constraints: maxLength: 48
- `formats` (array): Matches performers with any of these formats.
  - Constraints: maxLength: 10
  - `items` (string)
    - Constraints: maxLength: 48
- `genres` (array): Matches performers playing any of these genres or a close subgenre.
  - Constraints: maxLength: 20
  - `items` (string)
    - Constraints: maxLength: 48
- `kinds` (array): Matches projects of these kinds, and DJs' profiles when solo is one.
  - Constraints: maxLength: 10
  - `items` (string)
    - Constraints: maxLength: 48
- `latE6` (integer): Latitude in millionths of a degree, like a location's latE6.
  - Constraints: minimum: -90000000, maximum: 90000000
- `limit` (integer)
  - Constraints: minimum: 1, maximum: 60, default: 24
- `lngE6` (integer): Longitude in millionths of a degree.
  - Constraints: minimum: -180000000, maximum: 180000000
- `q` (string): Words to find in names, taglines, bios, genres, and places. Each word matches as a prefix, and every word must match.
  - Constraints: maxLength: 100
- `radiusKm` (integer)
  - Constraints: minimum: 1, maximum: 2000, default: 50
- `setTypes` (array): Matches performers doing any of these set types.
  - Constraints: maxLength: 10
  - `items` (string)
    - Constraints: maxLength: 48
- `sort` (string)
  - Constraints: maxLength: 32, knownValues: relevance | distance | recent | name
- `unclaimed` (boolean): Only projects nobody manages yet, and so no DJs' profiles.
  - Constraints: default: false

### Output (application/json)

- `cursor` (string)
  - Constraints: maxLength: 512
- `performers` (array, required)
  - `items` (ref)
    - Reference: `computer.localnetwork.directory.defs#performerView`
- `total` (integer, required): Matching performers across every page.
  - Constraints: minimum: 0

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Search performers: active published projects, and DJs whose profile has the performer section on and that staff list. A DJ's profile counts as a solo act, and a solo project managed only by a listed DJ is left out for their profile. Sorts by relevance with q, by distance with a location, and newest first otherwise (a profile by when it was listed).",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "maxLength": 512,
              "type": "string"
            },
            "performers": {
              "items": {
                "ref": "computer.localnetwork.directory.defs#performerView",
                "type": "ref"
              },
              "type": "array"
            },
            "total": {
              "description": "Matching performers across every page.",
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "performers",
            "total"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "country": {
            "description": "ISO 3166-1 alpha-2 code.",
            "maxLength": 2,
            "minLength": 2,
            "type": "string"
          },
          "cursor": {
            "maxLength": 512,
            "type": "string"
          },
          "feeTiers": {
            "items": {
              "maxLength": 48,
              "type": "string"
            },
            "maxLength": 10,
            "type": "array"
          },
          "formats": {
            "description": "Matches performers with any of these formats.",
            "items": {
              "maxLength": 48,
              "type": "string"
            },
            "maxLength": 10,
            "type": "array"
          },
          "genres": {
            "description": "Matches performers playing any of these genres or a close subgenre.",
            "items": {
              "maxLength": 48,
              "type": "string"
            },
            "maxLength": 20,
            "type": "array"
          },
          "kinds": {
            "description": "Matches projects of these kinds, and DJs' profiles when solo is one.",
            "items": {
              "maxLength": 48,
              "type": "string"
            },
            "maxLength": 10,
            "type": "array"
          },
          "latE6": {
            "description": "Latitude in millionths of a degree, like a location's latE6.",
            "maximum": 90000000,
            "minimum": -90000000,
            "type": "integer"
          },
          "limit": {
            "default": 24,
            "maximum": 60,
            "minimum": 1,
            "type": "integer"
          },
          "lngE6": {
            "description": "Longitude in millionths of a degree.",
            "maximum": 180000000,
            "minimum": -180000000,
            "type": "integer"
          },
          "q": {
            "description": "Words to find in names, taglines, bios, genres, and places. Each word matches as a prefix, and every word must match.",
            "maxLength": 100,
            "type": "string"
          },
          "radiusKm": {
            "default": 50,
            "maximum": 2000,
            "minimum": 1,
            "type": "integer"
          },
          "setTypes": {
            "description": "Matches performers doing any of these set types.",
            "items": {
              "maxLength": 48,
              "type": "string"
            },
            "maxLength": 10,
            "type": "array"
          },
          "sort": {
            "knownValues": [
              "relevance",
              "distance",
              "recent",
              "name"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "unclaimed": {
            "default": false,
            "description": "Only projects nobody manages yet, and so no DJs' profiles.",
            "type": "boolean"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "computer.localnetwork.directory.searchPerformers",
  "lexicon": 1
}
```
