---
title: "Export Csv"
method: GET
path: "/api/screen-bulk/{run_id}/export/csv"
tags: ["screening"]
---

# Export Csv

`GET /api/screen-bulk/{run_id}/export/csv`

## Request

- Base URL: `https://api.halalterminal.com`
- URL: `https://api.halalterminal.com/api/screen-bulk/{run_id}/export/csv`
- Auth: API key in header `X-API-Key`

Export screening results as a CSV file.

Returns a downloadable CSV containing every screened symbol, its
compliance status, financial ratios, and methodology-level verdicts.

**curl example:**
```bash
curl -X GET "https://api.halalterminal.com/api/screen-bulk/abc123/export/csv" \
     -H "X-API-Key: <API_KEY>" \
     -o screening_results.csv
```

**Python requests example:**
```python
import requests

resp = requests.get(
    "https://api.halalterminal.com/api/screen-bulk/abc123/export/csv",
    headers={"X-API-Key": "<API_KEY>"},
)
with open("screening_results.csv", "w") as f:
    f.write(resp.text)
```

## Path parameters

- `run_id` string, required: Bulk-run ID returned by POST /api/screen-bulk.

## Response `200`

CSV file download of all screening results

- unknown

## Other responses

- `401`: API key required or invalid
- `404`: Resource or symbol not found
- `422`: Validation Error
- `429`: Quota exceeded

---

[API](https://skmtc.dev/halalterminal/apis/halal-terminal-api.md) · [All operations](https://skmtc.dev/halalterminal/apis/halal-terminal-api/llms.txt) · [OpenAPI document](https://skmtc.dev/halalterminal/apis/halal-terminal-api/revisions/78768b250943?raw)
