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

# Stats

Statistics and reporting

## GET /stats/reportForWeek/{address}

> Get weekly stats report for an address

```json
{"openapi":"3.0.3","info":{"title":"REST Server API (Elacity)","version":"1.11.0"},"tags":[{"name":"Stats","description":"Statistics and reporting"}],"servers":[{"url":"http://localhost:3001","description":"Local development server"},{"url":"https://staging.ela.city/api","description":"Staging Server"},{"url":"https://next.ela.city/api","description":"ESC-Network Server (Next)"},{"url":"https://base.ela.city/api","description":"Base-Network Server"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"JWT token obtained via POST /auth/getToken (24h expiration)"}},"schemas":{"Address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"}}},"paths":{"/stats/reportForWeek/{address}":{"get":{"tags":["Stats"],"summary":"Get weekly stats report for an address","parameters":[{"name":"address","in":"path","required":true,"schema":{"$ref":"#/components/schemas/Address"}}],"responses":{"200":{"description":"Weekly report"}}}}}}
```

## GET /stats/reportForMonth/{address}

> Get monthly stats report for an address

```json
{"openapi":"3.0.3","info":{"title":"REST Server API (Elacity)","version":"1.11.0"},"tags":[{"name":"Stats","description":"Statistics and reporting"}],"servers":[{"url":"http://localhost:3001","description":"Local development server"},{"url":"https://staging.ela.city/api","description":"Staging Server"},{"url":"https://next.ela.city/api","description":"ESC-Network Server (Next)"},{"url":"https://base.ela.city/api","description":"Base-Network Server"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"JWT token obtained via POST /auth/getToken (24h expiration)"}},"schemas":{"Address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"}}},"paths":{"/stats/reportForMonth/{address}":{"get":{"tags":["Stats"],"summary":"Get monthly stats report for an address","parameters":[{"name":"address","in":"path","required":true,"schema":{"$ref":"#/components/schemas/Address"}}],"responses":{"200":{"description":"Monthly report"}}}}}}
```
