Search story clusters

Relevance-ranked full-text search over headlines and excerpts, with substring fallback for word prefixes. Set mode=semantic to rank by embedding cosine similarity instead, which matches paraphrases and related concepts.

get/api/stories/search

Request

  • Base URL: https://techsnif.com
  • URL: https://techsnif.com/api/stories/search
  • Auth: none declared

Query parameters

qstring required
mode'keyword' | 'semantic'

keyword (default) runs full-text search. semantic ranks by embedding similarity and ignores the publisher filter; it falls back to keyword when semantic search is unavailable.

limitinteger
offsetinteger
publisherstring

Keyword mode only

Response

Search results. The response includes a mode field (keyword or semantic) reflecting the search that actually ran.

totalinteger

Total matching clusters (for pagination)

limitinteger
offsetinteger

Changes

No recorded changes to this operation across all 1 revision of this API.