Skip to main content
POST
Search Breakout Topics

Authorizations

X-API-Key
string
header
required

Body

application/json

Request for searching breakout topics.

query
string
required

Search query text

Minimum string length: 1
vertical
string | null

Filter by vertical (e.g., 'sports')

mode
enum<string>
default:hybrid

Search mode: vector, keyword, hybrid

Available options:
vector,
keyword,
hybrid
surface_mode
enum<string>
default:topic

Return raw topics or deduped derived story surfaces

Available options:
topic,
story
limit
integer
default:20

Maximum number of results. Requesting more than 20 results requires a credits-based plan.

Required range: 1 <= x <= 100
include
enum<string>[]

Optional expansions to include in the response. Allowed values: citations, entities. Example: ["citations", "entities"]

Available options:
citations,
entities
include_citations
boolean
default:false

Deprecated: use include=["citations","entities"] instead.

query_context
SearchQueryContext · object | null

Optional source-aware context for query rewriting. Useful for terse external prompts such as Kalshi markets.

kalshi_event_url
string | null

Optional Kalshi event URL or ticker. When provided, the server resolves event metadata and uses it for query planning. Mutually exclusive with query_context.

Maximum string length: 500
citation_sources
enum<string>[] | null

Restrict returned citations to these source categories (news, reddit, twitter). Omit for all sources. Only applies when surface_mode=topic.

Citation source categories usable as a citation filter.

A subset of the source_category values that appear on returned citations — the categories worth filtering on. Other categories (web, tiktok, trends) can still appear on citations but are not offered as filter values.

Available options:
news,
reddit,
twitter
llm_relevance
boolean
default:true

Enable enhanced relevance scoring for search results. When true, results are scored and re-ranked by how well they match the query intent.

Response

Successful Response

Response for searching breakout topics.

search_mode
string
required

Search mode used

surface_mode
enum<string>
default:topic

Whether search returned raw topics or derived story surfaces

Available options:
topic,
story
topics
BreakoutTopicResponse · object[]

Matching topics when surface_mode=topic

stories
TopicStoryViewResponse · object[]

Matching story surfaces when surface_mode=story