Skip to content

Filters

Filters are passed as query parameters to control which articles are returned. Their order does not matter, but when chaining filters, only articles satisfying all filters (AND logic) are returned.

Filter by article type using the articleTypes parameter. By default, all types are included.

Available values (comma-separated): article, video, gallery, report, pressrelease, podcast

Terminal window
curl "https://widget.slipcase.com/api/v2/feed/?apiKey=YOUR_API_KEY&articleTypes=article,video"

Filter by topic using the includeTopics parameter with a comma-separated list of topic IDs.

Terminal window
curl "https://widget.slipcase.com/api/v2/feed/?apiKey=YOUR_API_KEY&includeTopics=1,4,5"

See Appendix A: Topics for the full list of topic IDs.

Include or exclude articles by specific companies using includeCompanies and excludeCompanies parameters (comma-separated company IDs).

Terminal window
curl "https://widget.slipcase.com/api/v2/feed/?apiKey=YOUR_API_KEY&includeCompanies=1&excludeCompanies=8,12"

See Appendix B: Organisations for the full list of company IDs.

Use the additionalSources parameter with a comma-separated list of domains to exclude.

The parameter matches against the start of the article URL, so:

  • bbc.com excludes all BBC articles
  • news.bbc.com,sport.bbc.com excludes specific subdomains
  • bbc.com/entertainment/ excludes a specific section
Terminal window
curl "https://widget.slipcase.com/api/v2/feed/?apiKey=YOUR_API_KEY&additionalSources=bbc.com"

Exclude articles behind paywalls using includePaywalled. Paywalled articles are included by default.

ValueBehaviour
1Include paywalled articles (default)
0Exclude paywalled articles
Terminal window
curl "https://widget.slipcase.com/api/v2/feed/?apiKey=YOUR_API_KEY&includePaywalled=0"

Exclude articles requiring free registration using includeRegistration. Included by default.

ValueBehaviour
1Include registration-required articles (default)
0Exclude registration-required articles
Terminal window
curl "https://widget.slipcase.com/api/v2/feed/?apiKey=YOUR_API_KEY&includeRegistration=0"

Exclude articles from sources that don’t allow iFraming using excludeNonIframeableSources.

ValueBehaviour
0Include non-iframeable articles (default)
1Exclude non-iframeable articles
Terminal window
curl "https://widget.slipcase.com/api/v2/feed/?apiKey=YOUR_API_KEY&excludeNonIframeableSources=1"

Exclude articles from websites that don’t use HTTPS using excludeNonHttpsSources. This prevents browser security warnings about insecure resources.

ValueBehaviour
0Include non-HTTPS articles (default)
1Exclude non-HTTPS articles
Terminal window
curl "https://widget.slipcase.com/api/v2/feed/?apiKey=YOUR_API_KEY&excludeNonHttpsSources=1"

Use the searchTerms parameter with a comma-separated list of keywords to filter articles by headline or introduction.

Terminal window
curl "https://widget.slipcase.com/api/v2/feed/?apiKey=YOUR_API_KEY&searchTerms=yacht,boat"