> For the complete documentation index, see [llms.txt](https://docs.sportsapi360.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sportsapi360.com/cricket-docs/cricket-api/all-endpoints-v5/series-stats-all.md).

# Series Stats All

### Series Stats All

Retrieves comprehensive series statistics filtered by stats type, player, team, and match format — all in a single call.

#### Path Variables

| Variable | Description                                                                  |
| -------- | ---------------------------------------------------------------------------- |
| `id`     | The unique series ID. Populated via the `{{series_Id}}` collection variable. |

#### Query Parameters

| Parameter       | Required | Description                                                                                                                                 |
| --------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| `api_key`       | Yes      | Your API access token. Use the `{{api_token}}` collection variable.                                                                         |
| `stats_type_id` | No       | Filter by stats type ID. Use the `{{stats_type_id}}` collection variable. Retrieve valid IDs from the **Series Stats Type Lists** endpoint. |
| `player_id`     | No       | Filter stats for a specific player. Use the `{{stats_player_id}}` collection variable.                                                      |
| `team_id`       | No       | Filter stats for a specific team. Use the `{{stats_team_id}}` collection variable.                                                          |
| `format`        | No       | Filter by match format (e.g. `t20i`, `odi`, `test`).                                                                                        |

#### Response

Returns a JSON object with aggregated statistics matching the applied filters, including player name, team, and the relevant stat values.

#### Notes

* All filter parameters are optional and can be combined freely.
* Use **Series Stats Type Lists** to discover valid `stats_type_id` values.

#### Authentication

Pass your API token via the `api_key` query parameter.

```json
{"openapi":"3.0.3","info":{"title":"All Endpoints V5","version":"1.0.0"},"servers":[{"url":"https://apiv5.sportsapi360.com"}],"paths":{"/cricket/v1/series/{id}/stats_all":{"get":{"summary":"Series Stats All","description":"## Series Stats All\n\nRetrieves comprehensive series statistics filtered by stats type, player, team, and match format — all in a single call.\n\n### Path Variables\n\n| Variable | Description |\n|----------|-------------|\n| `id` | The unique series ID. Populated via the `{{series_Id}}` collection variable. |\n\n### Query Parameters\n\n| Parameter | Required | Description |\n|-----------|----------|-------------|\n| `api_key` | Yes | Your API access token. Use the `{{api_token}}` collection variable. |\n| `stats_type_id` | No | Filter by stats type ID. Use the `{{stats_type_id}}` collection variable. Retrieve valid IDs from the **Series Stats Type Lists** endpoint. |\n| `player_id` | No | Filter stats for a specific player. Use the `{{stats_player_id}}` collection variable. |\n| `team_id` | No | Filter stats for a specific team. Use the `{{stats_team_id}}` collection variable. |\n| `format` | No | Filter by match format (e.g. `t20i`, `odi`, `test`). |\n\n### Response\n\nReturns a JSON object with aggregated statistics matching the applied filters, including player name, team, and the relevant stat values.\n\n### Notes\n\n- All filter parameters are optional and can be combined freely.\n- Use **Series Stats Type Lists** to discover valid `stats_type_id` values.\n\n### Authentication\n\nPass your API token via the `api_key` query parameter.","operationId":"seriesStatsAll","parameters":[{"name":"stats_type_id","in":"query","schema":{"type":"string"}},{"name":"player_id","in":"query","schema":{"type":"string"}},{"name":"team_id","in":"query","schema":{"type":"string"}},{"name":"format","in":"query","schema":{"type":"string"}},{"name":"api_key","in":"query","required":true,"schema":{"type":"string"},"description":"API Access token"}],"responses":{"200":{"description":"Series Stats All","headers":{"CF-RAY":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Connection":{"schema":{"type":"string"}},"Content-Encoding":{"schema":{"type":"string"}},"Date":{"schema":{"type":"string"}},"Nel":{"schema":{"type":"string"}},"Report-To":{"schema":{"type":"string"}},"Server":{"schema":{"type":"string"}},"Transfer-Encoding":{"schema":{"type":"string"}},"Vary":{"schema":{"type":"string"}},"X-Request-Id":{"schema":{"type":"string"}},"alt-svc":{"schema":{"type":"string"}},"cf-cache-status":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"group_name":{"type":"string"},"groups":{"type":"array","items":{"type":"object","properties":{"group":{"type":"string"},"stats":{"type":"array","items":{"type":"object","properties":{"average":{"type":"number"},"balls":{"type":"number"},"catches":{"type":"number"},"centuries":{"type":"number"},"created_at":{"type":"string"},"fifties":{"type":"number"},"format":{"type":"string"},"fours":{"type":"number"},"highest":{"type":"number"},"innings":{"type":"number"},"matches":{"type":"number"},"modified_at":{"type":"string"},"not_out":{"type":"number"},"player_id":{"type":"string"},"player_image":{"type":"string"},"player_name":{"type":"string"},"runs":{"type":"number"},"short_name":{"type":"string"},"sixes":{"type":"number"},"strike_rate":{"type":"number"},"stumping":{"type":"number"},"team_id":{"type":"string"},"team_image":{"type":"string"},"team_name":{"type":"string"},"team_short_name":{"type":"string"}}}},"stats_name":{"type":"string"},"stats_type":{"type":"string"},"stats_type_id":{"type":"string"}}}}}}},"meta":{"type":"object","properties":{"api_version":{"type":"string"},"cache":{"type":"object","properties":{"etag":{"type":"string"},"source":{"type":"string"}}},"provider":{"type":"string"},"request_id":{"type":"string"}}},"success":{"type":"boolean"}}}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.sportsapi360.com/cricket-docs/cricket-api/all-endpoints-v5/series-stats-all.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
