When I query the tweetsRecentSearch endpoint, I get tweets that would be otherwise filtered within a native Twitter client.

Is there any way how to filter them within the search or detect that the tweet has been flagged as sensitive?

There is a possibly_sensitive field for a tweet object: Tweet object | Docs | Twitter Developer Platform but for Blocks and Mutes, you’ll have to enumerate those yourself with GET /2/users/:id/blocking | Docs | Twitter Developer Platform and GET /2/users/:id/muting | Docs | Twitter Developer Platform

The possibly_sensitive field is just for the media or URL.

I couldn’t find any field, that would determine whether the content itself is sensitive.

These types of posts get filtered traditionally within the Twitter Native Client, as they are marked as sensitive.

But both the Streaming API and Search API will show them.

1 Like