---
title: "GET /history/files/{league}/{day}"
method: GET
path: "/history/files/{league}/{day}"
tags: ["History"]
---

# GET /history/files/{league}/{day}

`GET /history/files/{league}/{day}`

## Request

- Base URL: `https://api.sockodds.com/v1`
- URL: `https://api.sockodds.com/v1/history/files/{league}/{day}`
- Auth: HTTP bearer

Pro and Internal only. Downloads one day of history as a zstd Parquet file. Columns: event_id, market_id, market_key, market_name, period, subject_key, subject_id, subject_name, outcome_id, outcome_name, side, line, bookmaker, observed_at (UTC, milliseconds), kind, decimal_odds, implied_probability. The ETag is the file's SHA-256. At most two downloads at a time per key. Each download bills one object. A file that names a player whose identity came under review after it was built answers 503 until it is rebuilt overnight.

## Path parameters

- `league` string, required
- `day` string, date, required

## Response `200`

The Parquet file

## Other responses

- `default`: Request failed

---

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