# X API

> 2 public methods for X (x.com), each 1 credit per completed run.

Unofficial. Not affiliated with or endorsed by X.

- Page: https://fous.com/methods/x.com

## Methods

### [Get profile](https://fous.com/methods/x.com/get-profile.md)

`x.com/get_profile`, read. Gets the public X profile for a username or profile link, including counts, verification, images and account details. Does not include posts or a timeline.

Returns: username, display name, bio, follower/following/post counts, joined date, verification, location, website, images, profile link, user ID

### [Get post](https://fous.com/methods/x.com/get-post.md)

`x.com/get_post`, read. Gets a public X (Twitter) post from its link: author, full text, posting time, likes, reposts, replies, quotes, views, language, media and the quoted post. Deleted, protected and unavailable posts cannot be returned.

Returns: author username and display name, full text, posted at, likes, reposts, replies, quotes, views, language, media, quoted post, post link and ID
