Ask in plain words or keywords, in any language, and exclude terms with NOT.
q is what you are looking for: a question in plain words, or keywords, with NOT to leave a term out. It can be in any language and up to 500 characters long. AND, OR, quotes, * and parentheses are not operators in /search: they are read as ordinary words and the search is by meaning. For an exact boolean query, use /articles.
What did central banks decide about interest rates this week?
ECB Federal Reserve interest rate decision
Apple NOT iPhone
Excluding terms with NOT
Put an upper-case NOT before a term or a quoted phrase to drop the articles
that mention it: Tesla recall NOT Cybertruck, NOT "model y". A - or !
in front of a word does the same: Tesla recall -Cybertruck.
NOT takes one word or one quoted phrase. NOT Elon Musk drops only
“Elon” and searches for “Musk”: write NOT "Elon Musk". A lower-case not
is searched as an ordinary word.
NOT checks the headline, the description and the summary, not the article
text: an article that names the term only in its text is kept.
Up to 10 NOT terms count; more are dropped.
A q with only NOT terms is refused with 422.
The response lists the excluded terms in excluded.
To leave out whole languages, countries or publishers, use not_languages,
not_countries and not_sources. See Filters.
Languages
Articles in every language are searched through their English translation, so
an English query finds German, Japanese or Arabic articles too.If every language you ask for in languages is not English, the search runs in
the original language instead. Use this to search in the language itself. Languages are
ISO 639-1 codes:
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"newscatcher","colors":{"primary":"#183FD9","light":"#4A90E2","dark":"#04006B"},"logo":{"light":"https://mintcdn.com/newscatcherinc-docs/NcLiyYj9meKksQck/logos/full_black.png?fit=max\u0026auto=format\u0026n=NcLiyYj9meKksQck\u0026q=85\u0026s=20bb812dd269c21260d0753faf2c9831","dark":"https://mintcdn.com/newscatcherinc-docs/NcLiyYj9meKksQck/logos/full_white.png?fit=max\u0026auto=format\u0026n=NcLiyYj9meKksQck\u0026q=85\u0026s=9da57040c94e1feb514d702d71220e3b"},"favicon":"https://mintcdn.com/newscatcherinc-docs/NcLiyYj9meKksQck/logos/favicon.ico?fit=max\u0026auto=format\u0026n=NcLiyYj9meKksQck\u0026q=85\u0026s=707239042f28cefea634ec24d89e70bb","navbar":{"links":[{"href":"https://www.newscatcherapi.com","label":"Website"}],"primary":{"type":"button","label":"Get API key","href":"https://platform.newscatcherapi.com"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/newscatcherapi/about","twitter":"https://twitter.com/newscatcherapi"}},"integrations":{"gtm":{"tagId":"GTM-KLCW9GXN"}},"contextual":{"options":["copy","view",{"title":"llms.txt","description":"Open llms.txt for this site","icon":"file","href":"https://www.newscatcherapi.com/docs/llms.txt"},"chatgpt","claude","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"newscatcherinc-docs","hasAudioNarration":false,"actualSubdomain":"newscatcherinc-docs","customDomains":[],"gitSource":{"type":"github","owner":"newscatcher","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b059287ba02400fa1b734c8","clientVersion":"0.0.4286","searchFilterCounts":[{"language":"default","tag":"API Reference","count":144},{"language":"default","tag":"Web Search API","count":88},{"language":"default","tag":"News API","count":66},{"language":"default","tag":"Agent","count":55},{"language":"default","tag":"Documentation","count":31},{"language":"default","tag":"Get started","count":20},{"language":"default","tag":"How to","count":15},{"language":"default","tag":"Local News API","count":13},{"language":"default","tag":"Webhooks","count":13},{"language":"default","tag":"Monitors","count":13}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"news/writing-queries","slug":"/news/writing-queries","pageMetadata":{"title":"Writing queries","description":"Ask in plain words or keywords, in any language, and exclude terms with NOT.","href":"/news/writing-queries"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Ask in plain words or keywords, in any language, and exclude terms with NOT.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`q`}),` is what you are looking for: a question in plain words, or keywords, with `,_jsx(_components.code,{children:`NOT`}),` to leave a term out. It can be in any language and up to 500 characters long. `,_jsx(_components.code,{children:`AND`}),`, `,_jsx(_components.code,{children:`OR`}),`, quotes, `,_jsx(_components.code,{children:`*`}),` and parentheses are not operators in `,_jsx(_components.code,{children:`/search`}),`: they are read as ordinary words and the search is by meaning. For an exact boolean query, use `,_jsx(_components.a,{href:`#boolean-queries-for-articles`,children:_jsx(_components.code,{children:`/articles`})}),`.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Plain words`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`What did central banks decide about interest rates this week?`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(CodeBlock,{filename:`Keywords`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`ECB Federal Reserve interest rate decision`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(CodeBlock,{filename:`With NOT`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Apple NOT iPhone`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`excluding-terms-with-not`,children:`Excluding terms with NOT`}),`\n`,_jsxs(_components.p,{children:[`Put an upper-case `,_jsx(_components.code,{children:`NOT`}),` before a term or a quoted phrase to drop the articles\nthat mention it: `,_jsx(_components.code,{children:`Tesla recall NOT Cybertruck`}),`, `,_jsx(_components.code,{children:`NOT \"model y\"`}),`. A `,_jsx(_components.code,{children:`-`}),` or `,_jsx(_components.code,{children:`!`}),`\nin front of a word does the same: `,_jsx(_components.code,{children:`Tesla recall -Cybertruck`}),`.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`NOT`}),` takes one word or one quoted phrase. `,_jsx(_components.code,{children:`NOT Elon Musk`}),` drops only\n“Elon” and searches for “Musk”: write `,_jsx(_components.code,{children:`NOT \"Elon Musk\"`}),`. A lower-case `,_jsx(_components.code,{children:`not`}),`\nis searched as an ordinary word.`]})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`NOT`}),` checks the headline, the description and the summary, not the article\ntext: an article that names the term only in its text is kept.`]}),`\n`,_jsxs(_components.li,{children:[`Up to 10 `,_jsx(_components.code,{children:`NOT`}),` terms count; more are dropped.`]}),`\n`,_jsxs(_components.li,{children:[`A `,_jsx(_components.code,{children:`q`}),` with only `,_jsx(_components.code,{children:`NOT`}),` terms is refused with `,_jsx(_components.code,{children:`422`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`The response lists the excluded terms in `,_jsx(_components.code,{children:`excluded`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`To leave out whole languages, countries or publishers, use `,_jsx(_components.code,{children:`not_languages`}),`,\n`,_jsx(_components.code,{children:`not_countries`}),` and `,_jsx(_components.code,{children:`not_sources`}),`. See `,_jsx(_components.a,{href:`/news/filters`,children:`Filters`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`languages`,children:`Languages`}),`\n`,_jsx(_components.p,{children:`Articles in every language are searched through their English translation, so\nan English query finds German, Japanese or Arabic articles too.`}),`\n`,_jsxs(_components.p,{children:[`If every language you ask for in `,_jsx(_components.code,{children:`languages`}),` is not English, the search runs in\nthe original language instead. Use this to search in the language itself. Languages are\n`,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/ISO_639-1`,children:`ISO 639-1 codes`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.newscatcherapi.com/news-api/search\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-api-key: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$NEWSCATCHER_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"q\": \"Bundestag Haushalt\", \"languages\": [\"de\"]}'`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`zh`}),` is searched as `,_jsx(_components.code,{children:`cn`}),` (simplified Chinese). Traditional Chinese is `,_jsx(_components.code,{children:`tw`}),`.`]}),`\n`,_jsxs(Heading,{level:`2`,id:`boolean-queries-for-/articles`,children:[`Boolean queries for `,_jsx(_components.code,{children:`/articles`})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/news/articles`,children:_jsx(_components.code,{children:`/articles`})}),` takes a boolean query only, up to 1,000\ncharacters, searched in the fields of\n`,_jsx(_components.a,{href:`/news/filters#only-for-articles`,children:_jsx(_components.code,{children:`search_in`})}),`:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Syntax`}),_jsx(_components.th,{children:`Example`}),_jsx(_components.th,{children:`Matches`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`AND`}),`, `,_jsx(_components.code,{children:`OR`}),`, `,_jsx(_components.code,{children:`NOT`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Tesla AND recall NOT Cybertruck`})}),_jsxs(_components.td,{children:[`Articles with both words, without the third. Upper case only: a lower-case `,_jsx(_components.code,{children:`and`}),` is an ordinary word. `,_jsx(_components.code,{children:`\u0026\u0026`}),\", `\"]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Parentheses`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`\"interest rate\" AND (cut OR hike)`})}),_jsx(_components.td,{children:`Groups of terms`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`\"exact phrase\"`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`\"Silicon Valley Bank\"`})}),_jsx(_components.td,{children:`The words in this order`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`+must`}),`, `,_jsx(_components.code,{children:`-mustnot`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`+Tesla -Musk`})}),_jsx(_components.td,{children:`Articles that must have, or must not have, a word`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Wildcards`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`regulat*`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`regulator`}),`, `,_jsx(_components.code,{children:`regulation`}),`, `,_jsx(_components.code,{children:`regulatory`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`NEAR`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`NEAR(\"rate\", \"decision\", 5)`})}),_jsx(_components.td,{children:`The words within 5 words of each other`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`MULTIPLE`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`MULTIPLE(Tesla, 3)`})}),_jsx(_components.td,{children:`Articles that have the term at least 3 times`})]})]})]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Words with no operator between them are all required: `,_jsx(_components.code,{children:`Tesla recall`}),` is\n`,_jsx(_components.code,{children:`Tesla AND recall`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Mixing `,_jsx(_components.code,{children:`AND`}),` and `,_jsx(_components.code,{children:`OR`}),` at the same level needs parentheses:\n`,_jsx(_components.code,{children:`Tesla AND (recall OR lawsuit)`}),`. Without them the query is refused with\n`,_jsx(_components.code,{children:`422`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`A query that is only a wildcard, such as `,_jsx(_components.code,{children:`*`}),`, is refused with `,_jsx(_components.code,{children:`422`}),`.`]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`A query that is only `,_jsx(_components.code,{children:`NOT`}),` something, such as `,_jsx(_components.code,{children:`NOT Tesla`}),`, is accepted and\nmatches almost every article in the window.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`tips`,children:`Tips`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Say what happened, not only who: `,_jsx(_components.code,{children:`Nvidia export restrictions China`}),` finds\nmore of what you want than `,_jsx(_components.code,{children:`Nvidia`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Use quotes for exact names and phrases: `,_jsx(_components.code,{children:`\"Silicon Valley Bank\"`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Put the time window in `,_jsx(_components.code,{children:`search_window`}),`, not in `,_jsx(_components.code,{children:`q`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Narrow with `,_jsx(_components.a,{href:`/news/filters`,children:`filters`}),` instead of long keyword lists.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Writing queries","description":"Ask in plain words or keywords, in any language, and exclude terms with NOT.","href":"/news/writing-queries"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Excluding terms with NOT","slug":"excluding-terms-with-not","depth":2,"children":[]},{"title":"Languages","slug":"languages","depth":2,"children":[]},{"title":"Boolean queries for /articles","slug":"boolean-queries-for-/articles","depth":2,"children":[]},{"title":"Tips","slug":"tips","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/newscatcherinc-docs/4995e0e8e19b5719/tracking.js"],"subdomain":"newscatcherinc-docs","siteName":"newscatcher","title":"Writing queries - newscatcher","navMaps":{"firstHrefInVersion":{"Latest":{"href":"/news/writing-queries","matchLevel":0},"Enterprise":{"href":"/home","matchLevel":4}},"firstHrefInLanguage":{}},"lastModified":"2026-11-20T10:08:04.522Z","originalFileLocation":"news/writing-queries.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Ask in plain words or keywords, in any language, and exclude terms with NOT.\">\u003cmeta data-mint-head name=\"application-name\" content=\"newscatcher\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/newscatcherinc-docs/2244mS4HNtJc0azZ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/newscatcherinc-docs/2244mS4HNtJc0azZ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/newscatcherinc-docs/2244mS4HNtJc0azZ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/newscatcherinc-docs/2244mS4HNtJc0azZ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/newscatcherinc-docs/2244mS4HNtJc0azZ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/newscatcherinc-docs/2244mS4HNtJc0azZ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/newscatcherinc-docs/2244mS4HNtJc0azZ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/newscatcherinc-docs/2244mS4HNtJc0azZ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/newscatcherinc-docs/2244mS4HNtJc0azZ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Writing queries - newscatcher\">\u003cmeta data-mint-head property=\"og:description\" content=\"Ask in plain words or keywords, in any language, and exclude terms with NOT.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"newscatcher\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://newscatcherinc-docs.mintlify.dev/docs/news/writing-queries\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://newscatcherinc-docs.mintlify.site/docs/_mintlify/api/og/v2?division=News+API\u0026amp;title=Writing+queries\u0026amp;description=Ask+in+plain+words+or+keywords%2C+in+any+language%2C+and+exclude+terms+with+NOT.\u0026amp;theme=fce99ba2f08e029ed6191fdd\u0026amp;signature=1de3ec72bb47e574b28d1c6500d503963338d3cc90fa38dc53864e7f47c7bdce\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Writing queries - newscatcher\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Ask in plain words or keywords, in any language, and exclude terms with NOT.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://newscatcherinc-docs.mintlify.site/docs/_mintlify/api/og/v2?division=News+API\u0026amp;title=Writing+queries\u0026amp;description=Ask+in+plain+words+or+keywords%2C+in+any+language%2C+and+exclude+terms+with+NOT.\u0026amp;theme=fce99ba2f08e029ed6191fdd\u0026amp;signature=1de3ec72bb47e574b28d1c6500d503963338d3cc90fa38dc53864e7f47c7bdce\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/newscatcherinc-docs/2244mS4HNtJc0azZ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"newscatcher\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#183FD9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://newscatcherinc-docs.mintlify.dev/docs/news/writing-queries\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/news/writing-queries.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://newscatcherinc-docs.mintlify.dev/#organization\",\"name\":\"newscatcher\",\"url\":\"https://newscatcherinc-docs.mintlify.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/newscatcherinc-docs/NcLiyYj9meKksQck/logos/full_black.png?fit=max\u0026auto=format\u0026n=NcLiyYj9meKksQck\u0026q=85\u0026s=20bb812dd269c21260d0753faf2c9831\"}},{\"@type\":\"WebSite\",\"@id\":\"https://newscatcherinc-docs.mintlify.dev/docs#website\",\"name\":\"newscatcher\",\"url\":\"https://newscatcherinc-docs.mintlify.dev/docs\",\"publisher\":{\"@id\":\"https://newscatcherinc-docs.mintlify.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://newscatcherinc-docs.mintlify.dev/docs/news/writing-queries#webpage\",\"url\":\"https://newscatcherinc-docs.mintlify.dev/docs/news/writing-queries\",\"name\":\"Writing queries\",\"description\":\"Ask in plain words or keywords, in any language, and exclude terms with NOT.\",\"dateModified\":\"2026-11-20T10:08:04.522Z\",\"isPartOf\":{\"@id\":\"https://newscatcherinc-docs.mintlify.dev/docs#website\"},\"breadcrumb\":{\"@id\":\"https://newscatcherinc-docs.mintlify.dev/docs/news/writing-queries#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://newscatcherinc-docs.mintlify.dev/docs/news/writing-queries#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"News API\",\"item\":\"https://newscatcherinc-docs.mintlify.dev/docs/news/quickstart\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Writing queries\",\"item\":\"https://newscatcherinc-docs.mintlify.dev/docs/news/writing-queries\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://newscatcherinc-docs.mintlify.dev/docs/news/writing-queries#article\",\"headline\":\"Writing queries\",\"name\":\"Writing queries\",\"description\":\"Ask in plain words or keywords, in any language, and exclude terms with NOT.\",\"url\":\"https://newscatcherinc-docs.mintlify.dev/docs/news/writing-queries\",\"mainEntityOfPage\":{\"@id\":\"https://newscatcherinc-docs.mintlify.dev/docs/news/writing-queries#webpage\"},\"dateModified\":\"2026-11-20T10:08:04.522Z\",\"publisher\":{\"@id\":\"https://newscatcherinc-docs.mintlify.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://newscatcherinc-docs.mintlify.dev/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"newscatcher\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"newscatcher\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/news/writing-queries.md","siteName":"newscatcher","nav":{"global":null,"versions":[{"version":"Latest","default":true,"tabs":[{"tab":"Documentation","groups":[{"group":"Get started","pages":[{"title":"NewsCatcher API","sidebarTitle":"Overview","mode":"wide","href":"/get-started/overview"},{"title":"Quickstart","href":"/get-started/quickstart"},{"title":"Onboarding for AI agents","href":"/agent-onboarding"},{"title":"Choose an API","href":"/get-started/choose-an-api"},{"title":"Authentication","href":"/get-started/authentication"},{"title":"Credits and pricing","href":"/get-started/credits-and-pricing"},{"title":"Enterprise plans","href":"/get-started/enterprise-plans"},{"title":"Rate limits and plan limits","sidebarTitle":"Rate limits","href":"/get-started/rate-limits"},{"title":"Errors","href":"/get-started/errors"}]},{"group":"News API","pages":[{"title":"News API quickstart","sidebarTitle":"Quickstart","href":"/news/quickstart"},{"title":"Effort levels","description":"Choose how much work goes into ranking, and what a search costs.","href":"/news/effort-levels"},{"title":"Writing queries","href":"/news/writing-queries"},{"title":"Stories","description":"How articles are grouped into stories, and how to get every article of one story.","href":"/news/stories"},{"title":"Articles","sidebarTitle":"Articles","href":"/news/articles"},{"title":"Filters and sorting","sidebarTitle":"Filters","href":"/news/filters"},{"title":"Response fields","href":"/news/response-fields"},{"title":"Best practices","href":"/news/best-practices"},{"title":"How to evaluate the News API","sidebarTitle":"How to evaluate","href":"/news/evaluate-search"}]},{"group":"Agent","pages":[{"title":"Agent overview","sidebarTitle":"Overview","href":"/agent/overview"},{"title":"Agent quickstart","sidebarTitle":"Quickstart","href":"/agent/quickstart"},{"title":"Event research","href":"/agent/event-research"},{"title":"Company research","href":"/agent/company-research"},{"title":"Company lists","href":"/agent/company-lists"},{"title":"Monitors","href":"/agent/monitors"},{"title":"Runs","href":"/agent/runs"},{"title":"Results and exports","href":"/agent/results-and-exports"},{"title":"Best practices","href":"/agent/best-practices"}]},{"group":"Integrations","pages":[{"title":"MCP server","href":"/integrations/mcp"}]},{"group":"Resources","pages":[{"title":"Migrate from the v3 News API","sidebarTitle":"Migrate from v3","href":"/resources/migrate-from-v3"},{"title":"Glossary","href":"/resources/glossary"},{"title":"FAQ","href":"/resources/faq"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/search/search-news"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},{"version":"Enterprise","pages":[{"title":"Enterprise","href":"/home"}]}]},"basePath":"","title":"Writing queries - newscatcher","deploymentId":"dpl_3DZuqjnfdjREuPshghHhyiLeMG3U","buildId":"dpl_3DZuqjnfdjREuPshghHhyiLeMG3U","dynamics":[],"chunks":[]}