GET/api/v1/requests/{request_id}/script

Request script

A script that downloads every file in a saved request, checks each sha256, and skips files already on disk. Downloads offers Python, bash, and PowerShell from this route.

Auth required. The body is plain text, not JSON. The script reads KALSHIEYE_API_KEY from the environment. Skipped files do not count toward the allowance.

Query

NameNotes
kindpy (default), sh, or ps1
curl
curl "https://kalshieye.com/api/v1/requests/$REQUEST_ID/script?kind=py" \
  -H "Authorization: Bearer $KALSHIEYE_API_KEY" \
  -o kalshieye.py

python kalshieye.py --csv also writes a .csv.gz next to each Parquet file, cut to the market tickers saved on the request.