{"id":1532,"date":"2023-08-25T07:36:10","date_gmt":"2023-08-25T02:06:10","guid":{"rendered":"https:\/\/newsdata.io\/blog\/?p=1532"},"modified":"2026-03-19T11:45:56","modified_gmt":"2026-03-19T06:15:56","slug":"how-do-q-qintitle-qinmeta-works","status":"publish","type":"post","link":"https:\/\/newsdata.io\/blog\/how-do-q-qintitle-qinmeta-works\/","title":{"rendered":"How to use \u201cq\u201d, \u201cqInTitle\u201d and \u201cqInMeta\u201d parameters\u2019 advanced search in NewsData.io API"},"content":{"rendered":"[vc_row type=&#8221;in_container&#8221; full_screen_row_position=&#8221;middle&#8221; column_margin=&#8221;default&#8221; column_direction=&#8221;default&#8221; column_direction_tablet=&#8221;default&#8221; column_direction_phone=&#8221;default&#8221; scene_position=&#8221;center&#8221; text_color=&#8221;dark&#8221; text_align=&#8221;left&#8221; row_border_radius=&#8221;none&#8221; row_border_radius_applies=&#8221;bg&#8221; overflow=&#8221;visible&#8221; overlay_strength=&#8221;0.3&#8243; gradient_direction=&#8221;left_to_right&#8221; shape_divider_position=&#8221;bottom&#8221; bg_image_animation=&#8221;none&#8221;][vc_column column_padding=&#8221;no-extra-padding&#8221; column_padding_tablet=&#8221;inherit&#8221; column_padding_phone=&#8221;inherit&#8221; column_padding_position=&#8221;all&#8221; bottom_margin=&#8221;220&#8243; column_element_direction_desktop=&#8221;default&#8221; column_element_spacing=&#8221;default&#8221; desktop_text_alignment=&#8221;default&#8221; tablet_text_alignment=&#8221;default&#8221; phone_text_alignment=&#8221;default&#8221; sticky_content=&#8221;true&#8221; sticky_content_functionality=&#8221;js&#8221; background_color_opacity=&#8221;1&#8243; background_hover_color_opacity=&#8221;1&#8243; column_backdrop_filter=&#8221;none&#8221; column_shadow=&#8221;none&#8221; column_border_radius=&#8221;none&#8221; column_link_target=&#8221;_self&#8221; column_position=&#8221;default&#8221; gradient_direction=&#8221;left_to_right&#8221; overlay_strength=&#8221;0.3&#8243; width=&#8221;1\/4&#8243; tablet_width_inherit=&#8221;default&#8221; animation_type=&#8221;default&#8221; bg_image_animation=&#8221;none&#8221; border_type=&#8221;simple&#8221; column_border_width=&#8221;none&#8221; column_border_style=&#8221;solid&#8221; column_padding_type=&#8221;default&#8221; gradient_type=&#8221;default&#8221; offset=&#8221;vc_hidden-sm vc_hidden-xs&#8221;][\/vc_column][vc_column right_padding_desktop=&#8221;40&#8243; right_padding_tablet=&#8221;0&#8243; right_padding_phone=&#8221;0&#8243; top_margin=&#8221;-240&#8243; top_margin_tablet=&#8221;-180&#8243; top_margin_phone=&#8221;-135&#8243; column_element_direction_desktop=&#8221;default&#8221; column_element_spacing=&#8221;default&#8221; desktop_text_alignment=&#8221;default&#8221; tablet_text_alignment=&#8221;default&#8221; phone_text_alignment=&#8221;default&#8221; background_color_opacity=&#8221;1&#8243; background_hover_color_opacity=&#8221;1&#8243; column_backdrop_filter=&#8221;none&#8221; column_shadow=&#8221;none&#8221; column_border_radius=&#8221;none&#8221; column_link_target=&#8221;_self&#8221; column_position=&#8221;default&#8221; el_class=&#8221;text_block_wrapper&#8221; gradient_direction=&#8221;left_to_right&#8221; overlay_strength=&#8221;0.3&#8243; width=&#8221;3\/4&#8243; tablet_width_inherit=&#8221;default&#8221; animation_type=&#8221;default&#8221; bg_image_animation=&#8221;none&#8221; border_type=&#8221;simple&#8221; column_border_width=&#8221;none&#8221; column_border_style=&#8221;solid&#8221; column_padding_type=&#8221;advanced&#8221; gradient_type=&#8221;default&#8221; offset=&#8221;vc_col-lg-9 vc_col-md-12&#8243;][image_with_animation image_url=&#8221;1544&#8243; image_size=&#8221;full&#8221; animation_type=&#8221;entrance&#8221; animation=&#8221;None&#8221; animation_movement_type=&#8221;transform_y&#8221; hover_animation=&#8221;none&#8221; alignment=&#8221;&#8221; border_radius=&#8221;15px&#8221; box_shadow=&#8221;none&#8221; image_loading=&#8221;default&#8221; max_width=&#8221;100%&#8221; max_width_mobile=&#8221;default&#8221;][vc_column_text css=&#8221;.vc_custom_1693975278193{padding-bottom: 20px !important;}&#8221;]<span style=\"font-weight: 400\">In this article, we&#8217;ll delve into the significance of &#8220;q&#8221;, &#8220;qInTitle&#8221;, and \u201cqInMeta\u201d Advanced Search parameters, exploring how they help users to extract precise and narrowed news data.<\/span>[\/vc_column_text][vc_column_text css=&#8221;.vc_custom_1727172540550{padding-bottom: 20px !important;}&#8221;]<span style=\"font-weight: 400\">Before we indulge ourselves in learning about the q, qInTitle and qInMeta parameters, it is important to know where and how you can search content related to your topic.<br \/>\n<\/span><\/p>\n<p>The search bar inserted here is the same as the one found on the dashboard of the Newsdata.io, and can be accessed to fetch data as well as get data on the number of articles available from previous 48 hours related to the given query.<\/p>\n\n<!-- iframe plugin v.5.0 wordpress.org\/plugins\/iframe\/ -->\n<iframe loading=\"lazy\" src=\"https:\/\/newsdata.io\/single\/search\" height=\"150\" width=\"100%\" scrolling=\"yes\" class=\"iframe-class\" frameborder=\"0\"><\/iframe>\n[\/vc_column_text][divider line_type=&#8221;Full Width Line&#8221; line_thickness=&#8221;2&#8243; divider_color=&#8221;default&#8221;][vc_column_text css=&#8221;.vc_custom_1713771397019{padding-bottom: 20px !important;}&#8221;]\n<h2><b>What are the q, qInTitle, and qInMeta parameters?<\/b><\/h2>\n[\/vc_column_text][vc_column_text css=&#8221;.vc_custom_1727173487699{padding-bottom: 20px !important;}&#8221;]The \u201c<b>q<\/b>\u201d, &#8220;<b>qInTitle<\/b>\u201d, and \u201c<b>qInMeta<\/b>\u201d parameters are exclusive features of NewsData.io\u2019s Advanced Search function. They are designed to enhance the quality of your searches and enable you to retrieve articles that are directly related to your specified keywords.<\/p>\n<h3>1. q<\/h3>\n<p>The \u201c<b>q<\/b>\u201d parameter is short for the <b>query<\/b>. You can enter your <strong>keyword or phrase<\/strong> in the q parameter, and the API will <strong>retrieve all articles containing that keyword or phrase<\/strong> in the title, URL, meta description, or meta keywords anywhere in the articles.<\/p>\n<p>The request parameter \u2018<b>q=Messi<\/b>\u2019, will fetch you all articles related to the given query.[\/vc_column_text][vc_column_text css=&#8221;.vc_custom_1727173521066{padding-bottom: 20px !important;}&#8221;]\n<h3>2. qInTitle<\/h3>\n<p>The \u201c<b>qInTitle<\/b>&#8221; parameter is short for \u201c<b>query in title.<\/b>\u201d. It is designed specifically to fetch those articles that <strong>contain the keyword\/phrase in the title only<\/strong>.<br \/>\nThe qInTitle parameter doesn\u2019t search for the given keyword in the URL, meta description, or meta keywords of the articles. This helps narrow down the search results, ensuring that the retrieved articles are more relevant to your searched keyword\/phrase.<\/p>\n<p>The request parameter \u2018<b>qInTitle=Messi<\/b>\u2019, will fetch you all articles with the keyword in their title.[\/vc_column_text][vc_column_text css=&#8221;.vc_custom_1727173549006{padding-bottom: 20px !important;}&#8221;]\n<h3>3. qInMeta<\/h3>\n<p>The \u201c<b>qInMeta<\/b>\u201d parameter is short for \u201c<b>query in meta.<\/b>\u201d. This will help you fetch those articles that contain the given <strong>keyword or phrase in the title, URL, meta description, or meta keywords<\/strong>.<\/p>\n<p>The request parameter \u2018<b>qInMeta=Messi<\/b>\u2019, will fetch you articles with the given keyword in their title, URL, meta description, and meta keywords.<\/p>\n<p><b>NOTE: <\/b>You can\u2019t use the \u2018q\u2019, \u2018qInTitle\u2019, and \u2018qInMeta\u2019 simultaneously in a single query.[\/vc_column_text][vc_column_text css=&#8221;.vc_custom_1727173558358{padding-bottom: 20px !important;}&#8221;]<strong>NOTE: <\/strong>To know more about q, qInTitle and qInMeta parameters you can visit the <a href=\"https:\/\/newsdata.io\/documentation\/#advanced-search\">Documentation section<\/a>.[\/vc_column_text][divider line_type=&#8221;Full Width Line&#8221; line_thickness=&#8221;2&#8243; divider_color=&#8221;default&#8221;][vc_column_text css=&#8221;.vc_custom_1713771593873{padding-bottom: 20px !important;}&#8221;]\n<h2><b>Use cases of q, qInTitle, and qInMeta\u00a0<\/b><\/h2>\n[\/vc_column_text][vc_column_text css=&#8221;.vc_custom_1713773564018{padding-bottom: 20px !important;}&#8221;]Let\u2019s understand how q, qInTitle, and qInMeta work with the help of an example.<\/p>\n<p>Let\u2019s consider that you are looking for articles related to <b>Messi<\/b>.<\/p>\n<h3><b>Use Case: \u2018q\u2019 parameter<\/b><\/h3>\n<p>The \u2018<b>q<\/b>\u2019 or \u2018<b>query<\/b>\u2019 parameter is useful when you want to search and retrieve articles related to a specific keyword or phrase.<\/p>\n<p>To help understand better, we will use the above-mentioned example.<\/p>\n<ul>\n<li>If you want to fetch articles related to Messi, then the keyword would be <b>&#8220;Messi.\u201d<\/b>.<\/li>\n<li>The request parameter for this query would be <b>\u2018q=Messi\u2019<\/b>.<\/li>\n<\/ul>\n[\/vc_column_text][vc_column_text css=&#8221;.vc_custom_1713773578435{padding-bottom: 20px !important;}&#8221;]\n<h3><b>Use Case: \u2018qInTitle\u2019 parameter<\/b><\/h3>\n<p>The \u2018<b>qInTitle<\/b>\u2019 or \u2018<b>query in the title<\/b>\u2019 parameter is useful in conditions where the user wants specific news related to that query rather than getting irrelevant news.<\/p>\n<p>To help understand better, we will use the above-mentioned example.<\/p>\n<ul>\n<li>If you want to fetch articles related to <b>Messi<\/b> in titles only, then the keyword would be <b>&#8220;Messi.\u201d.<\/b><\/li>\n<li>The request parameter for this query would be <b>\u2018qInTitle=Messi\u2019.<\/b><\/li>\n<\/ul>\n<p>By using the <b>\u2018qInTitle\u2019 <\/b>parameter, you would get specific articles related to the given query and would end up saving your credits.[\/vc_column_text][vc_column_text css=&#8221;.vc_custom_1727173796603{padding-bottom: 20px !important;}&#8221;]\n<h3><b>Use Case: \u2018qInMeta\u2019 parameter<\/b><\/h3>\n<p>The <b>\u2018qInMeta\u2019 <\/b>or <b>\u2018query in meta\u2019 <\/b>parameter is useful for a user wanting to search for data which contains the given keyword in the URL, Title, Meta Keywords, and Meta description only.<\/p>\n<p>To help understand better, we will use the above-mentioned example.<\/p>\n<ul>\n<li>If you want to fetch articles related to <b>Messi<\/b>, then the keyword would be <b>\u201cMessi\u201d.<\/b><\/li>\n<li>For fetching articles with a given keyword in the title, URL, meta keywords, and meta description only, the request parameter would be <b>\u2018qInMeta=Messi\u2019.<\/b><\/li>\n<\/ul>\n[\/vc_column_text][divider line_type=&#8221;Full Width Line&#8221; line_thickness=&#8221;2&#8243; divider_color=&#8221;default&#8221;][vc_column_text css=&#8221;.vc_custom_1713772285819{padding-bottom: 20px !important;}&#8221;]\n<h2><b>How to use the q, qInTitle, and qInMeta parameters?<\/b><\/h2>\n[\/vc_column_text][vc_column_text css=&#8221;.vc_custom_1713772305956{padding-bottom: 20px !important;}&#8221;]\n<ol>\n<li>First, determine the keyword you want to target and fetch articles about.<\/li>\n<li>When making an API request, include the \u201c<b>q<\/b>\u201d, \u201c<b>qInTitle<\/b>\u201d, and \u201c<b>qInMeta<\/b>\u201d parameters along with your chosen keywords.<\/li>\n<li>The API will then return articles that match your specified criteria. This precision ensures you only receive articles that directly relate to your chosen keywords to retrieve articles that mention this topic in their URLs, titles, meta keywords, and meta descriptions.<\/li>\n<\/ol>\n[\/vc_column_text][divider line_type=&#8221;Full Width Line&#8221; line_thickness=&#8221;2&#8243; divider_color=&#8221;default&#8221;][vc_column_text css=&#8221;.vc_custom_1713772341846{padding-bottom: 20px !important;}&#8221;]\n<h2><b>Quick Tips and Tricks<\/b><\/h2>\n[\/vc_column_text][vc_column_text css=&#8221;.vc_custom_1727176726673{padding-bottom: 20px !important;}&#8221;]\n<ul>\n<li>For a single keyphrase, your parameter would be \u2018<b>q=football<\/b>\u2019 or \u2018<b>qintitle=Messi<\/b>\u2019.<\/li>\n<li>If you are looking for articles that contain <b>exact phrases,<\/b> then you need to put the phrase between double quotes (\u201c \u201c).<\/li>\n<\/ul>\n<p>For example, <b>q=\u201cglobal warming\u201d<\/b>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4896\" src=\"https:\/\/i0.wp.com\/newsdata.io\/blog\/wp-content\/uploads\/2023\/08\/q1.png?resize=1080%2C376&#038;ssl=1\" alt=\"q, qInTitle, qInMeta parameters\" width=\"1080\" height=\"376\" srcset=\"https:\/\/i0.wp.com\/newsdata.io\/blog\/wp-content\/uploads\/2023\/08\/q1.png?w=1722&amp;ssl=1 1722w, https:\/\/i0.wp.com\/newsdata.io\/blog\/wp-content\/uploads\/2023\/08\/q1.png?resize=300%2C105&amp;ssl=1 300w, https:\/\/i0.wp.com\/newsdata.io\/blog\/wp-content\/uploads\/2023\/08\/q1.png?resize=1024%2C357&amp;ssl=1 1024w, https:\/\/i0.wp.com\/newsdata.io\/blog\/wp-content\/uploads\/2023\/08\/q1.png?resize=768%2C268&amp;ssl=1 768w, https:\/\/i0.wp.com\/newsdata.io\/blog\/wp-content\/uploads\/2023\/08\/q1.png?resize=1536%2C535&amp;ssl=1 1536w\" sizes=\"(max-width: 1080px) 100vw, 1080px\" data-recalc-dims=\"1\" \/><\/p>\n<ul>\n<li>If you want to search for <b>multiple keywords<\/b> present in each news article but not necessarily together, then either write all the keywords separated by a <b>space <\/b>or put the \u2018<b>AND\u2019 <\/b>operator between those keywords.<br \/>\nFor example,<\/li>\n<\/ul>\n<p>You can use \u2018<b>q=movie AND marvel\u2019<\/b> or \u2018<b>q=movie marvel\u2019<\/b>, to search all the articles having both <b>movie <\/b>and <b>marvel <\/b>keywords anywhere in the <b>title, URL, meta description, and content<\/b>.<\/p>\n<p>These keywords may or may not be present in those articles together.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4895\" src=\"https:\/\/i0.wp.com\/newsdata.io\/blog\/wp-content\/uploads\/2023\/08\/q2.png?resize=1080%2C373&#038;ssl=1\" alt=\"q, qInTitle, qInMeta parameters\" width=\"1080\" height=\"373\" srcset=\"https:\/\/i0.wp.com\/newsdata.io\/blog\/wp-content\/uploads\/2023\/08\/q2.png?w=1726&amp;ssl=1 1726w, https:\/\/i0.wp.com\/newsdata.io\/blog\/wp-content\/uploads\/2023\/08\/q2.png?resize=300%2C104&amp;ssl=1 300w, https:\/\/i0.wp.com\/newsdata.io\/blog\/wp-content\/uploads\/2023\/08\/q2.png?resize=1024%2C354&amp;ssl=1 1024w, https:\/\/i0.wp.com\/newsdata.io\/blog\/wp-content\/uploads\/2023\/08\/q2.png?resize=768%2C265&amp;ssl=1 768w, https:\/\/i0.wp.com\/newsdata.io\/blog\/wp-content\/uploads\/2023\/08\/q2.png?resize=1536%2C530&amp;ssl=1 1536w\" sizes=\"(max-width: 1080px) 100vw, 1080px\" data-recalc-dims=\"1\" \/>[\/vc_column_text][vc_column_text css=&#8221;.vc_custom_1727173959924{padding-bottom: 20px !important;}&#8221;]\n<ul>\n<li>For searching those articles that should <b>exclude <\/b>some terms, you can use the \u2018<b>NOT\u2019 <\/b>operator after the keyword.For Example,If you want to fetch articles related to <b>Global warming<\/b> <b>but not from the USA<\/b>, then you can use\u00a0 <b>q= \u201cglobal warming\u201d NOT (USA)<\/b>.This query will show those articles that contain the term global warming and exclude all those articles that contain the term USA.<\/li>\n<\/ul>\n<ul>\n<li>For searching for one keyword and excluding multiple keywords, you can use \u2018<b>q=social NOT (pizza AND wildfire)<\/b>\u2019.<code>https:\/\/newsdata.io\/api\/1\/latest?apikey=pub_YOUR_API_KEY&amp;q=social NOT (pizza AND wildfire)<\/code>This will <b>exclude <\/b>all those articles which contain \u2018<b>pizza\u2019 <\/b>and \u2018<b>wildfire&#8217;<\/b>.<\/li>\n<li>For searching for any one keyword among the two options, you can use the \u2018<b>OR<\/b>\u2019 operator.For Example, <b>\u2018q=pizza OR pasta\u2019<\/b>, will retrieve those articles which contain pizza or pasta in the entire content.If you want this keyword to be specifically mentioned in the title, then change the q to qInTitle.<\/li>\n<li>For searching any one of the keywords between two keywords, excluding one keyword, you use \u2018<b>OR<\/b>\u2019 AND \u2018<b>NOT<\/b>\u2019 operators simultaneously.For example, if\u00a0 <b>q=(pizza OR pasta) NOT global<\/b>, this query will retrieve the article that contains the term pizza or pasta but won\u2019t contain the term global.<\/li>\n<\/ul>\n<ul>\n<li>To exclude the specific phrase rather than the keyword, the request parameter would be q=oscars NOT (\u201cbest actor\u201d)<\/li>\n<\/ul>\n[\/vc_column_text][vc_column_text css=&#8221;.vc_custom_1713773035016{padding-bottom: 20px !important;}&#8221;]<b>NOTE:<\/b> The maximum character limit for a single query (\u201cq\u201d and \u201cqInTitle\u201d) is <b>512 characters<\/b>. If the number of characters exceeds this limit, the API will show an error.[\/vc_column_text][vc_column_text css=&#8221;.vc_custom_1727176806167{padding-bottom: 20px !important;}&#8221;]<b>NOTE:<\/b> The operators <b>AND<\/b>, <b>OR<\/b>, and <b>NOT<\/b>, as well as <b>brackets<\/b>, <b>spaces<\/b>, and <b>quotes<\/b>, are included in the character count.<\/p>\n<p>This is the maximum character limit of a query that one can use to search for and retrieve data.<\/p>\n<p><code>https:\/\/newsdata.io\/api\/1\/latest?apikey=pub_YOUR_API_KEY&amp;q=world OR UNESCO OR NATO OR USA OR BRICS OR meetings OR global OR INTERNATIONAL OR universal OR globally OR multinational NOT (war OR peace OR guns OR politics OR food OR fashion OR G20 OR debate OR russia OR pakistan OR deaths OR money OR GDP OR LGBTQ OR Racism OR music OR movies OR influencers OR concerts OR strike OR aliens OR killing OR illegal OR cryptocurrency OR internet OR climate OR UFO OR cartoons OR cars OR bitcoin OR flood OR earthquake OR strike OR accidents OR japan) AND mountains AND ocean<\/code><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4897\" src=\"https:\/\/i0.wp.com\/newsdata.io\/blog\/wp-content\/uploads\/2023\/08\/q3.png?resize=1080%2C374&#038;ssl=1\" alt=\"q, qInMeta and qInTitle parameters\" width=\"1080\" height=\"374\" srcset=\"https:\/\/i0.wp.com\/newsdata.io\/blog\/wp-content\/uploads\/2023\/08\/q3.png?w=1722&amp;ssl=1 1722w, https:\/\/i0.wp.com\/newsdata.io\/blog\/wp-content\/uploads\/2023\/08\/q3.png?resize=300%2C104&amp;ssl=1 300w, https:\/\/i0.wp.com\/newsdata.io\/blog\/wp-content\/uploads\/2023\/08\/q3.png?resize=1024%2C354&amp;ssl=1 1024w, https:\/\/i0.wp.com\/newsdata.io\/blog\/wp-content\/uploads\/2023\/08\/q3.png?resize=768%2C266&amp;ssl=1 768w, https:\/\/i0.wp.com\/newsdata.io\/blog\/wp-content\/uploads\/2023\/08\/q3.png?resize=1536%2C532&amp;ssl=1 1536w\" sizes=\"(max-width: 1080px) 100vw, 1080px\" data-recalc-dims=\"1\" \/>[\/vc_column_text][divider line_type=&#8221;Full Width Line&#8221; line_thickness=&#8221;2&#8243; divider_color=&#8221;default&#8221;][vc_column_text css=&#8221;.vc_custom_1713772944321{padding-bottom: 20px !important;}&#8221;]\n<h2><b>Benefits of the q, qlnTitle, and qInMeta parameters<\/b><\/h2>\n[\/vc_column_text][vc_column_text css=&#8221;.vc_custom_1713772957428{padding-bottom: 20px !important;}&#8221;]\n<ul>\n<li>\n<h3><b>Relevance<\/b><\/h3>\n<\/li>\n<\/ul>\n<p>By utilizing these parameters, you ensure that the articles you receive are directly related to your chosen keywords, minimizing noise and maximizing relevance.<\/p>\n<ul>\n<li>\n<h3><b>Focused Insights<\/b><\/h3>\n<\/li>\n<\/ul>\n<p>Whether you\u2019re researching a specific event, tracking trends, or staying updated on a particular topic, \u201cq\u201d and \u201cqInTitle\u201d filters provide focused insights that align with your interests.<\/p>\n<ul>\n<li>\n<h3><b>Efficiency<\/b><\/h3>\n<\/li>\n<\/ul>\n<p>These parameters streamline the process of finding information by allowing you to filter out articles that don\u2019t match your criteria.<\/p>\n<ul>\n<li>\n<h3><b>Efficient Credit Consumption<\/b><\/h3>\n<\/li>\n<\/ul>\n<p>These parameters help ensure minimal credit consumption by enabling you to specify the articles you want to fetch. You can also fetch articles that contain the given keyword\/phrase in a particular part (i.e., the title, URL, or the whole content).<\/p>\n[\/vc_column_text][vc_column_text css=&#8221;.vc_custom_1692856857615{padding-bottom: 20px !important;}&#8221;]\n<h2><strong>Difference Between q, qInTitle, and qInMeta<\/strong><\/h2>\n[\/vc_column_text][vc_column_text css=&#8221;.vc_custom_1693803392333{border-left-width: -40px !important;padding-right: -40px !important;padding-bottom: 20px !important;}&#8221; el_class=&#8221;q_table_news&#8221;]\n<table id=\"tablepress-1\" class=\"tablepress tablepress-id-1 tablepress-responsive\">\n<thead>\n<tr class=\"row-1 odd\">\n\t<th class=\"column-1\"><div style=\"text-align:center\"><br \/>\n<strong>Basis<\/strong><br \/>\n<\/div><\/th><th class=\"column-2\"><div style=\"text-align:center\"><br \/>\n<strong>q<\/strong><br \/>\n<\/div><\/th><th class=\"column-3\"><div style=\"text-align:center\"><br \/>\n<strong>qInTitle<\/strong><br \/>\n<\/div><\/th><th class=\"column-4\"><div style=\"text-align:center\"><br \/>\n<strong>qInMeta<\/strong><br \/>\n<\/div><\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-hover\">\n<tr class=\"row-2 even\">\n\t<td class=\"column-1\">News extraction points<\/td><td class=\"column-2\">q will extract news that contains keywords on Title, Content, URL, and Description<\/td><td class=\"column-3\">qInTitle will only extract news that contains keywords in Title only.<\/td><td class=\"column-4\">qInMeta will extract news that contains keywords in Title, URL, and Meta Description.<\/td>\n<\/tr>\n<tr class=\"row-3 odd\">\n\t<td class=\"column-1\">query<\/td><td class=\"column-2\">https:\/\/newsdata.io\/api\/1\/latest?apikey=pub_YOU API KEY&amp;q=spider<\/td><td class=\"column-3\">https:\/\/newsdata.io\/api\/1\/latest?apikey=pub_YOU API KEY&amp;qInTitle=spider<\/td><td class=\"column-4\">https:\/\/newsdata.io\/api\/1\/latest?apikey=pub_YOU API KEY&amp;qInMeta=spider<\/td>\n<\/tr>\n<tr class=\"row-4 even\">\n\t<td class=\"column-1\">Suitability<\/td><td class=\"column-2\">Suitable for those users who want to fetch articles based on their keyword or phrase choice present anywhere in the article.<\/td><td class=\"column-3\">Suitable for those users who want to fetch articles based on their keyword\/phrase choice as presented in the titles only.<\/td><td class=\"column-4\">Suitable for those users who want to fetch articles based on their keyword or phrase choice present in the meta keywords, meta description, URL, or title.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-1 from cache -->[\/vc_column_text][\/vc_column][\/vc_row]\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>q, qInTitle, and qInMeta plays a crucial role in extracting data. We will briefly discuss and understand how to use them and how they are helpful.<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":17,"featured_media":1544,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[46],"tags":[155,157,156],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to use \u201cq\u201d, \u201cqInTitle\u201d and \u201cqInMeta\u201d parameters\u2019 advanced search in NewsData.io API<\/title>\n<meta name=\"description\" content=\"To enhance your data extraction process, here are some advanced features of q, qInTitle and qInMeta, offered by Newsdata.io.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/newsdata.io\/blog\/how-do-q-qintitle-qinmeta-works\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to use \u201cq\u201d, \u201cqInTitle\u201d and \u201cqInMeta\u201d parameters\u2019 advanced search in NewsData.io API\" \/>\n<meta property=\"og:description\" content=\"To enhance your data extraction process, here are some advanced features of q, qInTitle and qInMeta, offered by Newsdata.io.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/newsdata.io\/blog\/how-do-q-qintitle-qinmeta-works\/\" \/>\n<meta property=\"og:site_name\" content=\"Newsdata.io - Stay Updated with the Latest News API Trends\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-25T02:06:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-19T06:15:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/newsdata.io\/blog\/wp-content\/uploads\/2023\/08\/google-news-vs-newsdata-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Aditi Chaudhary\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@AditiCh17996036\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Aditi Chaudhary\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/newsdata.io\/blog\/how-do-q-qintitle-qinmeta-works\/\",\"url\":\"https:\/\/newsdata.io\/blog\/how-do-q-qintitle-qinmeta-works\/\",\"name\":\"How to use \u201cq\u201d, \u201cqInTitle\u201d and \u201cqInMeta\u201d parameters\u2019 advanced search in NewsData.io API\",\"isPartOf\":{\"@id\":\"https:\/\/newsdata.io\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/newsdata.io\/blog\/how-do-q-qintitle-qinmeta-works\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/newsdata.io\/blog\/how-do-q-qintitle-qinmeta-works\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/newsdata.io\/blog\/wp-content\/uploads\/2023\/08\/google-news-vs-newsdata-1.jpg?fit=1280%2C720&ssl=1\",\"datePublished\":\"2023-08-25T02:06:10+00:00\",\"dateModified\":\"2026-03-19T06:15:56+00:00\",\"author\":{\"@id\":\"https:\/\/newsdata.io\/blog\/#\/schema\/person\/531c7aac51910b5277dd51422cf0d964\"},\"description\":\"To enhance your data extraction process, here are some advanced features of q, qInTitle and qInMeta, offered by Newsdata.io.\",\"breadcrumb\":{\"@id\":\"https:\/\/newsdata.io\/blog\/how-do-q-qintitle-qinmeta-works\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/newsdata.io\/blog\/how-do-q-qintitle-qinmeta-works\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/newsdata.io\/blog\/how-do-q-qintitle-qinmeta-works\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/newsdata.io\/blog\/wp-content\/uploads\/2023\/08\/google-news-vs-newsdata-1.jpg?fit=1280%2C720&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/newsdata.io\/blog\/wp-content\/uploads\/2023\/08\/google-news-vs-newsdata-1.jpg?fit=1280%2C720&ssl=1\",\"width\":1280,\"height\":720},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/newsdata.io\/blog\/how-do-q-qintitle-qinmeta-works\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\/\/newsdata.io\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to use \u201cq\u201d, \u201cqInTitle\u201d and \u201cqInMeta\u201d parameters\u2019 advanced search in NewsData.io API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/newsdata.io\/blog\/#website\",\"url\":\"https:\/\/newsdata.io\/blog\/\",\"name\":\"Newsdata.io - Stay Updated with the Latest News API Trends\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/newsdata.io\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/newsdata.io\/blog\/#\/schema\/person\/531c7aac51910b5277dd51422cf0d964\",\"name\":\"Aditi Chaudhary\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/newsdata.io\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/331be6db4c207ba712e439ded52d96d1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/331be6db4c207ba712e439ded52d96d1?s=96&d=mm&r=g\",\"caption\":\"Aditi Chaudhary\"},\"description\":\"Aditi Chaudhary is an enthusiastic content writer at Newsdata.io, where she covers topics related to real-time news, News APIs, data-driven journalism, and emerging trends in media and technology. Aditi is passionate about storytelling, research, and creating content that informs and inspires. As a student of Journalism and Mass Communication with a strong interest in the evolving landscape of digital media, she aims to merge her creativity with credibility to expand her knowledge and bring innovation into every piece she creates.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/aditi-chaudhary-456076293\/\",\"https:\/\/x.com\/AditiCh17996036\"],\"url\":\"https:\/\/newsdata.io\/blog\/author\/aditi\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to use \u201cq\u201d, \u201cqInTitle\u201d and \u201cqInMeta\u201d parameters\u2019 advanced search in NewsData.io API","description":"To enhance your data extraction process, here are some advanced features of q, qInTitle and qInMeta, offered by Newsdata.io.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/newsdata.io\/blog\/how-do-q-qintitle-qinmeta-works\/","og_locale":"en_US","og_type":"article","og_title":"How to use \u201cq\u201d, \u201cqInTitle\u201d and \u201cqInMeta\u201d parameters\u2019 advanced search in NewsData.io API","og_description":"To enhance your data extraction process, here are some advanced features of q, qInTitle and qInMeta, offered by Newsdata.io.","og_url":"https:\/\/newsdata.io\/blog\/how-do-q-qintitle-qinmeta-works\/","og_site_name":"Newsdata.io - Stay Updated with the Latest News API Trends","article_published_time":"2023-08-25T02:06:10+00:00","article_modified_time":"2026-03-19T06:15:56+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/newsdata.io\/blog\/wp-content\/uploads\/2023\/08\/google-news-vs-newsdata-1.jpg","type":"image\/jpeg"}],"author":"Aditi Chaudhary","twitter_card":"summary_large_image","twitter_creator":"@AditiCh17996036","twitter_misc":{"Written by":"Aditi Chaudhary","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/newsdata.io\/blog\/how-do-q-qintitle-qinmeta-works\/","url":"https:\/\/newsdata.io\/blog\/how-do-q-qintitle-qinmeta-works\/","name":"How to use \u201cq\u201d, \u201cqInTitle\u201d and \u201cqInMeta\u201d parameters\u2019 advanced search in NewsData.io API","isPartOf":{"@id":"https:\/\/newsdata.io\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/newsdata.io\/blog\/how-do-q-qintitle-qinmeta-works\/#primaryimage"},"image":{"@id":"https:\/\/newsdata.io\/blog\/how-do-q-qintitle-qinmeta-works\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/newsdata.io\/blog\/wp-content\/uploads\/2023\/08\/google-news-vs-newsdata-1.jpg?fit=1280%2C720&ssl=1","datePublished":"2023-08-25T02:06:10+00:00","dateModified":"2026-03-19T06:15:56+00:00","author":{"@id":"https:\/\/newsdata.io\/blog\/#\/schema\/person\/531c7aac51910b5277dd51422cf0d964"},"description":"To enhance your data extraction process, here are some advanced features of q, qInTitle and qInMeta, offered by Newsdata.io.","breadcrumb":{"@id":"https:\/\/newsdata.io\/blog\/how-do-q-qintitle-qinmeta-works\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/newsdata.io\/blog\/how-do-q-qintitle-qinmeta-works\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/newsdata.io\/blog\/how-do-q-qintitle-qinmeta-works\/#primaryimage","url":"https:\/\/i0.wp.com\/newsdata.io\/blog\/wp-content\/uploads\/2023\/08\/google-news-vs-newsdata-1.jpg?fit=1280%2C720&ssl=1","contentUrl":"https:\/\/i0.wp.com\/newsdata.io\/blog\/wp-content\/uploads\/2023\/08\/google-news-vs-newsdata-1.jpg?fit=1280%2C720&ssl=1","width":1280,"height":720},{"@type":"BreadcrumbList","@id":"https:\/\/newsdata.io\/blog\/how-do-q-qintitle-qinmeta-works\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/newsdata.io\/blog\/"},{"@type":"ListItem","position":2,"name":"How to use \u201cq\u201d, \u201cqInTitle\u201d and \u201cqInMeta\u201d parameters\u2019 advanced search in NewsData.io API"}]},{"@type":"WebSite","@id":"https:\/\/newsdata.io\/blog\/#website","url":"https:\/\/newsdata.io\/blog\/","name":"Newsdata.io - Stay Updated with the Latest News API Trends","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/newsdata.io\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/newsdata.io\/blog\/#\/schema\/person\/531c7aac51910b5277dd51422cf0d964","name":"Aditi Chaudhary","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/newsdata.io\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/331be6db4c207ba712e439ded52d96d1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/331be6db4c207ba712e439ded52d96d1?s=96&d=mm&r=g","caption":"Aditi Chaudhary"},"description":"Aditi Chaudhary is an enthusiastic content writer at Newsdata.io, where she covers topics related to real-time news, News APIs, data-driven journalism, and emerging trends in media and technology. Aditi is passionate about storytelling, research, and creating content that informs and inspires. As a student of Journalism and Mass Communication with a strong interest in the evolving landscape of digital media, she aims to merge her creativity with credibility to expand her knowledge and bring innovation into every piece she creates.","sameAs":["https:\/\/www.linkedin.com\/in\/aditi-chaudhary-456076293\/","https:\/\/x.com\/AditiCh17996036"],"url":"https:\/\/newsdata.io\/blog\/author\/aditi\/"}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/newsdata.io\/blog\/wp-content\/uploads\/2023\/08\/google-news-vs-newsdata-1.jpg?fit=1280%2C720&ssl=1","category":["Documentation"],"featured_image_url":"https:\/\/i0.wp.com\/newsdata.io\/blog\/wp-content\/uploads\/2023\/08\/google-news-vs-newsdata-1.jpg?fit=1280%2C720&ssl=1","_links":{"self":[{"href":"https:\/\/newsdata.io\/blog\/wp-json\/wp\/v2\/posts\/1532"}],"collection":[{"href":"https:\/\/newsdata.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/newsdata.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/newsdata.io\/blog\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/newsdata.io\/blog\/wp-json\/wp\/v2\/comments?post=1532"}],"version-history":[{"count":4,"href":"https:\/\/newsdata.io\/blog\/wp-json\/wp\/v2\/posts\/1532\/revisions"}],"predecessor-version":[{"id":4898,"href":"https:\/\/newsdata.io\/blog\/wp-json\/wp\/v2\/posts\/1532\/revisions\/4898"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/newsdata.io\/blog\/wp-json\/wp\/v2\/media\/1544"}],"wp:attachment":[{"href":"https:\/\/newsdata.io\/blog\/wp-json\/wp\/v2\/media?parent=1532"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/newsdata.io\/blog\/wp-json\/wp\/v2\/categories?post=1532"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/newsdata.io\/blog\/wp-json\/wp\/v2\/tags?post=1532"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}