# Stats API

{% hint style="info" %}
More Info coming soon
{% endhint %}

The [stats microservice](https://github.com/blockscout/blockscout-rs/tree/main/stats) collects data from a Quaiscan instance and calculates statistics based on predefined values. The calculated data is available through a REST API, providing access to this statistical information. There are 3 primary endpoints=

{% openapi src="/files/rcivv0HJY0Jg9ISd58mC" path="/api/v2/stats" method="get" %}
[ANDREWGROSS\_1-Stats-1.0.0-resolved (1) (1).json](https://3049643675-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F38YKcjYqMJT3HBhioNFl%2Fuploads%2Fgit-blob-73a0923f857241e784fd0539e8cc309f25fc3e61%2FANDREWGROSS_1-Stats-1.0.0-resolved%20\(1\)%20\(1\).json?alt=media)
{% endopenapi %}

{% openapi src="/files/rcivv0HJY0Jg9ISd58mC" path="/api/v2/stats/charts/transactions" method="get" %}
[ANDREWGROSS\_1-Stats-1.0.0-resolved (1) (1).json](https://3049643675-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F38YKcjYqMJT3HBhioNFl%2Fuploads%2Fgit-blob-73a0923f857241e784fd0539e8cc309f25fc3e61%2FANDREWGROSS_1-Stats-1.0.0-resolved%20\(1\)%20\(1\).json?alt=media)
{% endopenapi %}

{% openapi src="/files/rcivv0HJY0Jg9ISd58mC" path="/api/v2/stats/charts/market" method="get" %}
[ANDREWGROSS\_1-Stats-1.0.0-resolved (1) (1).json](https://3049643675-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F38YKcjYqMJT3HBhioNFl%2Fuploads%2Fgit-blob-73a0923f857241e784fd0539e8cc309f25fc3e61%2FANDREWGROSS_1-Stats-1.0.0-resolved%20\(1\)%20\(1\).json?alt=media)
{% endopenapi %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.quaiscan.io/developer-support/stats-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
