# Songstats

> Read music analytics for artists, tracks and labels across streaming services.

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/songstats

## Actions

### Get API status

Get API status.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Songstats.

**Example output**

```json
{
  "data": {}
}
```

### Get artist

Get artist.

**Inputs**

- Artist ID (`artist_id`, text, required): The Songstats ID of the artist.

**Outputs**

- `data` (object): The response from Songstats.

**Example output**

```json
{
  "data": {}
}
```

### Get artist history

Get artist history.

**Inputs**

- Artist ID (`artist_id`, text, required): The Songstats ID of the artist.
- Source (`source`, text): Use all, overview, or a comma-separated list from List music sources.
- Start date (`start_date`, date): Start date.
- End date (`end_date`, date): End date.

**Outputs**

- `data` (object): The response from Songstats.

**Example output**

```json
{
  "data": {}
}
```

### Get artist statistics

Get artist statistics.

**Inputs**

- Artist ID (`artist_id`, text, required): The Songstats ID of the artist.
- Source (`source`, text): Use all, overview, or a comma-separated list from List music sources.

**Outputs**

- `data` (object): The response from Songstats.

**Example output**

```json
{
  "data": {}
}
```

### Get collaborator

Get collaborator.

**Inputs**

- Collaborator ID (`collaborator_id`, text, required): The Songstats ID of the collaborator.

**Outputs**

- `data` (object): The response from Songstats.

**Example output**

```json
{
  "data": {}
}
```

### Get collaborator history

Get collaborator history.

**Inputs**

- Collaborator ID (`collaborator_id`, text, required): The Songstats ID of the collaborator.
- Source (`source`, text): Use all, overview, or a comma-separated list from List music sources.
- Start date (`start_date`, date): Start date.
- End date (`end_date`, date): End date.

**Outputs**

- `data` (object): The response from Songstats.

**Example output**

```json
{
  "data": {}
}
```

### Get collaborator statistics

Get collaborator statistics.

**Inputs**

- Collaborator ID (`collaborator_id`, text, required): The Songstats ID of the collaborator.
- Source (`source`, text): Use all, overview, or a comma-separated list from List music sources.

**Outputs**

- `data` (object): The response from Songstats.

**Example output**

```json
{
  "data": {}
}
```

### Get label

Get label.

**Inputs**

- Label ID (`label_id`, text, required): The Songstats ID of the label.

**Outputs**

- `data` (object): The response from Songstats.

**Example output**

```json
{
  "data": {}
}
```

### Get label history

Get label history.

**Inputs**

- Label ID (`label_id`, text, required): The Songstats ID of the label.
- Source (`source`, text): Use all, overview, or a comma-separated list from List music sources.
- Start date (`start_date`, date): Start date.
- End date (`end_date`, date): End date.

**Outputs**

- `data` (object): The response from Songstats.

**Example output**

```json
{
  "data": {}
}
```

### Get label statistics

Get label statistics.

**Inputs**

- Label ID (`label_id`, text, required): The Songstats ID of the label.
- Source (`source`, text): Use all, overview, or a comma-separated list from List music sources.

**Outputs**

- `data` (object): The response from Songstats.

**Example output**

```json
{
  "data": {}
}
```

### Get metric definitions

Get metric definitions.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Songstats.

**Example output**

```json
{
  "data": {}
}
```

### Get track

Get track.

**Inputs**

- Track ID (`track_id`, text, required): The Songstats ID of the track.

**Outputs**

- `data` (object): The response from Songstats.

**Example output**

```json
{
  "data": {}
}
```

### Get track activities

Get track activities.

**Inputs**

- Track ID (`track_id`, text, required): Track id.
- Source (`source`, text): Source.

**Outputs**

- `data` (object): The response from Songstats.

**Example output**

```json
{
  "data": {}
}
```

### Get track history

Get track history.

**Inputs**

- Track ID (`track_id`, text, required): The Songstats ID of the track.
- Source (`source`, text): Use all, overview, or a comma-separated list from List music sources.
- Start date (`start_date`, date): Start date.
- End date (`end_date`, date): End date.

**Outputs**

- `data` (object): The response from Songstats.

**Example output**

```json
{
  "data": {}
}
```

### Get track statistics

Get track statistics.

**Inputs**

- Track ID (`track_id`, text, required): The Songstats ID of the track.
- Source (`source`, text): Use all, overview, or a comma-separated list from List music sources.

**Outputs**

- `data` (object): The response from Songstats.

**Example output**

```json
{
  "data": {}
}
```

### List music sources

List music sources.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Songstats.

**Example output**

```json
{
  "data": {}
}
```

### Search artists

Search artists.

**Inputs**

- Query (`query`, text, required): Query.

**Outputs**

- `data` (object): The response from Songstats.

**Example output**

```json
{
  "data": {}
}
```

### Search collaborators

Search collaborators.

**Inputs**

- Query (`query`, text, required): Query.

**Outputs**

- `data` (object): The response from Songstats.

**Example output**

```json
{
  "data": {}
}
```

### Search labels

Search labels.

**Inputs**

- Query (`query`, text, required): Query.

**Outputs**

- `data` (object): The response from Songstats.

**Example output**

```json
{
  "data": {}
}
```

### Search tracks

Search tracks.

**Inputs**

- Query (`query`, text, required): Query.

**Outputs**

- `data` (object): The response from Songstats.

**Example output**

```json
{
  "data": {}
}
```
