X (Twitter) API by APISH avatar

X (Twitter) API by APISH

Pricing

$4.00 / 1,000 credits

Go to Apify Store
X (Twitter) API by APISH

X (Twitter) API by APISH

Public X (Twitter) profiles, recent tweets, highlights, communities and video transcripts as JSON, without an X developer account, via APISH. Pay per credit; failed calls are free.

Pricing

$4.00 / 1,000 credits

Rating

0.0

(0)

Developer

APISH

APISH

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

13 days ago

Last modified

Categories

Features

Limited permissions

Share

Get public X (Twitter) data as clean, consistent JSON: x community, x community tweets, x profile, one tweet, x video transcript, x user highlights and more. 7 endpoints, one response shape, numbers parsed, absolute URLs.

How to use

  1. Pick an Endpoint. Each option shows what it returns and its price in credits.
  2. Enter its Parameters as JSON, for example {"username":"nasa"}. All parameters are listed below.
  3. Run. Each call becomes one row in the dataset. Use Batch to run the same endpoint for many inputs and Pages per input to follow pagination.

Pricing

Pay per event: you pay per APISH credit the call used. The price of each endpoint is in the table below. Calls that fail on our side (server errors, timeouts, blocks) are free.

Endpoints

EndpointReturnsRequired parametersCredits
/twitter/v1/communityX communityid1
/twitter/v1/community/tweetsX community tweetsid1
/twitter/v1/profileX profileusername1
/twitter/v1/tweetOne tweeturl1
/twitter/v1/tweet/transcriptX video transcripturl1
/twitter/v1/user/highlightsX user highlightsusername1
/twitter/v1/user/tweetsX user tweetsusername1

Output

Each dataset row has endpoint, params, status, credits_used and the endpoint's data. Add "raw": 1 to the parameters to also get the site's original record, or "fields": "a,b.c" to return only the fields you need.

Endpoint details

X community

Endpoint /twitter/v1/community · 1 credit per successful call.

Parameters:

  • id (required): Community ID or URL.

Example parameters: {"id":"1926186499399139650"}

X community tweets

Endpoint /twitter/v1/community/tweets · 1 credit per successful call.

Parameters:

  • id (required)

Example parameters: {"id":"1926186499399139650"}

X profile

Endpoint /twitter/v1/profile · 1 credit per successful call.

Parameters:

  • username (required)

Example parameters: {"username":"nasa"}

One tweet

Endpoint /twitter/v1/tweet · 1 credit per successful call.

Parameters:

  • url (required): Post URL or numeric id.

Example parameters: {"url":"20"}

X video transcript

Endpoint /twitter/v1/tweet/transcript · 1 credit per successful call.

Parameters:

  • url (required)

Example parameters: {"url":"https://x.com/NASA/status/2111180963661435219"}

X user highlights

Endpoint /twitter/v1/user/highlights · 1 credit per successful call.

The tweets an account highlighted on its profile (what x.com shows logged out), with the same fields as user tweets. Pass next_cursor back as cursor; it is null on the last page.

Parameters:

  • username (required)
  • count: Tweets per page, 1-100 (default 20).
  • cursor: next_cursor from the previous page.

Example parameters: {"username":"NASA"}

X user tweets

Endpoint /twitter/v1/user/tweets · 1 credit per successful call.

An account's tweets, newest first (pinned first on page 1), with its own threads: text, time, likes, reposts, replies, quotes, bookmarks, views, media, links, quoted and reposted tweets. Filters: since and until (dates) and media_only; they are applied to the timeline as it is read (up to 3 timeline pages per call), so a page can hold fewer tweets than count; keep paging with next_cursor (null once the timeline passes since). Replies to other accounts are not shown to logged-out visitors, so they are not included. Every response includes credits_used: the credits this call cost. X serves about 100 recent tweets to logged-out clients.

Parameters:

  • username (required)
  • count: Tweets per page, 1-100 (default 20).
  • cursor: Value of next_cursor from the previous page.
  • since: Only tweets posted on or after this date (YYYY-MM-DD).
  • until: Only tweets posted on or before this date (YYYY-MM-DD).
  • media_only: true for tweets with photos, videos or GIFs only.

Example parameters: {"username":"nasa"}

Support

Questions, bugs or a missing field? Open an issue in this Actor's Issues tab and we will reply there.

Public data only: nothing behind a login. You are responsible for how you use the data you collect.