# app.zeens.getAuthorStats

> Engagement statistics for one member's Zeens photo posts, for Studio's Stats tab: totals and top posts for posts published in the range, and when likes, reposts and replies arrived (from the engagement ledger: a like's record key is a TID, which carries its time). All of it is derived from public engagement records; no views exist on AT Protocol.

- Kind: query
- Authority: zeens.app
- Lexicon: 1
- Published by [zeens.app](https://lexicon.garden/identity/did:plc:pwpuqwge6g7xrjmfbw73uycw), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:pwpuqwge6g7xrjmfbw73uycw/app.zeens.getAuthorStats)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:pwpuqwge6g7xrjmfbw73uycw/app.zeens.getAuthorStats/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:pwpuqwge6g7xrjmfbw73uycw/app.zeens.getAuthorStats/analytics)

## Query (`app.zeens.getAuthorStats`)

Type: query · GET

### Parameters (query string)

- `days` (integer): Range in days: 30, 90 or 365. 0 (default) means all time.
- `did` (string, required): The member whose posts are counted.

### Output (application/json)


## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Engagement statistics for one member's Zeens photo posts, for Studio's Stats tab: totals and top posts for posts published in the range, and when likes, reposts and replies arrived (from the engagement ledger: a like's record key is a TID, which carries its time). All of it is derived from public engagement records; no views exist on AT Protocol.",
      "output": {
        "encoding": "application/json"
      },
      "parameters": {
        "properties": {
          "days": {
            "description": "Range in days: 30, 90 or 365. 0 (default) means all time.",
            "type": "integer"
          },
          "did": {
            "description": "The member whose posts are counted.",
            "type": "string"
          }
        },
        "required": [
          "did"
        ],
        "type": "params"
      },
      "target_collection": "app.zeens.postMeta",
      "type": "query"
    }
  },
  "id": "app.zeens.getAuthorStats",
  "lexicon": 1
}
```
