> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "Export events list"
description: "Export a filtered list of political events as a CSV or TSV file download. Up to 10,000 rows are returned (server-side cap), ordered by electiondate descending. Columns: eventid, name, category, region"
api: "GET /api/v1/export/events/{ext}"
gridGap: 30
---

<Aside full>
  <RequestExample>
    ```bash title="cURL" lines=false
    curl -X GET "https://api.adjacent.markets/api/v1/export/events/csv" \
      -H "Authorization: Bearer <token>"
    ```
  </RequestExample>
</Aside>

<OpenAPIEndpoint {...{"method":"get","path":"/api/v1/export/events/{ext}","summary":"Export events list","description":"Export a filtered list of political events as a CSV or TSV file download. Up to 10,000 rows are returned (server-side cap), ordered by election_date descending. Columns: event_id, name, category, region, election_date, markets_count.","parameters":[{"name":"ext","in":"path","required":true,"description":"Export file format","schema":{"type":"string","enum":["csv","tsv"]}},{"name":"category","in":"query","description":"Filter by category","schema":{"type":"string"}},{"name":"region","in":"query","description":"Filter by region/state","schema":{"type":"string"}},{"name":"start","in":"query","description":"Election date after","schema":{"type":"string","format":"date-time"}},{"name":"end","in":"query","description":"Election date before","schema":{"type":"string","format":"date-time"}}],"responses":[{"status":"200","description":"CSV/TSV file of events (up to 10,000 rows)","examples":[]},{"status":"400","description":"Invalid format (ext must be csv or tsv)","schema":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"}}},"examples":[]}],"security":[{"name":"bearerAuth","type":"http","scheme":"bearer","in":"header","description":"Clerk JWT Bearer token"}],"servers":[{"url":"https://api.adjacent.markets","description":"API server"}]}} />
