How to Exclude Paywalled or Duplicate Articles
Select publisher access flags and reduce repeated articles
Written by Beatrice Riddick
June 26, 2026
Updated October 16, 2026
How to exclude paywalled or duplicate articles
Use is_paywall=0 for articles marked as freely accessible at the publisher and is_duplicate=0 to remove duplicate-flagged copies. Combine both conditions if you need that selection:
curl "https://api.apitube.io/v1/news/everything?is_paywall=0&is_duplicate=0&api_key=YOUR_API_KEY"
Send the key through api_key or X-API-Key. These flags describe article attributes; they do not guarantee current access or remove every repeated story.
How does is_paywall=0 work?
0 selects articles marked as non-paywalled; 1 selects paywalled articles. This is separate from your APITube plan and its full-text access:
curl "https://api.apitube.io/v1/news/everything?is_paywall=0&api_key=YOUR_API_KEY"
The flag accepts 0 or 1. Non-numeric values return 400 ER0005; other numbers return ER0006.
How does is_duplicate=0 work?
It removes articles flagged as duplicates. is_duplicate=1 selects those copies instead:
curl "https://api.apitube.io/v1/news/everything?is_duplicate=0&api_key=YOUR_API_KEY"
Duplicate detection is not a guarantee of a unique result set. Track article IDs and review related coverage if repeated stories matter to your app. Invalid numeric input returns ER0003; unsupported numbers return ER0004.
How to combine both into one clean feed
Add source or subject conditions as needed:
curl "https://api.apitube.io/v1/news/everything?is_paywall=0&is_duplicate=0&source.rank.opr.min=6&category.id=medtop:04000000&api_key=YOUR_API_KEY"
All conditions must match. See source filtering and the parameter reference.
Is there a shortcut for clean, high-quality results?
is_high_quality=1 selects non-duplicate articles from OPR 5+ sources with an image and named author:
curl "https://api.apitube.io/v1/news/everything?is_high_quality=1&api_key=YOUR_API_KEY"
It does not exclude paywalls by itself. Add is_paywall=0 if needed. Invalid high-quality flag values return ER0303.
How do I confirm a result is free and unique?
Check is_free and is_duplicate in the response. The paywall filter uses the opposite wording: is_paywall=0 corresponds to is_free=true. A duplicate exclusion corresponds to is_duplicate=false.
These are recorded flags rather than guarantees that publisher access and duplicate coverage never change.
Which endpoints support these filters?
Use them on supported news endpoints, including Everything, Top Headlines and Count. For totals without article downloads, see counting articles.
Common Questions
- What happens if I leave these parameters out?
- Does is_paywall depend on my subscription plan?
- What does is_duplicate=1 return?
- Why am I getting a 400 error on is_paywall?
What happens if I leave these parameters out?
No paywall or duplicate restriction is added by these parameters. The endpoint’s own selection rules still apply.
Does is_paywall depend on my subscription plan?
No. It describes publisher access. APITube’s Free or test-key article previews are a separate rule.
What does is_duplicate=1 return?
Only duplicate-flagged articles. Use 0 to exclude those flags.
Why am I getting a 400 error on is_paywall?
Use the digits 0 or 1. Read ER0005 for non-numeric input or ER0006 for an unsupported number.