> For the complete documentation index, see [llms.txt](https://mastodon.gitbook.io/mastodon/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mastodon.gitbook.io/mastodon/entities/activity.md).

# Activity

## Example

```javascript
{
  "week": "1574640000",
  "statuses": "37125",
  "logins": "14239",
  "registrations": "542"
}
```

## Attributes

### `week`

**Description:** Midnight at the first day of the week.\
**Type:** String (UNIX Timestamp)\
**Version history:** Added in 2.1.2

### `statuses`

**Description:** Statuses created since the week began.\
**Type:** String (cast from an integer)\
**Version history:** Added in 2.1.2

### `logins`

**Description:** User logins since the week began.\
**Type:** String (cast from an integer)\
**Version history:** Added in 2.1.2

### `registrations`

**Description:** User registrations since the week began.\
**Type:** String (cast from an integer)\
**Version history:** Added in 2.1.2

## See also

* [GET /api/v1/instance/activity](/mastodon/methods/instance.md#weekly-activity)

{% content-ref url="/pages/-LqIerERwZuONPiqjy-I" %}
[instance](/mastodon/methods/instance.md)
{% endcontent-ref %}

{% embed url="<https://github.com/tootsuite/mastodon/blob/master/app/controllers/api/v1/instances/activity_controller.rb>" %}
app/controllers/api/v1/instances/activity\_controller.rb
{% endembed %}
