Enter an X (Twitter) handle to get their most recent post.
You can also query the API directly. It returns JSON.
# Get last post for an X handle
curl "/api/x-last-post?handle=elonmusk"
Response:
{
"handle": "elonmusk",
"tweet": {
"id": "1234567890",
"text": "...",
"created_at": "Sat Mar 01 12:00:00 +0000 2025",
"url": "https://x.com/elonmusk/status/1234567890"
}
}