Skip to main content
GET
/
extractions
/
{id}
/
export
Export extraction
curl --request GET \
  --url https://api.example.com/extractions/{id}/export \
  --header 'x-api-key: <x-api-key>'
Free — does not consume credits
curl -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

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

All export formats include the same columns in this order. Columns are grouped into base fields (always available), user enrichment, tweet data, tweet enrichment, and metadata.

Base fields

ColumnDescription
User IDX user ID
UsernameX handle
Display NameProfile display name
FollowersFollower count at time of extraction
VerifiedWhether the user has a verified badge
Profile ImageURL to the profile image

User enrichment

Extra profile data collected during extraction. These columns may be empty if data was not available for a given user.
ColumnDescription
FollowingFollowing count
PostsTotal post count (statuses)
DescriptionProfile bio text
LocationProfile location
Media CountTotal media posts
FavoritesTotal favorites (likes given)
Cover PictureURL to the profile cover image

Tweet fields

Present for tweet-based extraction tools (reply_extractor, quote_extractor, repost_extractor, post_extractor, mention_extractor, thread_extractor, community_post_extractor, list_post_extractor). Empty for user-only tools.
ColumnDescription
Tweet IDTweet ID
Tweet TextTweet content
Tweet Created AtISO 8601 timestamp of the tweet

Tweet enrichment

Engagement metrics and metadata for the associated tweet. Like user enrichment, these columns may be empty when unavailable.
ColumnDescription
LikesLike count
RepostsRetweet/repost count
RepliesReply count
QuotesQuote tweet count
ViewsView/impression count
BookmarksBookmark count
LanguageTweet language code (e.g., en, tr, es)
SourceClient used to post the tweet
Conversation IDID of the conversation thread

Article fields

Present for article_extractor only. Empty for all other tools.
ColumnDescription
Article Body TextFull article body text extracted from the linked URL
Article Preview TextShort preview/summary text of the article

Response

Returns a file download. The response includes a Content-Disposition header with the filename.
FormatContent-TypeFilename Example
csvtext/csv; charset=utf-8extraction-reply_extractor-a1b2c3d4.csv
jsonapplication/json; charset=utf-8extraction-reply_extractor-a1b2c3d4.json
mdtext/markdown; charset=utf-8extraction-reply_extractor-a1b2c3d4.md
md-documenttext/markdown; charset=utf-8extraction-reply_extractor-a1b2c3d4.md
pdfapplication/pdfextraction-reply_extractor-a1b2c3d4.pdf
txttext/plain; charset=utf-8extraction-reply_extractor-a1b2c3d4.txt
xlsxapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheetextraction-reply_extractor-a1b2c3d4.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.