Profile
1 credit/v1/twitter/profileGet Twitter user profile.
handle
Fetch public X (Twitter) profiles, tweets, communities, AI search, and transcripts as structured JSON with one SocialCrawl API key. Same Post, Comment, and Author schema as every other platform. Reads are priced in credits.
8 active endpoints
8 live read endpoints for public X data. Profiles, tweet timelines, single tweets, AI search, communities, and transcripts. Data API only.
/v1/twitter/profileGet Twitter user profile.
handle
/v1/twitter/profile/fullX (Twitter) profile, recent posts, and computed analytics in one call.
handle, posts, cursor, include
/v1/twitter/user/tweetsList Twitter user tweets.
handle, trim
/v1/twitter/tweetGet Twitter tweet details.
url, trim
/v1/twitter/tweet/transcriptGet Twitter video transcript.
url
/v1/twitter/ai-searchAI-powered X (Twitter) search via xAI Grok.
query, from_handles, exclude_handles, from_date, to_date
/v1/twitter/communityGet Twitter community details.
url
/v1/twitter/community/tweetsList Twitter community tweets.
url
Returns an X (Twitter) account's public profile: follower count, following count, tweet count, bio, profile and banner image URLs, and verification status.
Use it when you have a handle and want a quick account snapshot before pulling its tweets.
1 credit
handle · Twitter username without the @ symbol
$ curl https://www.socialcrawl.dev/v1/twitter/profile?handle=elonmusk \
-H "x-api-key: sc_YOUR_API_KEY"// Edit the params above and hit "Try it" to run a live request against the APIX (Twitter) is a normal SocialCrawl social surface. You call GET /v1/twitter/… with an API key, spend credits on live misses, and get a single JSON envelope back. No second SDK.
Send your key in the x-api-key header. The same key works across the SocialCrawl catalog.
Routes are GET. Pass handles, urls, queries, and cursors as query strings. We validate formats before charging.
Live misses debit the route tier. Cache hits cost 0. Empty or hard failures refund.
Every response is the same shape: success, data, credits_used, credits_remaining, request_id, cached.
Most products resolve an account, page content, then deepen only the posts that matter.
GET /v1/twitter/profileAuthor-shaped profile
Resolve the handle or id once.
GET /v1/twitter/profile/fullPostList of recent public items
Page with cursor or after when the route supports it.
GET /v1/twitter/user/tweetsFull Post for one URL or id
List rows are not enough when you need the full record.
GET /v1/twitter/tweetCommentList when the platform exposes it
Expand only when a thread matters.
GET /v1/twitter/profile
?handle=elonmusk
Host: www.socialcrawl.dev
x-api-key: sc_your_api_key_here{
"success": true,
"data": { "/* Author | Post | PostList | CommentList | … */": true },
"credits_used": 1,
"credits_remaining": 9999,
"request_id": "req_…",
"cached": false
}Field names match the rest of SocialCrawl where archetypes align.
id, username, display_name, avatar_url, bio, followers, url, ext
items[].post with id, url, content, engagement, author, published_at, ext
items[] with author, content.text, engagement, published_at when comments ship
search hits, media metadata, or transcripts depending on route
Same request lifecycle as every other /v1 platform endpoint.
Next.js catch-all routes into the Hono social API. We mint a request_id, authenticate the key, then enforce rate limit and concurrency.
Registry lookup finds the route. Required params run first. Invalid input returns 400 with no charge. Valid calls debit before upstream work.
A deterministic cache key is built from platform + resource + params. Hit: credits_used = 0. Miss: upstream fetch with retries and circuit breaker.
Upstream JSON is mapped to Author / Post / PostList / CommentList (or route archetype), validated, wrapped in the success envelope, and logged for billing audit.
Billing rules that matter in production
X (Twitter) is public-read data on SocialCrawl. We normalize it into the shared schema so your code does not learn a second OAuth flow.
Public X (Twitter) surfaces exposed by the registry. Read-only for research, monitoring, and product jobs.
Social-read upstreams behind one gateway. Prism composites combine legs when a fat route is registered.
Unified JSON envelope: success, data, credits_used, request_id, cached. Shared Author / Post / Comment leaves where archetypes align.
No write endpoints and no private inbox. Disabled routes stay out of the active count. Prefer registry docs for the live inventory.
The jobs this API is most often used for.
Real-time narrative and account monitoring on X
Callers concentrate on profile, content lists, search, and deepen paths on X (Twitter). AI search plus profile and tweet reads on the shared schema without a separate X developer app for these surfaces.
Detail reads are typically a few seconds on live miss. Search and fat composites are slower paths.
The jobs X data is most often used for. Each one is a full recipe with the endpoint chain and pricing.
Common ways teams put this data to work, and the stack each one tends to run.
Poll profiles and feeds on X (Twitter). Alert when engagement velocity jumps.
Search and expand posts for brand, product, and competitor language on X (Twitter).
Wire resolve to list to detail into pipelines. Cache hits keep recurring runs cheap.
Live misses spend credits by tier. Cache hits are free. Empty or hard failures refund.
curl "https://www.socialcrawl.dev/v1/twitter/profile?handle=elonmusk" \
-H "x-api-key: sc_your_api_key_here"curl "https://www.socialcrawl.dev/v1/twitter/profile/full?handle=example" \
-H "x-api-key: sc_your_api_key_here"Same key as the rest of the catalog
Every endpoint returns structured JSON in a unified envelope. Computed fields such as engagement rate and content category are included only where the endpoint supports them and the required source inputs are present.
Same X data, two very different paths. Auth, rate limits, schema, and cost, side by side.
| Feature | SocialCrawl | Official X API |
|---|---|---|
| Authentication | One x-api-key header | OAuth 2.0 with developer app credentials |
| Setup / approval | Sign up and call immediately | Developer portal signup and paid tier selection |
| Rate limits | Credit-based, pay per request | Hard caps per tier; reads heavily restricted on lower tiers |
| Response schema | Unified JSON envelope shared across 51 platforms | X-specific payloads you map yourself |
| Pricing | 1 credit per request (10 for video transcripts); 100 free credits | Paid tiers required for meaningful read access |
| Data coverage | Profiles, tweets, communities, transcripts, AI search: read-only public data | Full platform access including posting, DMs, and realtime streams |
| Maintenance | Schema stays stable when X changes internals | You track API version and tier policy changes |
Authentication
Setup / approval
Rate limits
Response schema
Pricing
Data coverage
Maintenance
Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.
Contact usAsk AI about SocialCrawl