X
What X data Fluxcrawl returns, and where to find each endpoint.
Base path: /v1/x. Served by two upstream providers with automatic fallback, see Introduction for how that works.
Every endpoint below links to its API reference page, which has the full parameter list, response schema, a real example response, and a live request playground.
Endpoints
| Endpoint | What it returns | Parameters | Credits |
|---|---|---|---|
profile | Look up an X (Twitter) profile by username. | username | 1 |
posts | List recent tweets for an X profile. | username | 2 |
post | Fetch a single tweet by ID. | id | 1 |
comments | List replies to a tweet. | id | 2 |
search | Search X users by keyword. | query | 2 |
followers | List an X account's followers. | username | 2 |
following | List who an X account follows. | username | 2 |
retweeters | List who retweeted a tweet. | id | 2 |
discover | Search X content by keyword or hashtag. | query | 2 |
community | Get an X community's details and recent posts in one call. | id | 2 |
List endpoints return the first page of results; pagination isn't exposed
yet. Credits are charged per successful call and reported in
meta.credits_used. Failed calls cost nothing. See
Credits and billing.
Quick example
curl 'https://api.fluxcrawl.dev/v1/x/profile?username=elonmusk' \ -H 'X-API-Key: YOUR_KEY'Things to know
- Read-only. Posting, following, or messaging on someone's behalf needs a connected, logged-in account, which is a different integration from pulling public data.
- On
followersandfollowing,verifiedreflects only X's legacy flag. Callprofilefor real verification status.