Skip to main content
Glama

DataForSEO MCP Server

Apache 2.0
627

content_analysis_phrase_trends

Analyze keyword citation trends over time to identify changes in usage across specific page types and fields within a defined date range using advanced filtering options.

Instructions

This endpoint will provide you with data on all citations of the target keyword for the indicated date range

Input Schema

NameRequiredDescriptionDefault
date_fromYesstarting date of the time range date format: "yyyy-mm-dd"
date_groupNodate grouping typemonth
date_toNoending date of the time range date format: "yyyy-mm-dd"
initial_dataset_filtersNoinitial dataset filtering parameters initial filtering parameters that apply to fields in the Search endpoint; you can add several filters at once (8 filters maximum); you should set a logical operator and, or between the conditions; the following operators are supported: regex, not_regex, <, <=, >, >=, =, <>, in, not_in, like,not_like, has, has_not, match, not_match you can use the % operator with like and not_like to match any string of zero or more characters; example: ["domain","<>", "logitech.com"] [["domain","<>","logitech.com"],"and",["content_info.connotation_types.negative",">",1000]] [["domain","<>","logitech.com"]], "and", [["content_info.connotation_types.negative",">",1000], "or", ["content_info.text_category","has",10994]]
internal_list_limitNomaximum number of elements within internal arrays you can use this field to limit the number of elements within the following arrays
keywordYestarget keyword Note: to match an exact phrase instead of a stand-alone keyword, use double quotes and backslashes;
keyword_fieldsNotarget keyword fields and target keywords use this parameter to filter the dataset by keywords that certain fields should contain; you can indicate several fields; Note: to match an exact phrase instead of a stand-alone keyword, use double quotes and backslashes; example: { "snippet": "\"logitech mouse\"", "main_title": "sale" }
page_typeNotarget page types

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "date_from": { "description": "starting date of the time range\n date format: \"yyyy-mm-dd\"", "type": "string" }, "date_group": { "default": "month", "description": "date grouping type", "enum": [ "day", "week", "month" ], "type": "string" }, "date_to": { "description": "ending date of the time range\n date format: \"yyyy-mm-dd\"", "type": "string" }, "initial_dataset_filters": { "anyOf": [ { "items": [ { "type": "string" }, { "enum": [ "regex", "not_regex", "<", "<=", ">", ">=", "=", "<>", "in", "not_in", "ilike", "not_ilike", "like", "not_like" ], "type": "string" }, { "anyOf": [ { "type": "string" }, { "type": "number" }, { "type": "boolean" }, { "type": "array" } ] } ], "maxItems": 3, "minItems": 3, "type": "array" }, { "items": { "anyOf": [ { "$ref": "#/properties/initial_dataset_filters" }, { "enum": [ "and", "or" ], "type": "string" } ] }, "maxItems": 7, "type": "array" } ], "description": "initial dataset filtering parameters\n initial filtering parameters that apply to fields in the Search endpoint;\n you can add several filters at once (8 filters maximum);\n you should set a logical operator and, or between the conditions;\n the following operators are supported:\n regex, not_regex, <, <=, >, >=, =, <>, in, not_in, like,not_like, has, has_not, match, not_match\n you can use the % operator with like and not_like to match any string of zero or more characters;\n example:\n [\"domain\",\"<>\", \"logitech.com\"]\n [[\"domain\",\"<>\",\"logitech.com\"],\"and\",[\"content_info.connotation_types.negative\",\">\",1000]]\n\n [[\"domain\",\"<>\",\"logitech.com\"]],\n \"and\",\n [[\"content_info.connotation_types.negative\",\">\",1000],\n \"or\",\n [\"content_info.text_category\",\"has\",10994]]" }, "internal_list_limit": { "default": 1, "description": "maximum number of elements within internal arrays\n you can use this field to limit the number of elements within the following arrays", "maximum": 20, "minimum": 1, "type": "number" }, "keyword": { "description": "target keyword\n Note: to match an exact phrase instead of a stand-alone keyword, use double quotes and backslashes;", "type": "string" }, "keyword_fields": { "additionalProperties": false, "description": "target keyword fields and target keywords\n use this parameter to filter the dataset by keywords that certain fields should contain;\n you can indicate several fields;\n Note: to match an exact phrase instead of a stand-alone keyword, use double quotes and backslashes;\n example:\n {\n \"snippet\": \"\\\"logitech mouse\\\"\",\n \"main_title\": \"sale\"\n }", "properties": { "main_title": { "type": "string" }, "previous_title": { "type": "string" }, "snippet": { "type": "string" }, "title": { "type": "string" } }, "type": "object" }, "page_type": { "description": "target page types", "items": { "enum": [ "ecommerce", "news", "blogs", "message-boards", "organization" ], "type": "string" }, "type": "array" } }, "required": [ "keyword", "date_from" ], "type": "object" }
Install Server

Other Tools from DataForSEO MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/ravinwebsurgeon/seo-mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server