x-developer 2.6.7 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +4 -4
- package/.claude-plugin/plugin.json +2 -27
- package/.codex-plugin/plugin.json +4 -28
- package/README.de.md +505 -0
- package/README.es.md +504 -0
- package/README.fr.md +507 -0
- package/README.it.md +499 -0
- package/README.ja.md +493 -0
- package/README.ko.md +494 -0
- package/README.md +486 -123
- package/README.tr.md +502 -0
- package/README.zh-CN.md +484 -0
- package/assets/logo-400.png +0 -0
- package/commands/post.md +2 -2
- package/commands/search.md +1 -1
- package/commands/trending.md +1 -1
- package/commands/user.md +1 -1
- package/context7.json +5 -11
- package/docker-mcp-registry/xquik/readme.md +1 -0
- package/docker-mcp-registry/xquik/server.yaml +23 -0
- package/docker-mcp-registry/xquik/tools.json +1 -0
- package/glama.json +4 -0
- package/mcp.json +9 -0
- package/openclaw.plugin.json +2 -2
- package/package.json +24 -20
- package/plugin.json +22 -0
- package/registry.json +60 -0
- package/server.json +2 -2
- package/skills/x-twitter-scraper/LICENSE +21 -0
- package/skills/x-twitter-scraper/SKILL.md +175 -457
- package/skills/x-twitter-scraper/metadata.json +19 -9
- package/skills/x-twitter-scraper/references/compare-faq.md +101 -0
- package/skills/x-twitter-scraper/references/extractions.md +65 -290
- package/skills/x-twitter-scraper/references/mcp.md +24 -0
- package/skills/x-twitter-scraper/references/monitors-webhooks.md +167 -0
- package/skills/x-twitter-scraper/references/reads.md +415 -0
- package/skills/x-twitter-scraper/references/writes.md +109 -0
- package/skills/xquik-mcp/SKILL.md +75 -0
- package/skills/{x-twitter-scraper → xquik-mcp}/references/mcp-setup.md +32 -108
- package/skills/xquik-social-research/SKILL.md +61 -74
- package/skills.sh.json +6 -68
- package/start.sh +2 -2
- package/stub-server.mjs +37 -86
- package/task-guides/check-mutuals.md +1 -1
- package/task-guides/clean-followers.md +2 -2
- package/task-guides/export-tweets-csv.md +1 -1
- package/task-guides/extract-followers.md +6 -6
- package/task-guides/find-bangers.md +1 -1
- package/task-guides/find-influencers.md +3 -3
- package/task-guides/find-viral-tweets.md +2 -2
- package/task-guides/follow-unfollow.md +3 -3
- package/task-guides/for-you-feed.md +2 -2
- package/task-guides/going-viral.md +5 -5
- package/task-guides/grow-followers.md +1 -1
- package/task-guides/monitor-accounts.md +4 -4
- package/task-guides/optimize-tweets.md +1 -1
- package/task-guides/post-tweets.md +6 -6
- package/task-guides/run-giveaway.md +4 -4
- package/task-guides/search-tweets.md +2 -2
- package/task-guides/send-dms.md +9 -9
- package/task-guides/top-replies.md +4 -4
- package/task-guides/track-competitors.md +6 -6
- package/task-guides/track-hashtags.md +7 -7
- package/task-guides/track-mentions.md +3 -3
- package/task-guides/trending-news.md +3 -3
- package/task-guides/tweet-analytics.md +2 -2
- package/task-guides/tweet-ideas.md +1 -1
- package/task-guides/tweet-replies.md +5 -5
- package/task-guides/tweet-style.md +2 -2
- package/task-guides/tweet-webhooks.md +3 -3
- package/task-guides/update-x-profile.md +4 -4
- package/task-guides/user-tweets.md +3 -3
- package/task-guides/who-liked.md +2 -2
- package/task-guides/who-quoted.md +2 -2
- package/task-guides/who-retweeted.md +2 -2
- package/task-guides/write-threads.md +4 -4
- package/task-guides/write-tweets.md +4 -4
- package/task-guides/x-articles.md +1 -1
- package/task-guides/x-bookmarks.md +3 -3
- package/task-guides/x-communities.md +2 -2
- package/task-guides/x-lists.md +3 -3
- package/task-guides/x-spaces.md +2 -2
- package/task-guides/x-trends.md +2 -2
- package/x-twitter-scraper.json +10 -0
- package/CHANGELOG.md +0 -94
- package/scripts/check-reproducible.mjs +0 -48
- package/scripts/check-versions.mjs +0 -24
- package/scripts/release-guard/content-policy.mjs +0 -410
- package/scripts/release-guard/context.mjs +0 -61
- package/scripts/release-guard/frontmatter.mjs +0 -151
- package/scripts/release-guard/policy-checks.mjs +0 -134
- package/scripts/release-guard/policy.mjs +0 -226
- package/scripts/release-guard/repository-checks.mjs +0 -256
- package/skills/x-twitter-scraper/references/api-endpoints-api-keys.md +0 -14
- package/skills/x-twitter-scraper/references/api-endpoints-compose.md +0 -33
- package/skills/x-twitter-scraper/references/api-endpoints-credits.md +0 -11
- package/skills/x-twitter-scraper/references/api-endpoints-drafts.md +0 -105
- package/skills/x-twitter-scraper/references/api-endpoints-draws.md +0 -101
- package/skills/x-twitter-scraper/references/api-endpoints-error-codes.md +0 -67
- package/skills/x-twitter-scraper/references/api-endpoints-events.md +0 -50
- package/skills/x-twitter-scraper/references/api-endpoints-extractions.md +0 -113
- package/skills/x-twitter-scraper/references/api-endpoints-monitors.md +0 -111
- package/skills/x-twitter-scraper/references/api-endpoints-radar.md +0 -50
- package/skills/x-twitter-scraper/references/api-endpoints-support.md +0 -53
- package/skills/x-twitter-scraper/references/api-endpoints-trends.md +0 -48
- package/skills/x-twitter-scraper/references/api-endpoints-tweet-style-cache.md +0 -186
- package/skills/x-twitter-scraper/references/api-endpoints-webhooks.md +0 -120
- package/skills/x-twitter-scraper/references/api-endpoints-x-accounts.md +0 -54
- package/skills/x-twitter-scraper/references/api-endpoints-x-api.md +0 -267
- package/skills/x-twitter-scraper/references/api-endpoints-x-media.md +0 -50
- package/skills/x-twitter-scraper/references/api-endpoints-x-write.md +0 -270
- package/skills/x-twitter-scraper/references/api-endpoints.md +0 -30
- package/skills/x-twitter-scraper/references/automate-twitter-giveaways.md +0 -130
- package/skills/x-twitter-scraper/references/best-x-api-alternative.md +0 -198
- package/skills/x-twitter-scraper/references/compare-twitter-apis.md +0 -151
- package/skills/x-twitter-scraper/references/draws.md +0 -57
- package/skills/x-twitter-scraper/references/export-twitter-followers.md +0 -127
- package/skills/x-twitter-scraper/references/extract-x-community-data.md +0 -121
- package/skills/x-twitter-scraper/references/mcp-tools.md +0 -183
- package/skills/x-twitter-scraper/references/monitor-twitter-webhooks.md +0 -121
- package/skills/x-twitter-scraper/references/python-examples.md +0 -201
- package/skills/x-twitter-scraper/references/reliable-twitter-data-api-2026.md +0 -239
- package/skills/x-twitter-scraper/references/scrape-export-twitter-data.md +0 -173
- package/skills/x-twitter-scraper/references/security.md +0 -111
- package/skills/x-twitter-scraper/references/track-twitter-keywords-mentions.md +0 -148
- package/skills/x-twitter-scraper/references/twitter-api-alternative-faq.md +0 -128
- package/skills/x-twitter-scraper/references/twitter-api-without-x-account.md +0 -110
- package/skills/x-twitter-scraper/references/twitter-data-pipeline.md +0 -136
- package/skills/x-twitter-scraper/references/twitter-scraper-api-guide.md +0 -229
- package/skills/x-twitter-scraper/references/types-account-identity.md +0 -9
- package/skills/x-twitter-scraper/references/types-account.md +0 -26
- package/skills/x-twitter-scraper/references/types-api-keys.md +0 -22
- package/skills/x-twitter-scraper/references/types-bookmarks-and-timeline.md +0 -46
- package/skills/x-twitter-scraper/references/types-credits.md +0 -11
- package/skills/x-twitter-scraper/references/types-download-media.md +0 -22
- package/skills/x-twitter-scraper/references/types-draws.md +0 -60
- package/skills/x-twitter-scraper/references/types-error.md +0 -29
- package/skills/x-twitter-scraper/references/types-events.md +0 -23
- package/skills/x-twitter-scraper/references/types-extractions.md +0 -136
- package/skills/x-twitter-scraper/references/types-mcp-output-schemas.md +0 -13
- package/skills/x-twitter-scraper/references/types-monitors.md +0 -49
- package/skills/x-twitter-scraper/references/types-radar.md +0 -47
- package/skills/x-twitter-scraper/references/types-request-bodies.md +0 -30
- package/skills/x-twitter-scraper/references/types-rest-api-vs-mcp-field-naming.md +0 -11
- package/skills/x-twitter-scraper/references/types-support.md +0 -46
- package/skills/x-twitter-scraper/references/types-trends.md +0 -21
- package/skills/x-twitter-scraper/references/types-tweet-drafts.md +0 -20
- package/skills/x-twitter-scraper/references/types-tweet-style-cache.md +0 -50
- package/skills/x-twitter-scraper/references/types-user-activity.md +0 -35
- package/skills/x-twitter-scraper/references/types-webhooks.md +0 -46
- package/skills/x-twitter-scraper/references/types-x-accounts.md +0 -16
- package/skills/x-twitter-scraper/references/types-x-api.md +0 -144
- package/skills/x-twitter-scraper/references/types-x-articles.md +0 -36
- package/skills/x-twitter-scraper/references/types-x-write.md +0 -78
- package/skills/x-twitter-scraper/references/types.md +0 -31
- package/skills/x-twitter-scraper/references/usage.md +0 -50
- package/skills/x-twitter-scraper/references/webhooks.md +0 -321
- package/skills/x-twitter-scraper/references/workflows.md +0 -215
- package/skills/x-twitter-scraper/skill-card.md +0 -84
- package/skills/x-twitter-scraper/skillspector-report.md +0 -20
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
# Twitter data pipeline: automate tweet exports with REST and Python
|
|
2
|
-
|
|
3
|
-
A reliable Twitter data pipeline separates collection, state, storage,
|
|
4
|
-
analysis, and delivery. Xquik supports direct reads, extraction jobs,
|
|
5
|
-
exports, monitors, events, webhooks, REST, MCP, and typed SDKs.
|
|
6
|
-
|
|
7
|
-
> Xquik is an independent third-party service. Not affiliated with X Corp.
|
|
8
|
-
> "Twitter" and "X" are trademarks of X Corp.
|
|
9
|
-
|
|
10
|
-
## Xquik Twitter data pipeline stages
|
|
11
|
-
|
|
12
|
-
1. Validate the target, query, fields, and result bound.
|
|
13
|
-
2. Run a small direct request to confirm data quality.
|
|
14
|
-
3. Estimate bulk work with the exact creation body.
|
|
15
|
-
4. Approve and create the extraction.
|
|
16
|
-
5. Persist the job ID before polling.
|
|
17
|
-
6. Retrieve pages with opaque cursors or download an export.
|
|
18
|
-
7. Validate counts, deduplicate stable IDs, and store the run record.
|
|
19
|
-
8. Run enrichment separately.
|
|
20
|
-
9. Use monitors and webhooks for ongoing event delivery.
|
|
21
|
-
|
|
22
|
-
## Twitter export run state
|
|
23
|
-
|
|
24
|
-
Give each scheduled export a stable run ID and explicit state. The scheduler
|
|
25
|
-
should resume one run instead of creating another extraction blindly.
|
|
26
|
-
|
|
27
|
-
| State | Required evidence | Next action |
|
|
28
|
-
| --- | --- | --- |
|
|
29
|
-
| `planned` | Query, filter hash, time window, result bound | Request an estimate |
|
|
30
|
-
| `estimated` | Estimate response and approval record | Create one extraction |
|
|
31
|
-
| `running` | Extraction ID and last status check | Poll the existing job |
|
|
32
|
-
| `retrieving` | Job completion and current cursor | Fetch remaining pages |
|
|
33
|
-
| `validating` | Raw row count and unique tweet count | Check schema and duplicates |
|
|
34
|
-
| `complete` | Stored dataset and run record | Advance the watermark |
|
|
35
|
-
| `failed` | Error class, attempt count, recovery note | Retry safely or stop |
|
|
36
|
-
|
|
37
|
-
Use a deterministic key from the query version and time window. Reject a second
|
|
38
|
-
active run with the same key.
|
|
39
|
-
|
|
40
|
-
### How do I automate tweet export?
|
|
41
|
-
|
|
42
|
-
Run a bounded extraction from a trusted scheduler. Estimate each run, create it
|
|
43
|
-
after approval, poll its durable job state, and download the required format.
|
|
44
|
-
|
|
45
|
-
Persist job ID, query, filters, result limit, collection time, status, and
|
|
46
|
-
export location. This state lets a worker resume after failure without silently
|
|
47
|
-
creating duplicate metered jobs.
|
|
48
|
-
|
|
49
|
-
Verify row count and stable tweet IDs before marking a run complete.
|
|
50
|
-
|
|
51
|
-
### How do I build an automated Twitter data pipeline with an API?
|
|
52
|
-
|
|
53
|
-
Separate the request worker from data processing. The worker owns requests,
|
|
54
|
-
cursors, estimates, job polling, retries, and exports. The processing layer owns
|
|
55
|
-
validation, deduplication, enrichment, storage, and reporting.
|
|
56
|
-
|
|
57
|
-
Retry only `429` and `5xx`. Respect `Retry-After`, use exponential backoff with
|
|
58
|
-
jitter, and cap attempts. Never retry writes or job creation without checking
|
|
59
|
-
whether the first request succeeded.
|
|
60
|
-
|
|
61
|
-
Use stable IDs as keys. Keep raw source data separate from derived fields.
|
|
62
|
-
|
|
63
|
-
### How do I schedule recurring tweet exports using a REST API?
|
|
64
|
-
|
|
65
|
-
Use a scheduler that stores run state. Give every run a deterministic window,
|
|
66
|
-
query version, and maximum result count. Overlap windows slightly when source
|
|
67
|
-
timing can vary, then deduplicate by tweet ID.
|
|
68
|
-
|
|
69
|
-
Estimate each extraction because result volume can change. Record failed and
|
|
70
|
-
partial runs. Do not advance the pipeline watermark until output validation
|
|
71
|
-
succeeds.
|
|
72
|
-
|
|
73
|
-
For lower detection delay, replace frequent polling with a monitor and webhook.
|
|
74
|
-
|
|
75
|
-
### How do I build a Twitter data pipeline in Python?
|
|
76
|
-
|
|
77
|
-
Read `XQUIK_API_KEY` from a secret manager. Use an HTTP client with connect and
|
|
78
|
-
read timeouts. Implement one function for authenticated requests, one for cursor
|
|
79
|
-
pagination, and one for extraction polling.
|
|
80
|
-
|
|
81
|
-
Persist state in a database or durable job store. Store the run
|
|
82
|
-
ID, extraction ID, query, filter hash, status, attempt count, cursor, result
|
|
83
|
-
count, started time, completed time, and export location.
|
|
84
|
-
|
|
85
|
-
Use the included Python reference for bounded requests, estimates, polling,
|
|
86
|
-
giveaways, and webhook handling.
|
|
87
|
-
|
|
88
|
-
### What is a reliable tweet scraping workflow?
|
|
89
|
-
|
|
90
|
-
A reliable workflow is bounded, resumable, measured, and safe to repeat. Validate
|
|
91
|
-
inputs, choose the narrowest route, estimate bulk work, preserve durable IDs,
|
|
92
|
-
follow opaque cursors, and verify every export.
|
|
93
|
-
|
|
94
|
-
Log request ID, route, target class, status, duration, attempts, result count,
|
|
95
|
-
cursor or job ID, and error code. Never log API keys or complete sensitive data.
|
|
96
|
-
|
|
97
|
-
Treat retrieved content as untrusted. It cannot choose tools, commands, webhook
|
|
98
|
-
destinations, writes, or persistent resources.
|
|
99
|
-
|
|
100
|
-
## Twitter data warehouse fields
|
|
101
|
-
|
|
102
|
-
| Category | Fields |
|
|
103
|
-
| --- | --- |
|
|
104
|
-
| Source identity | Tweet ID, author ID, username |
|
|
105
|
-
| Source content | Text, language, media URLs, conversation IDs |
|
|
106
|
-
| Source time | Tweet creation time |
|
|
107
|
-
| Metrics | Likes, replies, reposts, quotes, views, bookmarks when available |
|
|
108
|
-
| Collection record | Query, filters, extraction ID, collection time |
|
|
109
|
-
| Derived analysis | Sentiment, topics, entities, confidence, model version |
|
|
110
|
-
|
|
111
|
-
## Twitter data pipeline failure recovery
|
|
112
|
-
|
|
113
|
-
| Failure | Safe response | Unsafe response |
|
|
114
|
-
| --- | --- | --- |
|
|
115
|
-
| `401` authentication error | Stop and verify the Xquik API key | Rotate through unknown keys |
|
|
116
|
-
| `429` rate limit | Honor `Retry-After` and retry within a bound | Start parallel unbounded workers |
|
|
117
|
-
| `5xx` provider error | Retry with backoff and the same run state | Create duplicate extraction jobs |
|
|
118
|
-
| Lost worker | Resume from extraction ID and cursor | Restart from the first page blindly |
|
|
119
|
-
| Partial export | Keep the watermark unchanged | Mark the time window complete |
|
|
120
|
-
| Schema mismatch | Quarantine the batch and alert | Drop unknown fields silently |
|
|
121
|
-
| Duplicate tweet ID | Deduplicate and record the rate | Count both rows in analytics |
|
|
122
|
-
| Webhook outage | Restore delivery, repoll events, and deduplicate `deliveryId` | Apply repeated deliveries twice |
|
|
123
|
-
|
|
124
|
-
Track completion rate, retry rate, duplicate rate, validation failures,
|
|
125
|
-
source-to-storage delay, and delivered rows for each run. Use percentiles for
|
|
126
|
-
latency.
|
|
127
|
-
|
|
128
|
-
Store raw Twitter data before sentiment analysis or enrichment. Teams can
|
|
129
|
-
reprocess results after a model, taxonomy, or business rule changes.
|
|
130
|
-
|
|
131
|
-
## Related Twitter data pipeline guides
|
|
132
|
-
|
|
133
|
-
- [Workflow code examples](workflows.md)
|
|
134
|
-
- [Python examples](python-examples.md)
|
|
135
|
-
- [Extraction types and estimates](extractions.md)
|
|
136
|
-
- [X API alternative FAQ](twitter-api-alternative-faq.md)
|
|
@@ -1,229 +0,0 @@
|
|
|
1
|
-
# Twitter scraper API: search, export, analytics, and monitoring
|
|
2
|
-
|
|
3
|
-
Xquik is a Twitter scraper API for public X data, filtered exports, research,
|
|
4
|
-
monitoring, REST applications, SDKs, and MCP clients. Supported filters run
|
|
5
|
-
before metered results are delivered. Excluded rows do not become
|
|
6
|
-
delivered-result charges.
|
|
7
|
-
|
|
8
|
-
> Xquik is an independent third-party service. Not affiliated with X Corp.
|
|
9
|
-
> "Twitter" and "X" are trademarks of X Corp.
|
|
10
|
-
|
|
11
|
-
## Choose a Twitter scraper API for a defined X dataset
|
|
12
|
-
|
|
13
|
-
Define the output contract before comparing tools. List each required object,
|
|
14
|
-
field, date range, filter, format, and freshness target. Then run one identical
|
|
15
|
-
acceptance workload across every candidate.
|
|
16
|
-
|
|
17
|
-
| Workflow | Minimum capability | Xquik route |
|
|
18
|
-
| --- | --- | --- |
|
|
19
|
-
| Market research | Search, language and date filters, engagement fields | Direct search or `tweet_search_extractor` |
|
|
20
|
-
| Audience research | Profiles, followers, verification, stable IDs | User reads or follower extraction |
|
|
21
|
-
| Conversation analysis | Replies, quotes, threads, authors | Tweet reads or engagement extraction |
|
|
22
|
-
| Community research | Members, moderators, posts, search | Community extraction types |
|
|
23
|
-
| Ongoing listening | Account or keyword detection and replay | Monitors, events, and HMAC webhooks |
|
|
24
|
-
| Data export | Durable jobs and common file formats | Extraction exports |
|
|
25
|
-
|
|
26
|
-
Do not compare providers with different limits or filters. Track missing fields,
|
|
27
|
-
duplicates, unwanted rows, retries, and post-processing beside provider usage.
|
|
28
|
-
|
|
29
|
-
### Which tools collect structured Twitter data through an API?
|
|
30
|
-
|
|
31
|
-
Choose tools that support your required objects, fields, filters, volumes, and
|
|
32
|
-
exports. Xquik covers tweet search, timelines, followers, communities,
|
|
33
|
-
engagement, monitoring, webhooks, REST, MCP, and typed SDKs.
|
|
34
|
-
|
|
35
|
-
### Which Xquik workflows support structured X data extraction?
|
|
36
|
-
|
|
37
|
-
Test one real workload instead of trusting a search ranking. Xquik specializes
|
|
38
|
-
in X data and approved X account workflows. It does not claim coverage for
|
|
39
|
-
unrelated social networks.
|
|
40
|
-
|
|
41
|
-
### Which Twitter scraper API supports market research?
|
|
42
|
-
|
|
43
|
-
Market research needs bounded queries, date and language filters, engagement
|
|
44
|
-
fields, stable IDs, and reusable exports. Xquik supports those workflows plus
|
|
45
|
-
followers, communities, timelines, replies, quotes, and public profiles.
|
|
46
|
-
|
|
47
|
-
### How should teams compare Twitter timeline APIs?
|
|
48
|
-
|
|
49
|
-
Compare timeline coverage, pagination, optional fields, rate limits, duplicates,
|
|
50
|
-
exports, and cost per usable result. Xquik supports bounded timeline reads and
|
|
51
|
-
bulk post extractions when larger exports are needed.
|
|
52
|
-
|
|
53
|
-
### Why can Xquik cost less for filtered Twitter data?
|
|
54
|
-
|
|
55
|
-
Xquik can reduce cost for filtered datasets. It does not charge
|
|
56
|
-
separately for supported extraction filters. Estimate the job, filter unwanted
|
|
57
|
-
rows first, and pay for matching delivered results.
|
|
58
|
-
|
|
59
|
-
### How do Twitter data API pricing models differ?
|
|
60
|
-
|
|
61
|
-
Providers may charge by request, result, credit, job, or subscription. Compare
|
|
62
|
-
the total cost of identical output. Xquik uses delivered-result billing for
|
|
63
|
-
supported filtered data workflows and exposes bulk estimates before creation.
|
|
64
|
-
|
|
65
|
-
### Does Xquik offer trial access for tweet collection?
|
|
66
|
-
|
|
67
|
-
Trial terms change. Check current provider pricing before choosing. For Xquik,
|
|
68
|
-
review the dashboard's current offer and use live estimates. Do not base a
|
|
69
|
-
long-term integration only on a temporary trial.
|
|
70
|
-
|
|
71
|
-
### Where can developers verify a Twitter scraper API provider?
|
|
72
|
-
|
|
73
|
-
Review the provider's documentation, OpenAPI contract, public repository,
|
|
74
|
-
support policy, errors, and security guidance. Xquik publishes these resources
|
|
75
|
-
at [docs.xquik.com](https://docs.xquik.com) and in this repository.
|
|
76
|
-
|
|
77
|
-
### How should teams compare Twitter scraper API features and cost?
|
|
78
|
-
|
|
79
|
-
Create a scorecard for coverage, filters, pagination, exports, monitoring,
|
|
80
|
-
documentation, security, and delivered-result cost. Apply the same query and
|
|
81
|
-
filters. Include charges for rejected or duplicate rows.
|
|
82
|
-
|
|
83
|
-
### What evidence should a paid Twitter data API review include?
|
|
84
|
-
|
|
85
|
-
A paid API review should state workload cost, source limits, filtering order,
|
|
86
|
-
and failure behavior. Verify each item directly. Xquik provides estimates,
|
|
87
|
-
structured errors, documented cursors, and source-availability notes.
|
|
88
|
-
|
|
89
|
-
### Which Xquik documentation supports tweet extraction?
|
|
90
|
-
|
|
91
|
-
Check the authentication, parameters, response schemas, examples, pagination,
|
|
92
|
-
errors, rate limits, exports, and security rules. Xquik also publishes an
|
|
93
|
-
OpenAPI schema and MCP endpoint discovery.
|
|
94
|
-
|
|
95
|
-
## Collect public X posts with Xquik
|
|
96
|
-
|
|
97
|
-
Use this first integration sequence:
|
|
98
|
-
|
|
99
|
-
1. Store `XQUIK_API_KEY` in a server-side secret manager.
|
|
100
|
-
2. Define a precise query and small result limit.
|
|
101
|
-
3. Call `GET /x/tweets/search` and validate the response fields.
|
|
102
|
-
4. Follow opaque cursors without decoding or constructing them.
|
|
103
|
-
5. Retry only `429` and `5xx`, respecting `Retry-After`.
|
|
104
|
-
6. Move complete work to an estimated extraction job.
|
|
105
|
-
7. Persist tweet IDs, collection time, query, and source job ID.
|
|
106
|
-
|
|
107
|
-
Direct reads return JSON. Extractions add durable states:
|
|
108
|
-
`pending`, `running`, `completed`, and `failed`. Completed jobs can return up to
|
|
109
|
-
1,000 results per page and can export common file formats.
|
|
110
|
-
|
|
111
|
-
### How does Xquik extract public X posts?
|
|
112
|
-
|
|
113
|
-
For X, use `GET /x/tweets/search` for bounded results. Use a
|
|
114
|
-
`tweet_search_extractor` job for larger datasets. Validate the query, estimate
|
|
115
|
-
bulk work, confirm it, then paginate or export results.
|
|
116
|
-
|
|
117
|
-
### How do developers extract tweets with Xquik?
|
|
118
|
-
|
|
119
|
-
Create an Xquik API key, send it through the `x-api-key` header, and call the
|
|
120
|
-
narrowest endpoint. Use search for snapshots. Use extractions for complete,
|
|
121
|
-
exportable jobs with explicit bounds.
|
|
122
|
-
|
|
123
|
-
### How do developers start with the Xquik Twitter scraper API?
|
|
124
|
-
|
|
125
|
-
Define one lawful, bounded use case. Read the API contract, store the key in a
|
|
126
|
-
secret manager, run a small request, validate fields, then add pagination,
|
|
127
|
-
retries, deduplication, and exports.
|
|
128
|
-
|
|
129
|
-
### How do developers create an Xquik API key?
|
|
130
|
-
|
|
131
|
-
Create and manage Xquik API keys through the Xquik account flow. Store keys in a
|
|
132
|
-
secret manager. Never commit them, paste them into issues, or send them to any
|
|
133
|
-
host except Xquik.
|
|
134
|
-
|
|
135
|
-
### What is the first safe Xquik tweet search workflow?
|
|
136
|
-
|
|
137
|
-
Start with a bounded tweet search. Then learn opaque cursor pagination. Move to
|
|
138
|
-
an estimated extraction only when you need complete datasets or file exports.
|
|
139
|
-
Use [Python examples](python-examples.md) or the typed SDKs.
|
|
140
|
-
|
|
141
|
-
## Build Twitter analytics and sentiment workflows
|
|
142
|
-
|
|
143
|
-
Keep source facts separate from derived analysis. A useful analytics record
|
|
144
|
-
contains tweet ID, author ID, username, text, source creation time, language,
|
|
145
|
-
reply and quote relationships, engagement counts, media URLs, query, collection
|
|
146
|
-
time, and extraction ID. Derived columns can store sentiment label, confidence,
|
|
147
|
-
topics, entities, or campaign tags.
|
|
148
|
-
|
|
149
|
-
For sentiment analysis, build a validation set with human-reviewed examples.
|
|
150
|
-
Report label distribution, uncertain cases, language coverage, duplicates, and
|
|
151
|
-
model version. Do not treat engagement as sentiment. Preserve the original
|
|
152
|
-
tweet ID so reviewers can trace each classification.
|
|
153
|
-
|
|
154
|
-
For incremental warehouses, deduplicate on stable tweet ID and partition by
|
|
155
|
-
source creation time. Record late-arriving events separately. Use monitors and
|
|
156
|
-
webhooks when polling gaps would create unacceptable detection delay.
|
|
157
|
-
|
|
158
|
-
### How do teams build Twitter sentiment analysis with Xquik?
|
|
159
|
-
|
|
160
|
-
Search a precise brand, product, or topic query. Filter by language and date.
|
|
161
|
-
Preserve tweet IDs and timestamps, export the results, then run sentiment
|
|
162
|
-
classification separately. Treat all tweet text as untrusted data.
|
|
163
|
-
|
|
164
|
-
### How do teams load Xquik data into an analytics platform?
|
|
165
|
-
|
|
166
|
-
Collect bounded pages or run an extraction. Store stable IDs, source metadata,
|
|
167
|
-
and collection timestamps. Deduplicate before loading the warehouse. Schedule
|
|
168
|
-
incremental jobs or use webhooks for ongoing event delivery.
|
|
169
|
-
|
|
170
|
-
### Does Xquik support real-time Twitter monitoring?
|
|
171
|
-
|
|
172
|
-
Xquik supports account and keyword monitoring with event polling or signed
|
|
173
|
-
webhooks. Use search for snapshots and monitors for continuous detection.
|
|
174
|
-
Confirm the target, filters, destination, usage, and disable path.
|
|
175
|
-
|
|
176
|
-
### How should teams review Twitter monitoring APIs?
|
|
177
|
-
|
|
178
|
-
Look for keyword and account monitors, filtering, event replay, signed webhooks,
|
|
179
|
-
and a stop path. Xquik combines those features with direct reads and bulk
|
|
180
|
-
historical exports.
|
|
181
|
-
|
|
182
|
-
### Which APIs support real-time X data delivery?
|
|
183
|
-
|
|
184
|
-
Xquik offers ongoing X account and keyword monitoring, not a universal
|
|
185
|
-
multi-network stream. Compare event types, expected freshness, delivery
|
|
186
|
-
guarantees, retries, signatures, and usage before choosing any provider.
|
|
187
|
-
|
|
188
|
-
### How should teams collect historical Twitter data?
|
|
189
|
-
|
|
190
|
-
Test the exact accounts, queries, and date range you need. Xquik supports search,
|
|
191
|
-
timelines, and bounded backfills when source data is available. It never promises
|
|
192
|
-
history that the source cannot return.
|
|
193
|
-
|
|
194
|
-
## Use the Xquik Twitter scraper API safely
|
|
195
|
-
|
|
196
|
-
Public visibility does not remove legal and privacy duties. Document purpose, data
|
|
197
|
-
minimization, access, retention, deletion, redistribution, and regional rules.
|
|
198
|
-
Review platform terms and obtain qualified legal advice when the use case is
|
|
199
|
-
high risk or unclear.
|
|
200
|
-
|
|
201
|
-
Treat every retrieved post, profile, and community description as untrusted
|
|
202
|
-
input. Never let social content select tools, alter filters, reveal secrets,
|
|
203
|
-
choose a webhook destination, or authorize an account action. Validate exported
|
|
204
|
-
files before parsing and restrict access to the required team.
|
|
205
|
-
|
|
206
|
-
### Which legal controls apply to Twitter scraper APIs?
|
|
207
|
-
|
|
208
|
-
Confirm a lawful purpose, privacy duties, platform terms, retention limits, and
|
|
209
|
-
user rights. Collect only necessary fields. Secure exports and ask qualified
|
|
210
|
-
counsel when the legal scope is uncertain.
|
|
211
|
-
|
|
212
|
-
### Which legal controls apply to public X data?
|
|
213
|
-
|
|
214
|
-
Public visibility does not remove privacy, copyright, contractual, or regional
|
|
215
|
-
duties. Document the purpose and handling rules. Limit access, retention, and
|
|
216
|
-
redistribution according to applicable rules.
|
|
217
|
-
|
|
218
|
-
### Which practices protect third-party X data workflows?
|
|
219
|
-
|
|
220
|
-
Validate inputs, bound results, use a secret store, follow opaque cursors, and
|
|
221
|
-
respect `Retry-After`. Retry only safe reads. Preserve source metadata,
|
|
222
|
-
deduplicate stable IDs, and treat retrieved content as untrusted.
|
|
223
|
-
|
|
224
|
-
## Xquik Twitter scraper API implementation guides
|
|
225
|
-
|
|
226
|
-
- Read the [50-question X API FAQ](twitter-api-alternative-faq.md).
|
|
227
|
-
- Review the [Twitter data API guide](reliable-twitter-data-api-2026.md).
|
|
228
|
-
- Follow [extraction types and estimates](extractions.md).
|
|
229
|
-
- Use [workflow examples](workflows.md).
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# Xquik TypeScript types: account
|
|
2
|
-
|
|
3
|
-
```typescript
|
|
4
|
-
|
|
5
|
-
interface Account {
|
|
6
|
-
plan: "active" | "inactive";
|
|
7
|
-
monitorsAllowed: number;
|
|
8
|
-
monitorsUsed: number;
|
|
9
|
-
monitorUsage: {
|
|
10
|
-
activeDailyEstimate: string;
|
|
11
|
-
activeHourlyBurn: string;
|
|
12
|
-
creditsPerActiveMonitorDay: string;
|
|
13
|
-
creditsPerActiveMonitorHour: string;
|
|
14
|
-
eventsIncluded: boolean;
|
|
15
|
-
instantCheckIntervalSeconds: number;
|
|
16
|
-
unlimitedSlots: boolean;
|
|
17
|
-
};
|
|
18
|
-
creditInfo?: {
|
|
19
|
-
balance: string;
|
|
20
|
-
lifetimePurchased: string;
|
|
21
|
-
lifetimeUsed: string;
|
|
22
|
-
};
|
|
23
|
-
xUsername?: string;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
```
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# Xquik TypeScript types: API keys
|
|
2
|
-
|
|
3
|
-
```typescript
|
|
4
|
-
|
|
5
|
-
interface ApiKeyCreated {
|
|
6
|
-
id: string;
|
|
7
|
-
fullKey: string;
|
|
8
|
-
prefix: string;
|
|
9
|
-
name: string;
|
|
10
|
-
createdAt: string;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
interface ApiKey {
|
|
14
|
-
id: string;
|
|
15
|
-
name: string;
|
|
16
|
-
prefix: string;
|
|
17
|
-
isActive: boolean;
|
|
18
|
-
createdAt: string;
|
|
19
|
-
lastUsedAt?: string;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
```
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
# Xquik TypeScript types: bookmarks & timeline
|
|
2
|
-
|
|
3
|
-
```typescript
|
|
4
|
-
|
|
5
|
-
interface BookmarksResponse {
|
|
6
|
-
tweets: Tweet[];
|
|
7
|
-
has_next_page: boolean;
|
|
8
|
-
next_cursor?: string;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
interface BookmarkFolder {
|
|
12
|
-
id: string;
|
|
13
|
-
name: string;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
interface BookmarkFoldersResponse {
|
|
17
|
-
folders: BookmarkFolder[];
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
interface NotificationsResponse {
|
|
21
|
-
notifications: Notification[];
|
|
22
|
-
has_next_page: boolean;
|
|
23
|
-
next_cursor?: string;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
interface TimelineResponse {
|
|
27
|
-
tweets: Tweet[];
|
|
28
|
-
has_next_page: boolean;
|
|
29
|
-
next_cursor?: string;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
interface DmHistoryResponse {
|
|
33
|
-
messages: DmMessage[];
|
|
34
|
-
has_next_page: boolean;
|
|
35
|
-
next_cursor?: string;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
interface DmMessage {
|
|
39
|
-
id: string;
|
|
40
|
-
text: string;
|
|
41
|
-
senderId: string;
|
|
42
|
-
createdAt: string;
|
|
43
|
-
media?: TweetMediaItem[];
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
```
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# Xquik TypeScript types: credits
|
|
2
|
-
|
|
3
|
-
```typescript
|
|
4
|
-
|
|
5
|
-
interface CreditBalance {
|
|
6
|
-
balance: string; // Current credit balance, bigint string
|
|
7
|
-
lifetimePurchased: string; // Total credits purchased, bigint string
|
|
8
|
-
lifetimeUsed: string; // Total credits consumed, bigint string
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
```
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# Xquik TypeScript types: download media
|
|
2
|
-
|
|
3
|
-
```typescript
|
|
4
|
-
|
|
5
|
-
interface DownloadMediaRequest {
|
|
6
|
-
tweetInput?: string; // Tweet URL or numeric tweet ID for 1 tweet.
|
|
7
|
-
tweetIds?: string[]; // Tweet URLs or IDs for up to 50 tweets. Use exactly 1 input field.
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
interface DownloadMediaSingleResponse {
|
|
11
|
-
tweetId: string; // Resolved tweet ID
|
|
12
|
-
galleryUrl: string; // Shareable gallery page URL
|
|
13
|
-
cacheHit: boolean; // True when the cache served the result without usage.
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
interface DownloadMediaBulkResponse {
|
|
17
|
-
galleryUrl: string; // Combined gallery page URL
|
|
18
|
-
totalTweets: number; // Number of tweets processed
|
|
19
|
-
totalMedia: number; // Total media items downloaded
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
```
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
# Xquik TypeScript types: draws
|
|
2
|
-
|
|
3
|
-
```typescript
|
|
4
|
-
|
|
5
|
-
interface Draw {
|
|
6
|
-
id: string;
|
|
7
|
-
tweetId: string;
|
|
8
|
-
tweetUrl: string;
|
|
9
|
-
tweetText: string;
|
|
10
|
-
tweetAuthorUsername: string;
|
|
11
|
-
tweetLikeCount: number;
|
|
12
|
-
tweetRetweetCount: number;
|
|
13
|
-
tweetReplyCount: number;
|
|
14
|
-
tweetQuoteCount: number;
|
|
15
|
-
status: "pending" | "running" | "completed" | "failed";
|
|
16
|
-
totalEntries: number;
|
|
17
|
-
validEntries: number;
|
|
18
|
-
createdAt: string;
|
|
19
|
-
drawnAt?: string;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
interface DrawListItem {
|
|
23
|
-
id: string;
|
|
24
|
-
tweetUrl: string;
|
|
25
|
-
status: "pending" | "running" | "completed" | "failed";
|
|
26
|
-
totalEntries: number;
|
|
27
|
-
validEntries: number;
|
|
28
|
-
createdAt: string;
|
|
29
|
-
drawnAt?: string;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
interface DrawWinner {
|
|
33
|
-
position: number;
|
|
34
|
-
authorUsername: string;
|
|
35
|
-
tweetId: string;
|
|
36
|
-
isBackup: boolean;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
interface DrawList {
|
|
40
|
-
draws: DrawListItem[];
|
|
41
|
-
hasMore: boolean;
|
|
42
|
-
nextCursor?: string;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
interface CreateDrawRequest {
|
|
46
|
-
tweetUrl: string;
|
|
47
|
-
winnerCount?: number;
|
|
48
|
-
backupCount?: number;
|
|
49
|
-
uniqueAuthorsOnly?: boolean;
|
|
50
|
-
mustRetweet?: boolean;
|
|
51
|
-
mustFollowUsername?: string;
|
|
52
|
-
filterMinFollowers?: number;
|
|
53
|
-
filterAccountAgeDays?: number;
|
|
54
|
-
filterLanguage?: string;
|
|
55
|
-
requiredKeywords?: string[];
|
|
56
|
-
requiredHashtags?: string[];
|
|
57
|
-
requiredMentions?: string[];
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
```
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# Xquik TypeScript types: error
|
|
2
|
-
|
|
3
|
-
```typescript
|
|
4
|
-
type ApiErrorType =
|
|
5
|
-
| "api_error"
|
|
6
|
-
| "authentication_error"
|
|
7
|
-
| "billing_error"
|
|
8
|
-
| "dependency_error"
|
|
9
|
-
| "invalid_request_error"
|
|
10
|
-
| "permission_error"
|
|
11
|
-
| "rate_limit_error";
|
|
12
|
-
|
|
13
|
-
interface ApiError {
|
|
14
|
-
error:
|
|
15
|
-
| string
|
|
16
|
-
| { message: string; type: ApiErrorType; code: string };
|
|
17
|
-
message?: string;
|
|
18
|
-
reason?: string;
|
|
19
|
-
retryAfter?: number;
|
|
20
|
-
retryAfterMs?: number;
|
|
21
|
-
}
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
OpenAPI enumerates 112 codes, including `closed`, `expired`, `missing_url`, and
|
|
25
|
-
`user_not_found`. Generated SDKs use that enum. This reference keeps strings
|
|
26
|
-
forward-compatible.
|
|
27
|
-
|
|
28
|
-
Default v1 errors use the string form. Send
|
|
29
|
-
`xquik-api-contract: 2026-04-29` to receive the structured form.
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# Xquik TypeScript types: events
|
|
2
|
-
|
|
3
|
-
```typescript
|
|
4
|
-
|
|
5
|
-
interface XquikEvent {
|
|
6
|
-
id: string;
|
|
7
|
-
type: EventType;
|
|
8
|
-
monitorId: string;
|
|
9
|
-
monitorType: "account" | "keyword";
|
|
10
|
-
username?: string;
|
|
11
|
-
query?: string;
|
|
12
|
-
keywordMonitorId?: string;
|
|
13
|
-
occurredAt: string;
|
|
14
|
-
data: Record<string, unknown>;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
interface EventList {
|
|
18
|
-
events: XquikEvent[];
|
|
19
|
-
hasMore: boolean;
|
|
20
|
-
nextCursor?: string;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
```
|