tweetapi.dev

Migrate from twitterapi.io

What changes, what stays.

Endpoint names follow twitterapi.io where possible. For most integrations the migration is the base URL and the header name.

twitterapi.iotweetapi.dev
Base URLhttps://api.twitterapi.iohttps://api.tweetapi.dev/v1
Key headerX-API-Keyx-api-key
Per-call minimum$0.00015none
Empty resultchargedfree
Failed requestcharged in some casesfree
Bonus credit expiry30 days12 months on all credits
Profile lookup1.2 credits1 credit
Followers1 to 3 credits, tiered0.1 credit
Response shapeX internal objects passed through in placesone flat Tweet and one flat User, stable

Endpoint map

twitterapi.iotweetapi.dev
/twitter/user/info?userName=/v1/users/{handle}
/twitter/user/last_tweets?userName=/v1/users/{user}/tweets
/twitter/tweets?tweet_ids=/v1/tweets/{id} (batch lookup coming)
/twitter/tweet/advanced_search?query=/v1/tweets/search?q=
/twitter/tweet/replies?tweetId=/v1/tweets/{id}/thread
/twitter/user/followers?userName=/v1/users/{user}/followers
/twitter/user/followings?userName=/v1/users/{user}/following

Field map, Tweet

twitterapi.iotweetapi.dev
idid
texttext
createdAt (Twitter date string)created_at (ISO 8601, UTC)
author.userNameauthor.handle
likeCount, retweetCount, replyCount, quoteCount, viewCountlikes, retweets, replies, quotes, views
isReply, inReplyToIdis_reply, in_reply_to_id
quoted_tweetquoted_id (fetch with /v1/tweets/{id})
extendedEntities.media[]media[] with type, url, width, height

What is not here yet

Write actions, login, direct messages: never. Lists, communities, trends, batch lookups, streaming: on the roadmap.

On this page