# X data for AI agents

Explore X API capabilities, per-call prices, pagination and documented limits.

Canonical: https://socialtoai.com/platforms/x/

## Choose your next call

Each supported action below uses the same core envelope. Price and parameter support come from the current reference card.

| Platform | Verb | Credits | Availability |
|---|---|---|---|
| X | [search](https://socialtoai.com/x-search-api/) | 0.5 | Available |
| X | [trending](https://socialtoai.com/x-trending-api/) | 0.1 | Available |
| X | [detail](https://socialtoai.com/x-detail-api/) | 0.1 | Available |
| X | [comments](https://socialtoai.com/x-comments-api/) | 0.5 | Available |
| X | [user_profile](https://socialtoai.com/x-user-profile-api/) | 0.1 | Available |
| X | [user_posts](https://socialtoai.com/x-user-posts-api/) | 0.5 | Available |

## Know the boundaries

Search count is limited to 1–20 before any upstream request. Source pagination can be unstable; continuation failure is reported rather than silently returning the first page.

Only relevance and latest are native sorts. Other popularity sorts are approximations with warnings. Time and media filters use advanced-search operators.

Trending is Worldwide only, without location, count or pagination parameters.

Comments contain direct replies to the requested post or reply branch.

Profiles require a username or profile URL; numeric IDs are not silently used as usernames. Creator posts also accept a user ID.
