Search endpoints
OpenChase API and MCP docs.
How search works
- Ask the question. Send it the way you'd ask it ("who is funding agentic AI startups this week"). What to search for, in plain words: a name, a topic or a question.
searched_forlists what was searched andcredits.usedwhat it cost. - Most relevant first. Posts with
matches_querycome first (for a question, the posts most relevant to it), then the biggest stories, then the newest. So one story never fills the top, the first 18 results hold at most 3 posts from any story that isn't about the whole search. The response'sordersays which order you got, and later pages keep it. Sendorder: "newest"only for a chronological feed;latestalready marks what was posted in the last 2 hours. - Exact words.
exact: truesearches the words exactly as typed: for a quoted phrase, a slogan or a product code, or to keep monitoring a phrase the way search worked before 4 Nov 2026. Anything else gets better results without it. - Full matches.
matches_query: True when the result's title has every word of the whole search (small words such as "the" and question words such as "what" aside), or when it comes from the search subject's own news page. It is a word check, not a relevance score: false doesn't mean the result is unrelated (a question's words rarely all appear in one headline), and true doesn't mean the event in the search happened.strict: truereturns only those (little, for a question);match_summarycounts them either way. - Cost. A search costs 1 credit (3 credits for a question); each further page costs 1.
credits.usedon every response says what that call cost, and a search that finds nothing is free. - Links. Search results carry no links, except a Stack Overflow result's post link in
meta.url(its license requires it to be shown). Open the ones you want with/v1/fetch(free), or callsearch-linksfor the top posts on each platform with their links. - Developer questions. For what changed in a library or platform, a new release or launch, or what other developers hit, name
github(needs a library named inq: its latest releases, withmeta.breaking_linespicked out of their notes, and a repository card) andstackoverflow(needs words describing a problem or a choice: questions withmeta.score,meta.answersandmeta.accepted) inplatforms. A search about software or AI tooling is also given them without asking. Examples: "retrofit latest release notes", "breaking changes in the latest jetpack compose release", "kotlin coroutines vs rxjava". The numbers are the sources' own.breaking_linesdo not say whether a change affects your project: check that against your code. Stack Overflow content is CC BY-SA: quote short excerpts of a question or answer rather than blending them into your own summary, and show with each Stack Overflow as the source, the author with their profile link, the post link and the license version frommeta.attribution. Read a release's notes, a README or a question with its top answers with/v1/fetch-markdown.
POST/v1/search1 credit (3 credits for a question); free if nothing is foundSearch. What people and publications are posting right now about a topic or question: titles, platform, time and story groups, without links.
| Field | Notes |
|---|---|
qrequiredstring, up to 200 chars | What to search for, in plain words: a name, a topic or a question. searched_for lists what was searched and credits.used what it cost. |
platformsarray of: publications, x, instagram, tiktok, reddit, youtube, linkedin, threads, facebook, substack, medium, github, stackoverflow, default ["x", "youtube", "instagram"] | Platforms to search. Three or fewer per call works best. For a software question add github (a library's latest releases and breaking-change lines; needs a library named in q) and stackoverflow (questions with scores; needs words describing a problem or a choice); a search about software or AI tooling is given them without asking. |
countriesarray, default ["us"] | Two-letter country codes (GET /v1/countries). The country of a place the search names is searched too (see auto_countries). |
window24h | 7d | 30d | any, default "24h" | How far back to look. When you don't send it, a search that finds little in 24h looks wider by itself (the response's window is the one used, with widened_from); a window you send is kept. |
limitinteger, 1–100, default 100 | Results per page. |
orderrelevance | newest, default "relevance" | relevance: posts about the search first, then the biggest stories, then newest; the first 18 hold at most 3 posts per story unless the story is about the whole search. newest: a chronological feed. |
exactboolean, default false | Search the words exactly as typed. Only for a quoted phrase, a slogan or a product code. |
strictboolean, default false | Only results with matches_query true. Returns little for a question: its words rarely all appear in a headline. |
auto_countriesboolean, default true | Also search the country of a place the search names ("london flood warning" adds gb): added to countries, or in place of the default when countries isn't sent. searched_for.countries_added lists them. false searches exactly countries. |
auto_languagesboolean, default true | A search written in a country's own language ("são paulo enchentes" in br, "東京 地震" in jp) is also searched in that language there, not only in English. A search in English is never searched in another language, and nothing is translated. searched_for.languages lists them. false searches every country in English only. |
signalsobject | Up to 3 signals: a name and a plain-language yes/no criterion for each, such as {"complaint": "Is this a complaint about the app?"}. Each result's title is checked against every signal (see signals on a result). 1 credit per signal, on top of the call's price. Send this or signal. |
signalstring, up to 300 chars | One signal: the same as signals with a single entry named signal. Send this or signals. |
signal_thresholdnumber, default 0.5 | A result matches a signal when its score p is at least this. It only changes match; p is always returned. |
curl https://api.openchase.ai/v1/search \
-H "Authorization: Bearer $OPENCHASE_KEY" \
-H "Content-Type: application/json" \
-d '{"q": "openai", "platforms": ["x", "reddit", "publications"], "countries": ["us"], "window": "7d"}'{
"countries": [
"us"
],
"counts": {
"publications": 12,
"reddit": 0,
"x": 3
},
"credits": {
"left": 9,
"used": 1
},
"groups": [
{
"group": 0,
"matches_query": true,
"platforms": {
"publications": 3,
"x": 1
},
"title": "OpenAI trims valuation target",
"total": 4
}
],
"has_more": false,
"page": 1,
"platforms": [
"x",
"reddit",
"publications"
],
"query": "openai",
"results": [
{
"countries": [
"us"
],
"group": 0,
"id": "p_d7f92c3cf2ed416e949d",
"latest": false,
"matches_query": true,
"platform": "x",
"published": "2026-10-22T19:17:00+00:00",
"source": "@example_user",
"story": null,
"title": "OpenAI's new model is out and the benchmarks look strong, but the pricing is the real story..."
}
],
"search_id": "83ee2ffeebf044ba88652ec2533315bc",
"stories": [
{
"count": 4,
"story": 0,
"title": "OpenAI trims valuation target"
}
],
"total": 15,
"window": "7d"
}counts: results per platform.groups: every group of results about the same story, with its real total across all pages, biggest first;matches_querywhen at least half its results have it. A result'sgroupis its group, or null.stories(the top two groups) is kept for existing callers.- Results are most relevant first: posts with
matches_query(for a question, the posts most relevant to it), then the biggest stories, then the newest. In the first 18, no story has more than 3 posts unless it is about the whole search.ordersays which order you got, and later pages keep it. Sendorder: "newest"only for a chronological feed.latestmarks the newest developments (the last 2 hours, up to 3 per platform): to show what just happened, put those first. matches_query: True when the result's title has every word of the whole search (small words such as "the" and question words such as "what" aside), or when it comes from the search subject's own news page. It is a word check, not a relevance score: false doesn't mean the result is unrelated (a question's words rarely all appear in one headline), and true doesn't mean the event in the search happened.strict: truekeeps only those, which returns little for a question;match_summarycounts them either way.- What to search for, in plain words: a name, a topic or a question.
searched_forlists what was searched andcredits.usedwhat it cost. Sendexact: trueonly when the words must be searched exactly as typed (a quoted phrase, a slogan, a product code). - Results carry no links: open the ones you need with
/v1/fetch(free), or usesearch-links. has_more: more pages exist (see the next endpoint), each 1 credit. The search lasts 15 minutes.- Add
signals(up to 3: a name and a yes/no question in plain language for each, such as{"complaint": "Is this a complaint about the app?"}), or onesignalstring, to check every result's title against them. Each result then carriessignals({"p": 0.93, "match": true}per name) and the response asignal_summary. 1 credit per signal on top of the call's price;signal_threshold(default 0.5) sets wherematchflips. Scores come from a model reading the title, so word the question to say what counts and what doesn't; measured on English titles only. If any signal can't be checked the whole call fails (502 signal_failed, no results, free).
GET/v1/search/{search_id}1 credit per page; free past the last pageNext page of a search. More results from a search you ran in the last 15 minutes.
| Field | Notes |
|---|---|
search_idrequiredin pathstring | From the first page's response. |
pagerequiredin queryinteger, 1–1000 | 2 for the second page, and so on. |
limitin queryinteger, 1–100, default 100 | Results per page. |
signalsin querystring | As signals on a search, URL-encoded JSON: %7B%22complaint%22%3A%22Is%20this%20a%20complaint%3F%22%7D. |
signalin querystring, up to 300 chars | |
signal_thresholdin querynumber, default 0.5 |
curl "https://api.openchase.ai/v1/search/83ee2ffeebf044ba88652ec2533315bc?page=2" \ -H "Authorization: Bearer $OPENCHASE_KEY"
{
"credits": {
"left": 8,
"used": 1
},
"has_more": true,
"page": 2,
"query": "openai",
"results": [
{
"countries": [
"us"
],
"group": 0,
"id": "p_d7f92c3cf2ed416e949d",
"latest": false,
"matches_query": true,
"platform": "x",
"published": "2026-10-22T19:17:00+00:00",
"source": "@example_user",
"story": null,
"title": "OpenAI's new model is out and the benchmarks look strong, but the pricing is the real story..."
}
],
"search_id": "83ee2ffeebf044ba88652ec2533315bc",
"total": 230
}- Same shape as
POST /v1/search. - Takes
signals(URL-encoded JSON),signalandsignal_thresholdas query parameters, as a search does. Signals aren't remembered between pages: send them on each page you want checked, 1 credit per signal.
POST/v1/search-links1 credit per call (3 credits for a question); free if nothing is foundTop results per platform, with links. The top posts on each platform with their real links, authors and images, in the order the website shows them.
| Field | Notes |
|---|---|
search_idstring | An earlier search (no new search runs). Either this or q. |
qstring, up to 200 chars | A new search. Either this or search_id. |
exactboolean, default false | Search the words exactly as typed. Only for a quoted phrase, a slogan or a product code. |
platformsarray of: publications, x, instagram, tiktok, reddit, youtube, linkedin, threads, facebook, substack, medium, github, stackoverflow, default ["x", "youtube", "instagram"] | Platforms to search. Three or fewer per call works best. For a software question add github (a library's latest releases and breaking-change lines; needs a library named in q) and stackoverflow (questions with scores; needs words describing a problem or a choice); a search about software or AI tooling is given them without asking. |
countriesarray, default ["us"] | Two-letter country codes (GET /v1/countries). The country of a place the search names is searched too (see auto_countries). |
window24h | 7d | 30d | any, default "24h" | How far back to look. When you don't send it, a search that finds little in 24h looks wider by itself (the response's window is the one used, with widened_from); a window you send is kept. |
per_platforminteger, 1–10, default 10 | Posts per platform. |
pageinteger, 1–100, default 1 | The next per_platform posts on each platform. |
auto_countriesboolean, default true | Also search the country of a place the search names ("london flood warning" adds gb): added to countries, or in place of the default when countries isn't sent. searched_for.countries_added lists them. false searches exactly countries. |
auto_languagesboolean, default true | A search written in a country's own language ("são paulo enchentes" in br, "東京 地震" in jp) is also searched in that language there, not only in English. A search in English is never searched in another language, and nothing is translated. searched_for.languages lists them. false searches every country in English only. |
signalsobject | Up to 3 signals: a name and a plain-language yes/no criterion for each, such as {"complaint": "Is this a complaint about the app?"}. Each result's title is checked against every signal (see signals on a result). 1 credit per signal, on top of the call's price. Send this or signal. |
signalstring, up to 300 chars | One signal: the same as signals with a single entry named signal. Send this or signals. |
signal_thresholdnumber, default 0.5 | A result matches a signal when its score p is at least this. It only changes match; p is always returned. |
curl https://api.openchase.ai/v1/search-links \
-H "Authorization: Bearer $OPENCHASE_KEY" \
-H "Content-Type: application/json" \
-d '{"q": "openai", "platforms": ["x", "publications"], "per_platform": 5}'{
"credits": {
"left": 7,
"used": 1
},
"groups": [
{
"group": 0,
"matches_query": true,
"platforms": {
"publications": 3,
"x": 1
},
"title": "OpenAI trims valuation target",
"total": 4
}
],
"page": 1,
"platforms": {
"publications": {
"has_more": false,
"results": []
},
"x": {
"has_more": true,
"results": [
{
"author": "Example Author",
"countries": [
"us"
],
"group": 0,
"id": "p_5e9112cf27ae3596909a",
"image": null,
"image_height": null,
"image_width": null,
"latest": false,
"matches_query": true,
"platform": "x",
"published": "2026-10-22T15:34:00+00:00",
"source": "Example Author",
"story": null,
"title": "Hands-on with OpenAI's latest release: what changed...",
"url": "https://x.com/example_author/status/1849000000000000000"
}
]
}
},
"search_id": "83ee2ffeebf044ba88652ec2533315bc"
}- Send either
search_id(an earlier search; no new search runs) orq(a new search), not both. page2 gives the nextper_platformposts on each platform.- Takes
signals,signalandsignal_thresholdasPOST /v1/searchdoes; every returned post is checked, 1 credit per signal.
POST/v1/classify1 credit per signal, however many items (up to 30); free if it failsCheck text against signals. Check text you already have (up to 30 titles, posts or short snippets) against your own yes/no questions, without a search.
| Field | Notes |
|---|---|
signalsobject | Up to 3 signals: a name and a plain-language yes/no criterion for each, such as {"complaint": "Is this a complaint about the app?"}. Each result's title is checked against every signal (see signals on a result). 1 credit per signal, on top of the call's price. Send this or signal. |
signalstring, up to 300 chars | One signal: the same as signals with a single entry named signal. Send this or signals. |
signal_thresholdnumber, default 0.5 | A result matches a signal when its score p is at least this. It only changes match; p is always returned. |
itemsrequiredarray, 1–30 items |
curl https://api.openchase.ai/v1/classify \
-H "Authorization: Bearer $OPENCHASE_KEY" \
-H "Content-Type: application/json" \
-d '{"signals": {"complaint": "Is this a complaint about the app or its service?"}, "items": [{"id": "a1", "text": "Third order cold again and no refund"}, {"id": "a2", "text": "New menu is live in Bengaluru"}]}'{
"credits": {
"left": 99,
"used": 1
},
"results": [
{
"id": "a1",
"signals": {
"complaint": {
"match": true,
"p": 0.93
}
}
},
{
"id": "a2",
"signals": {
"complaint": {
"match": false,
"p": 0.02
}
}
}
],
"signal_summary": {
"checked": 2,
"classifier": "jev-1.13",
"credits": 1,
"signals": {
"complaint": {
"description": "Is this a complaint about the app or its service?",
"matched": 1
}
},
"threshold": 0.5
}
}- Send
signals(a map of name to question, up to 3) or onesignalstring. Each item is{"text": ...}of up to 1,000 characters (a title, or a title and a short snippet) with an optionalidthat comes back with it; an item without one is known by its position ("0", "1", ...). Results come back in the order sent. - 1 credit per signal for the whole call, whatever the number of items. 60 calls a minute per key. Nothing is stored. If any signal can't be checked the whole call fails (
502 signal_failed, no results, free).
by CuriousCats.ai