canonical: https://jentic.com/apis/socialdata.tools/socialdata

# Socialdata Tools SocialData API Reference

The SocialData API retrieves public data from X (Twitter) without proxies or scraping: search results with advanced search operators, user profiles, followers and following lists, timelines, mentions, tweets with their comments, quotes, and retweeters, plus threads, lists, communities, Spaces, and articles. It looks up as many as 100 users or tweets in one batch call, and checks whether one user follows another, retweeted a tweet, or commented on it without walking the full lists. Monitors watch a user's tweets, following list, or profile, or re-run a search query on a refresh_frequency, and push new events to a webhook URL.

## For AI agents

Search X (Twitter), pull user profiles, followers, timelines, and tweet replies, verify follows and retweets, and set up monitors that push new tweets to a webhook.

## Scope

Does not post, like, retweet, or send direct messages on X, and does not cover other social networks. Use for reading public X (Twitter) data and monitoring it only.

## Capabilities

- Search X (Twitter) with advanced search operators in the query parameter, choosing Latest or Top results and paging with cursor
- Look up user profiles by username or user_id, or up to 100 at once through the users-by-ids and users-by-usernames batch endpoints
- Page through a user's followers, verified followers, following list, tweets, tweets and replies, mentions, highlights, and lists
- Retrieve a tweet with its comments, quotes, and retweeters, or fetch up to 100 tweets in one tweets-by-ids call
- Check whether one user follows another, retweeted a tweet, or commented on a tweet with the verify endpoints
- Read X threads, lists and their members and tweets, communities and their members, Spaces, and articles
- Create monitors for a user's tweets, following list, or profile, or a search query with a refresh_frequency, that send new events to a webhook_url

## Use cases

### AI agent doing social listening

An agent asked what people say about a launch searches Jentic for 'search X tweets', loads getTwitterSearch, and passes a query with advanced search operators such as a phrase and a date filter, with type set to Latest. It follows the cursor for further pages and reads comments on the top results with getTweetComments, then summarizes sentiment without the SocialData API key ever entering its context.

Example prompt: GET `/twitter/search` with query "jentic" since:2026-11-01 and type Latest, follow cursor for two more pages, then GET `/twitter/tweets/{tweet_id}/comments` for the first three results

### Real-time alerts with monitors

Polling for new tweets wastes calls. A search query monitor re-runs a query every refresh_frequency seconds and posts each new matching tweet to a webhook_url as its own event; its first run only records existing matches so later alerts are new. User monitors do the same for a user's tweets, following list, or profile changes, and a global webhook covers monitors without their own URL.

Example prompt: POST `/monitors/search-query` with query "our-brand" -is:retweet, refresh_frequency 60, and webhook_url https://hooks.example.com/x, then GET /monitors to confirm it is active

### Campaign and giveaway verification

Giveaways often require entrants to follow an account, retweet, and reply. The verify endpoints answer each check for one user directly: whether source_user_id follows target_user_id, whether a user retweeted a tweet, and whether they commented on it, without scraping whole follower or retweeter lists.

Example prompt: For entrant user_id 123456, call GET `/twitter/user/{source_user_id}/following/{target_user_id}` against the brand account, GET `/twitter/tweets/{tweet_id}/retweeted_by/{user_id}`, and GET `/twitter/tweets/{tweet_id}/commented_by/{user_id}`, and report pass or fail

### Audience and account research

Researchers profiling an account can pull its profile, extended bio, similar profiles, followers, and following list, then batch-fetch up to 100 related profiles at once with users-by-ids. Lists and communities add the groups an account belongs to or curates.

Example prompt: GET `/twitter/user/{username}` for nasa, then GET `/twitter/user/{user_id}/followers` with cursor for three pages and POST `/twitter/users-by-ids` with the first 100 follower ids

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| GET | `/twitter/search` | Search tweets with advanced operators |
| GET | `/twitter/user/{username}` | Get a user profile by username |
| GET | `/twitter/user/{user_id}/followers` | List a user's followers |
| GET | `/twitter/user/{user_id}/tweets` | List a user's tweets |
| GET | `/twitter/tweets/{tweet_id}/comments` | List comments on a tweet |
| POST | `/twitter/users-by-ids` | Batch look up as many as 100 users |
| GET | `/twitter/user/{source_user_id}/following/{target_user_id}` | Verify a following relationship |
| POST | `/monitors/search-query` | Create a search query monitor |

## Key resources

- **Tweets** — Posts with their comments, quotes, retweeters, threads, and articles
- **Users** — Profiles, extended bios, followers, following, timelines, mentions, and similar accounts
- **Lists and communities** — X lists and communities with their members and tweets
- **Monitors** — Watchers on a user's tweets, following, or profile, or on a search query, that send webhook events
- **Account** — Remaining balance in USD, global webhook URL, and webhook secret

## AI readiness

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

- **Score:** 63 / 100
- **Maturity:** AI-Aware
- **Dimensions:**
  - Foundational Compliance: 52 / 100
  - Developer Experience & Jentic Compatibility: 73 / 100
  - AI-Readiness & Agent Experience: 49 / 100
  - Agent Usability: 94 / 100
  - Security: 60 / 100
  - AI Discoverability: 75 / 100
- **View full report:** https://jentic.com/apis/socialdata.tools/socialdata/scorecard
- **How the score is calculated:** https://docs.jentic.com/reference/api-readiness-framework/overview/
- **More about the dimensions:** https://docs.jentic.com/reference/api-readiness-framework/specification/#dimensional-model-overview

### Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

- **Score your own API:** https://jentic.com/scorecard.md
- **Scoring CLI agent skill:** https://github.com/jentic/jentic-api-scorecard/blob/main/skills/jentic-api-scorecard/SKILL.md

```sh
npx @jentic/api-scorecard-cli score <openapi-url>
```

## Why Jentic

- **Setup:** Wiring SocialData by hand means sending the API key as a bearer token, threading cursor values through every paged endpoint, and hosting a webhook receiver for monitor events. Through Jentic you install once, import SocialData from the API Directory, store the key once, and your agent calls it.
- **Permission scoping:** SocialData puts the user, tweet, list, community, and monitor ids in the URL path (`/twitter/user/{user_id}/...`, `/monitors/{monitor_id}`), so a rule can pin your agent to one account's data or one monitor and the operations you pick. You choose the operations it may call, so changes like deleteMonitor or setGlobalWebhook are not included unless you add them.
- **Credential handling:** Your SocialData API key is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'search X tweets' or 'check if a user follows an account', and Jentic returns the matching SocialData operation, such as getTwitterSearch or verifyTwitterUserFollowing, with its input schema.

## Related APIs

- **Twitter API v2** — The official X API for reading and posting
- **Apify API** — Run scraping actors, including social media scrapers
- **Reddit API** — Read posts and comments from Reddit communities
- **Slack Web API** — Post alerts and summaries into team channels

## FAQ

### What authentication does the SocialData API use?

Per its OpenAPI spec, every SocialData request carries your API key as a bearer token in the Authorization header, in the form Authorization: Bearer YOUR_API_KEY. Through Jentic the key is stored by your own instance and attached at call time.

### Can I search X (Twitter) with advanced search operators?

Yes. GET `/twitter/search` passes the query value through to Twitter search, so advanced operators work inside it, and type selects Latest or Top. Each page typically holds about 20 tweets, and the cursor parameter fetches the next page.

### How do SocialData monitors work?

Create a monitor for a user's tweets, a user's following list, a user's profile, or a search query, and SocialData sends new events to the monitor's webhook_url, or to your global webhook URL if none is set. Search monitors re-run every refresh_frequency seconds, and their first run only records existing matches. Events can also be listed through `/monitors/{monitor_id}/events.`

### What are the rate limits for the SocialData API?

The OpenAPI spec does not specify rate limits. Check the SocialData documentation at https://docs.socialdata.tools for current limits and pricing, and use GET `/user/balance` to see your remaining balance in USD.

### Is there a SocialData MCP server?

You don't need an MCP server to give your agent the SocialData API. Jentic connects it directly from the API Directory: import it, store your API key once, and your agent calls the search, user, tweet, and monitor operations it needs without loading a separate server's tool definitions.

### How do I pull a user's followers through Jentic?

Search Jentic for 'get Twitter user followers', load the getTwitterUserFollowers operation, and execute GET `/twitter/user/{user_id}/followers` with the user's id, passing the returned cursor to fetch each next page. To run it on your own infrastructure, install Jentic One from its GitHub repo.

### Can I limit what my agent is allowed to do with the SocialData API?

Yes. Allow only the GET operations under /twitter/, and the agent can search and read X data while creating, editing, or deleting monitors and changing your webhook settings stay off its list. Every call it makes is logged.
