# Citation trends for a keyword over a date range

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

|  |  |
| --- | --- |
| Tool id | `dataforseo.x-content-analysis-phrase-trends-live` |
| Platform | [Web extraction](https://www.orcarouter.ai/tools/web-extraction.md) |
| Capability | [Extract a web page](https://www.orcarouter.ai/tools/web-extraction/page-extract.md) |
| Price | $0.026559 per call |
| Health | OK |
| p50 latency | — |
| Success (7 days) | — |
| Runs (30 days) | — |
| Idempotent | no |
| Data class | unclassified |

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `date_from` | string | no | starting date of the time range required field date format: "yyyy-mm-dd" example: "2019-01-15" |
| `date_group` | string | no | time range which will be used to group the results optional field default value: month possible values: day, week, month |
| `date_to` | string | no | ending date of the time range optional field if you don’t specify this field, today’s date will be used by default date format: "yyyy-mm-dd" example: "2019-01-15" |
| `initial_dataset_filters` | array | no | initial dataset filtering parameters optional field 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_r |
| `internal_list_limit` | integer | no | maximum number of elements within internal arrays optional field you can use this field to limit the number of elements within the following arrays: top_domains text_categories page_categories countries languages default value: 1 maximum value: 20 |
| `keyword` | string | no | target keyword required field UTF-8 encoding the keywords will be converted to a lowercase format; Note: to match an exact phrase instead of a stand-alone keyword, use double quotes and backslashes; example: "keyword": "\\"tesla palo alto\\"" learn more about rules and limitations of keyword and keywo |
| `keyword_fields` | object | no | target keyword fields and target keywords optional field use this parameter to filter the dataset by keywords that certain fields should contain; fields you can specify: title, main_title, previous_title, snippet you can indicate several fields; Note: to match an exact phrase instead of a stand-alon |
| `page_type` | array | no | target page types optional field use this parameter to filter the dataset by page types possible values: "ecommerce", "news", "blogs", "message-boards", "organization" |
| `rank_scale` | string | no | defines the scale used for calculating and displaying the rank values optional field you can use this parameter to choose whether rank values are presented on a 0–100 or 0–1000 scale possible values: one_hundred — rank values are displayed on a 0–100 scale one_thousand — rank values are displayed on |
| `search_mode` | string | no | results grouping type optional field possible grouping types: as_is – returns data on all citations for the target keyword one_per_domain – returns data on one citation of the keyword per domain default value: as_is |
| `tag` | string | no | user-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task and match it with the result you will find the specified tag value in the data object of the response |

## Call it

```bash
curl -sS https://api.orcarouter.ai/v1/tools/dataforseo.x-content-analysis-phrase-trends-live/run \
  -H "Authorization: Bearer $ORCAROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{}}'
```

```python
import os, requests

resp = requests.post(
    "https://api.orcarouter.ai/v1/tools/dataforseo.x-content-analysis-phrase-trends-live/run",
    headers={"Authorization": f"Bearer {os.environ['ORCAROUTER_API_KEY']}"},
    json={"input":{}},
)
print(resp.json())
```

## Alternatives

| Tool | Source | Price | Health |
| --- | --- | --- | --- |
| [Web Scrape](https://www.orcarouter.ai/tools/web-extraction/page-extract/web-scrape.md) | — | $0.00077 per call | OK |
| [Parse video details from a share URL (any platform)](https://www.orcarouter.ai/tools/web-extraction/page-extract/x-hybrid-video-data.md) | — | $0.0011 per call | OK |
| [Scrape a web page](https://www.orcarouter.ai/tools/web-extraction/page-extract/web-scrape-7e0847.md) | — | $0.00242 per call | OK |
| [Rating distribution of citations for a keyword](https://www.orcarouter.ai/tools/web-extraction/page-extract/x-content-analysis-rating-distribution-live.md) | — | $0.0264 per call | OK |
| [Find domains by HTML terms on their homepage](https://www.orcarouter.ai/tools/web-extraction/page-extract/x-domain-analytics-technologies-domains-by-html-terms-live.md) | — | $0.0264 per call | OK |
| [Search citations of a keyword](https://www.orcarouter.ai/tools/web-extraction/page-extract/x-content-analysis-search-live.md) | — | $0.02644 per call | OK |
| [Sentiment of citations for a keyword](https://www.orcarouter.ai/tools/web-extraction/page-extract/x-content-analysis-sentiment-analysis-live.md) | — | $0.02644 per call | OK |
| [Citation overview for a keyword](https://www.orcarouter.ai/tools/web-extraction/page-extract/x-content-analysis-summary-live.md) | — | $0.02644 per call | OK |
| [Backlink summary for up to 1000 pages or domains](https://www.orcarouter.ai/tools/web-extraction/page-extract/x-backlinks-bulk-pages-summary-live.md) | — | $0.02648 per call | OK |
| [Backlink summary for every page of a domain](https://www.orcarouter.ai/tools/web-extraction/page-extract/x-backlinks-domain-pages-summary-live.md) | — | $0.026559 per call | OK |

Showing the first 10 of 17.

## FAQ

### How much does Citation trends for a keyword over a date range cost?

Citation trends for a keyword over a date range costs $0.026559 per call: 1,000 calls cost $26.559.

### What does a $10 budget buy with Citation trends for a keyword over a date range?

About 376 calls at $0.026559 per call.

### What inputs does Citation trends for a keyword over a date range need?

It has no required inputs.

### How do I call Citation trends for a keyword over a date range?

Send POST /v1/tools/{id}/run with your OrcaRouter API key and a JSON body {"input": {…}}, where {id} is the tool id POST /v1/tools/discover returns for it.

---

Markdown version of https://www.orcarouter.ai/tools/web-extraction/page-extract/x-content-analysis-phrase-trends-live
