Skip to main content
GET
/
extractions
/
{id}
/
export
Export extraction
curl --request GET \
  --url https://xquik.com/api/v1/extractions/{id}/export \
  --header 'x-api-key: <api-key>'

Documentation Index

Fetch the complete documentation index at: https://docs.xquik.com/llms.txt

Use this file to discover all available pages before exploring further.

Free - does not consume credits
curl --fail -X GET "https://xquik.com/api/v1/extractions/a1b2c3d4-e5f6-7890-abcd-ef1234567890/export?format=csv" \
  -H "x-api-key: xq_YOUR_KEY_HERE" \
  -o extraction-reply_extractor.csv

File handoff

Treat the response body as file bytes. Save it first, then pass the local path to the CRM import, warehouse load, queue, or agent. Do not print downloaded export bytes to shared logs.
{
  "extraction_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "export_format": "csv",
  "export_file_path": "extraction-reply_extractor.csv",
  "content_type": "text/csv; charset=utf-8",
  "handoff_format": "file"
}
The response Content-Disposition header contains the server filename. Store it when you need an audit trail that connects the downloaded file to the extraction job.

Format handoff map

CRM CSV

Use format=csv for CRM imports, spreadsheet checks, and follower or reply upserts. Name reply jobs xquik-replies.csv and follower jobs xquik-followers.csv.

App JSON

Use format=json for app ingestion, queue replay, or structured storage. Store the extraction ID and server filename with the local path.

Analyst XLSX

Use format=xlsx for analyst review and account-management workbooks when humans need filters or formulas.

Report formats

Use format=md, md-document, pdf, or txt for human-readable reports. PDF is capped at 10,000 rows.
For exports above 100,000 rows, use Extraction Workflow to write JSON Lines from paginated GET /extractions/{id} results.

Headers

x-api-key
string
required
Your API key. Session cookie authentication is also supported.

Path parameters

id
string
required
Extraction job ID returned from Create Extraction or List Extractions.

Query parameters

format
string
required
Export file format. One of: csv, json, md, md-document, pdf, txt, xlsx.

Export columns

File format changes serialization only. The selected columns depend on the extraction tool type. Default exports include 28 columns; article_extractor exports 10 article-focused columns.

Default result columns

All extraction tools except article_extractor use the default result column set. Some enrichment columns may be empty when the result does not include that data.

User identity

User ID, Username, Display Name, Verified, and Profile Image.

Audience metrics

Followers, Following, Posts, Media Count, and Favorites.

Profile context

Description, Location, and Cover Picture.

Tweet content

Tweet ID, Tweet Text, and Tweet Created At.

Tweet engagement

Likes, Reposts, Replies, Quotes, Views, and Bookmarks.

Tweet metadata

Language, Source, and Conversation ID.

Article metadata

Article Title, Article Preview, and Article Body.

Article extractor columns

article_extractor uses a shorter article-focused column set.

Article identity

Article Title, Cover Image, and Article Body.

Author identity

Author, Username, and Verified.

Author reach

Followers.

Article engagement

Views, Likes, and Quotes.

Response

Returns a file download. The response includes a Content-Disposition header with the filename.

CSV

format=csv returns text/csv; charset=utf-8 with filenames like extraction-reply_extractor-*.csv.

JSON

format=json returns application/json; charset=utf-8 with filenames like extraction-reply_extractor-*.json.

Markdown

format=md returns text/markdown; charset=utf-8 with filenames like extraction-reply_extractor-*.md.

Markdown document

format=md-document returns text/markdown; charset=utf-8 with filenames like extraction-reply_extractor-*.md.

PDF

format=pdf returns application/pdf with filenames like extraction-reply_extractor-*.pdf.

TXT

format=txt returns text/plain; charset=utf-8 with filenames like extraction-reply_extractor-*.txt.

XLSX

format=xlsx returns application/vnd.openxmlformats-officedocument.spreadsheetml.sheet with filenames like extraction-reply_extractor-*.xlsx.
Results are capped at 100,000 rows (10,000 for PDF). For extractions with more results, the export includes the first 100,000 rows ordered by result ID.
Next steps: Get Extraction to access results via the API with pagination, or List Extractions to find other extraction jobs to export.
Last modified on May 20, 2026