---
title: "List all activities"
url: "https://docs.unified.to/clubs/activity/List_all_activities"
description: "API reference for List all activities. Launch multiple pre-built Activity integrations today with zero maintenance — all through a single API."
generated_at: "2026-06-03T20:56:49.981Z"
---
# List all activities

 GET/clubs/{connection\_id}/activity

## Parameters

**limit**number  default=100

**offset**number  default=0

**updated\_gte**date 

Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

**sort** enum

name

updated\_at

created\_at

**order** enum

asc

desc

**query**string 

Query string to search. eg. email address or name

**group\_id**string 

The group ID to filter by (reference to HrisGroup)

**start\_gte**string 

The start date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

**end\_lt**string 

The end date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

**fields**string array 

id

created\_at

updated\_at

group\_id

name

description

type

athlete\_id

athlete\_name

distance

moving\_time

elapsed\_time

total\_elevation\_gain

elevation\_high

elevation\_low

start\_at

timezone

achievement\_count

kudos\_count

comment\_count

athlete\_count

photo\_count

average\_speed

max\_speed

average\_cadence

average\_heartrate

max\_heartrate

average\_watts

max\_watts

weighted\_average\_watts

kilojoules

calories

has\_heartrate

is\_trainer

is\_commute

is\_manual

is\_private

map\_polyline

map\_summary\_polyline

workout\_type

suffer\_score

pr\_count

raw

Fields to return

**raw**string 

Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar

**connection\_id**string  required 

ID of the connection

## Returns

[ClubsActivity](/clubs/activity/model)array

ClubActivity (getClubActivitiesById, NO id) and the full DetailedActivity (getActivityById).

**id**string 

Unique identifier for this activity (not provided by ClubActivity)

**created\_at**date 

The date that this activity was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

**updated\_at**date 

The last date that this activity was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

**group\_id**string 

The group this activity was listed under (reference to HrisGroup)

**name**string 

The name of the activity

**description**string 

The description of the activity (DetailedActivity only)

**type** enum

Valid values:

 "RUNNING" 

 "CYCLING" 

 "SWIMMING" 

 "TRIATHLON" 

 "WALKING" 

The activity type

**athlete\_id**string 

The id of the athlete who performed the activity (DetailedActivity only)

**athlete\_name**string 

The full name of the athlete

**distance**number 

The activity's distance, in meters

**moving\_time**number 

The activity's moving time, in seconds

**elapsed\_time**number 

The activity's elapsed time, in seconds

**total\_elevation\_gain**number 

The activity's total elevation gain, in meters

**elevation\_high**number 

The activity's highest elevation, in meters (DetailedActivity only)

**elevation\_low**number 

The activity's lowest elevation, in meters (DetailedActivity only)

**start\_at**date 

When the activity started (UTC) (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

**timezone**string 

The timezone of the activity

**achievement\_count**number 

The number of achievements gained during this activity

**kudos\_count**number 

The number of kudos given for this activity

**comment\_count**number 

The number of comments for this activity

**athlete\_count**number 

The number of athletes that took part in this activity

**photo\_count**number 

The number of Instagram photos for this activity

**average\_speed**number 

The activity's average speed, in meters per second

**max\_speed**number 

The activity's max speed, in meters per second

**average\_cadence**number 

The activity's average cadence

**average\_heartrate**number 

The activity's average heart rate, in beats per minute

**max\_heartrate**number 

The activity's max heart rate, in beats per minute

**average\_watts**number 

The activity's average power output, in watts

**max\_watts**number 

The activity's max power output, in watts

**weighted\_average\_watts**number 

The activity's weighted average power output, in watts

**kilojoules**number 

The total work done, in kilojoules

**calories**number 

The number of kilocalories consumed during this activity

**has\_heartrate**boolean 

Whether the activity has heart rate data

**is\_trainer**boolean 

Whether this activity was recorded on a training machine

**is\_commute**boolean 

Whether this activity is a commute

**is\_manual**boolean 

Whether this activity was created manually

**is\_private**boolean 

Whether this activity is private

**map\_polyline**string 

The detailed polyline of the activity's map

**map\_summary\_polyline**string 

The summary polyline of the activity's map

**workout\_type**number 

The activity's workout type

**suffer\_score**number 

The activity's relative effort score

**pr\_count**number 

The number of personal records set during this activity

**raw**any 

The raw data returned by the integration for this activity

## Code Samples

### Node.js SDK

```
import { UnifiedTo } from '@unified-api/typescript-sdk';

const sdk = new UnifiedTo({
    security: {
        jwt: '<YOUR_API_KEY_HERE>',
    },
});

const connectionId = '5de520f96e439b002043d8dc';

const results = await sdk.clubs.listClubsActivities({ connectionId, 
    limit: 50,
    offset: 0,
    updated_gte: '2026-06-03T20:53:21.274Z',
    sort: 'updated_at',
    order: 'asc',
    query: '',
    group_id: '',
    start_gte: '',
    end_lt: '',
    fields: '',
    raw: '',
 });
```

### Node.js (axios)

```
const options = {
  method: 'GET',
  url: 'https://api.unified.to/clubs/5de520f96e439b002043d8dc/activity',
  headers: {
    authorization: 'bearer .....'
  },
  params: {
    limit: 50,
    offset: 0,
    updated_gte: '2026-06-03T20:53:21.274Z',
    sort: 'updated_at',
    order: 'asc',
    query: '',
    group_id: '',
    start_gte: '',
    end_lt: '',
    fields: '',
    raw: '',
  }
};

const results = await axios.request(options);
```

### Java

```
AsyncHttpClient client = new DefaultAsyncHttpClient();

client.prepare("GET", "https://api.unified.to/clubs/5de520f96e439b002043d8dc/activity?limit=50&offset=0&updated_gte=2026-06-03T20:53:21.274Z&sort=updated_at&order=asc&query=&group_id=&start_gte=&end_lt=&fields=&raw=")
  .setHeader("accept", "application/json")
  .setHeader("authorization", ".....")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
```

### Go

```
import (
	"fmt"
	"net/http"
	"io/ioutil"
)

url := `https://api.unified.to/clubs/5de520f96e439b002043d8dc/activity?limit=50&offset=0&updated_gte=2026-06-03T20:53:21.274Z&sort=updated_at&order=asc&query=&group_id=&start_gte=&end_lt=&fields=&raw=

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("accept", "application/json")
req.Header.Add("authorization", ".....")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
```

### Python

```
import requests

url = "https://api.unified.to/clubs/5de520f96e439b002043d8dc/activity?limit=50&offset=0&updated_gte=2026-06-03T20:53:21.274Z&sort=updated_at&order=asc&query=&group_id=&start_gte=&end_lt=&fields=&raw="

headers = {
    "accept": "application/json",
    "authorization": "....."
}

response = requests.get(url, headers=headers)
```

### PHP

```
$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://api.unified.to/clubs/5de520f96e439b002043d8dc/activity?limit=50&offset=0&updated_gte=2026-06-03T20:53:21.274Z&sort=updated_at&order=asc&query=&group_id=&start_gte=&end_lt=&fields=&raw=",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "accept: application/json",
    "authorization: ....."
  ],
]);
```

### Ruby

```
require 'uri'
require 'net/http'
require 'openssl'

url = URI("https://api.unified.to/clubs/5de520f96e439b002043d8dc/activity?limit=50&offset=0&updated_gte=2026-06-03T20:53:21.274Z&sort=updated_at&order=asc&query=&group_id=&start_gte=&end_lt=&fields=&raw=")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["accept"] = 'application/json'
request["authorization"] = '....'

response = http.request(request)
puts response.read_body
```

### cURL

```
curl --request GET \
  --url 'https://api.unified.to/clubs/5de520f96e439b002043d8dc/activity?limit=50&offset=0&updated_gte=2026-06-03T20:53:21.274Z&sort=updated_at&order=asc&query=&group_id=&start_gte=&end_lt=&fields=&raw=' \
  --header 'accept: application/json' \
  --header 'authorization: .....'
```
