---
title: "Run extraction"
method: POST
path: "/extractions"
tags: ["Extractions"]
---

# Run extraction

`POST /extractions`

## Request body

- object
  - `toolType` 'article_extractor' | 'community_extractor' | 'community_moderator_explorer' | 'community_post_extractor' | 'community_search' | 'follower_explorer' | 'following_explorer' | 'list_follower_explorer' | 'list_member_extractor' | 'list_post_extractor' | 'mention_extractor' | 'people_search' | 'post_extractor' | 'quote_extractor' | 'reply_extractor' | 'repost_extractor' | 'space_explorer' | 'thread_extractor' | 'tweet_search_extractor' | 'verified_follower_explorer', required — Identifier for the extraction tool used to run a job.
  - `targetTweetId` string
  - `targetUsername` string
  - `targetCommunityId` string
  - `targetListId` string
  - `targetSpaceId` string
  - `searchQuery` string
  - `exactPhrase` string — Exact phrase to match (tweet_search_extractor)
  - `excludeWords` string — Words to exclude from results (tweet_search_extractor)
  - `advancedQuery` string — Raw advanced search query appended as-is (tweet_search_extractor)

## Response `202`

Extraction started

- object
  - `id` string, required
  - `toolType` 'article_extractor' | 'community_extractor' | 'community_moderator_explorer' | 'community_post_extractor' | 'community_search' | 'follower_explorer' | 'following_explorer' | 'list_follower_explorer' | 'list_member_extractor' | 'list_post_extractor' | 'mention_extractor' | 'people_search' | 'post_extractor' | 'quote_extractor' | 'reply_extractor' | 'repost_extractor' | 'space_explorer' | 'thread_extractor' | 'tweet_search_extractor' | 'verified_follower_explorer', required — Identifier for the extraction tool used to run a job.
  - `status` 'running', required

## Other responses

- `400` — Invalid input
- `401` — Unauthenticated
- `402` — Payment required. Returns a WWW-Authenticate header with an MPP challenge for pay-per-use endpoints, or indicates a subscription/credit issue for identity-authenticated endpoints.
- `502` — X API unavailable, unauthorized, or rate limited

## Changes

- **2026-04-25** `2adc33156b4b` — 8 warning, 10 info
  - added the new `insufficient_credits` enum value to the `error` response property for the response status `400`
  - added the new `insufficient_credits` enum value to the `error` response property for the response status `401`
  - added the new `insufficient_credits` enum value to the `error` response property for the response status `402`
  - added the new `insufficient_credits` enum value to the `error` response property for the response status `502`
  - …14 more
- **2026-04-08** `d40c57a05527` — 2 info
  - the `status` response property const value `running` was added for the status `202`
  - removed the `running` enum value from the `status` response property for the response status `202`

[Change history](https://skmtc.dev/xquik-dev/apis/xquik-api/changes/extractions/post.md)

---

[API](https://skmtc.dev/xquik-dev/apis/xquik-api.md) · [All operations](https://skmtc.dev/xquik-dev/apis/xquik-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/xquik-dev/xquik-api/revisions/2adc33156b4b/schema)
