Skip to main content
The NewsAPI plugin syncs data locally. Use corsair.newsapi.db.<entity>.search({ data, limit?, offset? }) with the filters listed per entity.

Articles

Path: newsapi.db.articles.search

Searchable filters

Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.

Sources

Path: newsapi.db.sources.search

Searchable filters

Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.