LurkAPI
Docs · X (Twitter) API

X (Twitter) API

Tweets, profiles and recent posts from any public X account.

Overview

Read public X (Twitter) the way a logged-out visitor sees x.com: one tweet with its full engagement counts and media, an account's profile with exact follower numbers, and an account's recent tweets. Useful for social listening, creator and competitor research, and tracking how posts perform. Protected accounts' tweets and age-restricted tweets need a login, so they return 404 not_found.

Source: x.com.

Endpoints

Call it

Each endpoint is a web address. Request it with GET, put your API key in the x-api-key header, and you get JSON back. For example, Tweet:

curl
curl "https://api.lurkapi.com/v1/twitter/tweet?url=https%3A%2F%2Fx.com%2FNASA%2Fstatus%2F2104593672624886205" \-H "x-api-key: YOUR_API_KEY"

Use it in Claude

Connect LurkAPI to Claude and ask in plain English. Each endpoint is a tool Claude can call:

ToolEndpoint
twitter_tweetTweet
twitter_profileProfile
twitter_user_tweetsUser tweets

From the blog

All posts