> 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/history.md).

# History

## Example

```javascript
{
  "day": "1574553600",
  "uses": "200",
  "accounts": "31"
}
```

## Required attributes

### `day`

**Description:** UNIX timestamp on midnight of the given day.\
**Type:** String (UNIX timestamp)\
**Version history:** Added in 2.4.1

### `uses`

**Description:** the counted usage of the tag within that day.\
**Type:** String (cast from an integer)\
**Version history:** Added in 2.4.1

### `accounts`

**Description:** the total of accounts using the tag within that day.\
**Type:** String (cast from an integer)\
**Version history:** Added in 2.4.1

## See also

* [Tag#history](/mastodon/entities/tag.md#history)

{% content-ref url="/pages/-Lr2DvUyNQ1qQZWz-3DK" %}
[Tag](/mastodon/entities/tag.md)
{% endcontent-ref %}

{% embed url="<https://github.com/tootsuite/mastodon/blob/17159625b3e2c6d94509c0c2879ca80efbac6846/app/models/tag.rb#L101-L115>" %}
app/models/tag.rb L101-115 -- history days\[]
{% endembed %}
