---
title: "Export shared QR takeout REST API | HitKeep"
description: "Reference for the HitKeep REST API operation Export shared QR takeout, including request parameters, responses, and authentication notes."
canonical: "https://hitkeep.com/api/operations/apisharetokensitesidqr-codesqridtakeout/"
---

# Export shared QR takeout REST API

GET

/api/share/{token}/sites/{id}/qr-codes/{qrID}/takeout

FetchcURL

```
const url = 'http://127.0.0.1:25737/api/share/example/sites/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/qr-codes/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/takeout?format=xlsx';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```
curl --request GET \
  --url 'http://127.0.0.1:25737/api/share/example/sites/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/qr-codes/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/takeout?format=xlsx'
```

-

Exports one QR code’s definition, opens, and scoped analytics through an existing site share link.

## Parameters

### Path Parameters

**token**

required

string

**id**

required

string format: uuid

**qrID**

required

string format: uuid

### Query Parameters

**format**

string

Allowed values: xlsx csv parquet json ndjson

Export format. Supported values: xlsx, csv, parquet, json, ndjson. Defaults: xlsx for takeout endpoints, csv for hits export endpoints.

## Responses

### 200

Export file stream

[Previous Shared QR analytics summary](https://hitkeep.com/api/operations/apisharetokensitesidqr-codesqridsummary/)[Next Stream shared realtime changes](https://hitkeep.com/api/operations/apisharetokensitesidrealtime/)
