Skip to main content
snscrape is an open-source Python scraper for social networks. Its Twitter module stopped working in 2023. This page shows what broke and how to run the same jobs with Xquik.
Check the snscrape repository for its current state before you plan around it.

What happened to snscrape on Twitter

Issue #846 reported in April 2023 that Twitter searches failed with blocked (403). Issue #996 opened on 2023-06-30. It says all Twitter scrapes fail with blocked (404). It was still open on 2026-11-04. The last snscrape release, v0.7.0.20230622, came out 8 days before that issue. The repository has had no commit since then.

Search tweets without an X account

Xquik’s Python SDK runs each search on Xquik’s infrastructure. You add no X account and no cookies. So no account of yours can get banned.
Each returned tweet costs 1 credit, or USD 0.00015 with pay-as-you-go credits. Empty searches cost nothing. Continue with next_cursor to read the next page. Xquik keeps the X search operators you send, such as from:, since: and until:. The operator list covers the rest.

snscrape scrapers and their Xquik calls

snscrape vs Xquik

Move a snscrape job to Xquik

1

Copy the query

Keep the search string you passed to snscrape. Xquik reads the same operators.
2

Swap the call

Replace the scraper class with the Xquik call from the table above. Map each field you stored to the new response.
3

Page and store

Read next_cursor until it is empty. Store tweet IDs so a rerun skips rows you already have.
4

Export large pulls

Run an extraction job for thousands of tweets. Download the result as CSV, JSON or XLSX.

Python SDK

Install the SDK, set the API key and run your first search.

Search tweets by date

Pull tweets from a fixed date window with since: and until:.

twscrape comparison

Compare the account-based twscrape library with Xquik.

Official snscrape repository

Check the current code and open issues.