How to Detect and Filter Clickbait Articles
Find articles flagged as possible clickbait or leave them out of your results
Written by Beatrice Riddick
June 26, 2026
Updated October 16, 2026
How to detect and filter clickbait
Use is_clickbait=1 to find articles flagged as possible clickbait, or is_clickbait=0 to exclude them. The flag compares headline and body sentiment; it does not prove that a headline is misleading.
curl "https://api.apitube.io/v1/news/everything?is_clickbait=1&category.id=medtop:04000000&api_key=YOUR_API_KEY"
You can also send your key in the X-API-Key header. Omit is_clickbait to return articles regardless of the flag.
What does the is_clickbait parameter do?
is_clickbait accepts 0 or 1. A value of 1 selects suspected clickbait; 0 excludes that group. Other values return HTTP 400 with ER0342.
Use the flag to choose articles for review. A difference in headline and body tone can be legitimate, and an unflagged headline can still be misleading.
How to find clickbait articles
Set is_clickbait=1. Add a category to focus on a subject:
curl "https://api.apitube.io/v1/news/everything?is_clickbait=1&category.id=medtop:04000000&api_key=YOUR_API_KEY"
The response sentiment object contains separate title and body entries, each with a score and polarity. Compare them when reviewing a result. See how to filter by category to choose a category ID.
How to exclude clickbait and keep consistent articles
Set is_clickbait=0 to exclude flagged articles. You can combine it with a source filter:
curl "https://api.apitube.io/v1/news/everything?is_clickbait=0&is_verified_source=1&api_key=YOUR_API_KEY"
This removes articles matching the clickbait flag and applies is_verified_source=1. Neither condition verifies the claims in an article.
How to tune sensitivity with sentiment_gap
Use sentiment_gap.min or sentiment_gap.max to choose the distance between headline and body sentiment scores. The gap runs from 0 to 2; larger values mean a greater difference in tone.
For a gap of at least 0.5:
curl "https://api.apitube.io/v1/news/everything?sentiment_gap.min=0.5&api_key=YOUR_API_KEY"
For a gap no larger than 0.2, plus a minimum source rank:
curl "https://api.apitube.io/v1/news/everything?sentiment_gap.max=0.2&source.rank.opr.min=5&api_key=YOUR_API_KEY"
Both bounds accept numbers from 0 to 2. Out-of-range values return ER0344 for .min or ER0249 for .max. Non-numeric values return ER0343 or ER0345, respectively.
How to combine clickbait detection with other filters
Add category, language, date or sorting parameters to the same request:
curl "https://api.apitube.io/v1/news/everything?is_clickbait=1&category.id=medtop:11000000&sentiment_gap.min=0.3&sort.by=sentiment.overall.score&api_key=YOUR_API_KEY"
Use sentiment.consistent=1 for matching headline and body polarity, or sentiment.mixed=1 for differing polarity. These filters answer a different question from the clickbait flag.
You can also exclude paywalled or duplicate articles. See the News API parameters reference for the available sentiment filters.
Which endpoints support is_clickbait?
Use is_clickbait and sentiment_gap on /v1/news/everything, /v1/news/top-headlines and /v1/news/count. Send the parameters in a GET query string or POST request body.
Common Questions
- What values does is_clickbait accept?
- What is the difference between is_clickbait and sentiment_gap?
- Does is_clickbait use a machine-learning model?
- How do I just exclude clickbait from my feed?
What values does is_clickbait accept?
1 selects flagged articles. 0 excludes them. Other values return HTTP 400 with ER0342.
What is the difference between is_clickbait and sentiment_gap?
is_clickbait selects or excludes a predefined group. The gap parameters let you set your own limits for the difference between headline and body sentiment scores.
Does is_clickbait use a machine-learning model?
Treat is_clickbait as a review signal. The public API provides the flag and sentiment fields, but neither is a verdict about whether a headline is misleading.
How do I just exclude clickbait from my feed?
Add is_clickbait=0 to exclude flagged articles. Review important stories before relying on their headlines; the flag cannot identify every misleading article.