Skip to main content
POST

Description

This endpoint allows you to export comprehensive analytics data for one or more QR codes over a specific date range.
The export includes scan details, device and OS data, and geographic insights โ€” formatted for spreadsheet analysis.
You can choose between:
  • .pdf for easy sharing and presentation-ready reports
  • .xls**/ ** .xlsx for advanced Excel-based reportingPurpose

Query Parameters

Request Body

Examples

Export Single QR Code (Excel)

Export Multiple QR Codes (PDF)

Export with Date Range

Export by Tags

Export with Bot Scans Excluded

When exclude_bot_scan=true, Excel exports include an additional Bot Scans sheet summarising total bot hits, unique bots, top bot types, and bot activity per QR code. PDF exports include the same data as a separate section.

Response

Success Response (200 OK)

The response returns a file download with the analytics data in the requested format.

Excel File (.xlsx/.xls)

  • Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet (xlsx) or application/vnd.ms-excel (xls)
  • Content: Multi-sheet Excel file with comprehensive analytics data
  • Sheets: Multiple sheets with different analytics views

PDF File (.pdf)

  • Content-Type: application/pdf
  • Content: PDF document containing formatted analytics data
  • Structure: Single file with all analytics data
The export endpoint returns a file download. Make sure your application can handle binary file responses and provide appropriate download functionality to users.
Excel files (.xlsx/.xls) provide the most comprehensive data structure with multiple sheets, while PDF files ideal for sharing, printing, and presenting analytics in a visually formatted report.
Large date ranges or many QR codes may result in large file sizes. Consider breaking down exports into smaller chunks if needed.

Integration Examples

JavaScript - Export Analytics

Python - Export Analytics

PHP - Export Analytics

Notes

  • โœ… Supports bulk analytics export for multiple QR codes at once.
  • โš™๏ธ Recommended file format:
    • .xlsx for visualization/reporting
    • .pdf for presentation, sharing, or archival purposes
  • ๐Ÿ“… Data range can span multiple months, depending on account plan limits.
  • โฑ๏ธ Large exports may take a few seconds to generate โ€” consider background processing for high-volume requests.

Example Use Cases

  • ๐Ÿ“Š Generate weekly or monthly QR scan reports
  • ๐Ÿงพ Export data for BI tools such as Power BI or Tableau
  • ๐Ÿ“ˆ Analyze trends by device, OS, or location in Excel
  • ๐Ÿ” Audit campaign performance across multiple QR codes

Authorizations

Authorization
string
header
required

API key authentication. Enter your API key directly in the Authorization header.

Query Parameters

from
string<date>
required

Start date for analytics data (inclusive). Format: YYYY-MM-DD

to
string<date>
required

End date for analytics data (inclusive). Format: YYYY-MM-DD. Defaults to current date.

file_format
enum<string>
required

Export file format

Available options:
xls,
xlsx,
csv

Body

multipart/form-data
filter_by
enum<string>
required

Filter by QR code ID or tags

Available options:
qrid,
tags
Example:

"qrid"

q
string[]
required

Array of QR code IDs (if filter_by is 'qrid') or tags (if filter_by is 'tags') to include in the export

Example:

Response

Analytics data exported successfully

The response is of type file.