---
title: "Export data as Excel XSLX"
method: GET
path: "/export/testrun/xlsx"
tags: ["Exporter"]
---

# Export data as Excel XSLX

`GET /export/testrun/xlsx`

## Request

- Base URL: `https://app.testiny.io/api/v1`
- URL: `https://app.testiny.io/api/v1/export/testrun/xlsx`
- Auth: API key in header `X-Api-Key`
- TypeScript: <https://skmtc.dev/testiny/apis/testiny-api/docs/export/testrun/xlsx/get.ts> (a function with typed inputs; its response is checked against the schema)

Export data as Excel XSLX based on the supplied parameters. Must include a project id (project_id) and a testrun id (tr_id).

## Query parameters

- `project_id` integer, required
- `tr_id` integer, required
- `lang` string

## Response `200`

Returns 'ExportExcelResult'

- string, binary: The exported data in MS Excel XLSX format, or if more than 10k rows, a ZIP file with multiple XLSX files

## Other responses

- `4XX`: The request failed because invalid request parameters or data were supplied or access was denied.
- `5XX`: The request failed because an error occurred during processing of the request.

---

[API](https://skmtc.dev/testiny/apis/testiny-api.md) - [All operations](https://skmtc.dev/testiny/apis/testiny-api/llms.txt) - [OpenAPI document](https://skmtc.dev/testiny/apis/testiny-api/revisions/8f7643b2429d?raw)
