Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

DataForSEO Content Analysis Phrase Trends

Dokumentasi API
https://api.sandbase.ai/v1/api/dataforseo/v3/content_analysis/phrase_trends/live

Citation counts, sentiment and top domains over time for a keyword across web content.

Harga
Dari $0.024324USD / panggilan
Metode
POST
Respons
JSON
Parameter
0 wajib · 4 opsional

Playground

Input
Keyword or phrase.
Start date, "yyyy-mm-dd".
"day", "week" or "month".
Optional end date.
OutputSiap

Output Anda akan muncul di sini

Lengkapi input, lalu klik Run.

README API

DataForSEO Content Analysis Phrase Trends API

Returns time-bucketed mentions data for a keyword across web content. Each bucket has sentiment counts, country and language splits, page types and page categories. It needs a keyword and a date_from date, and you can group results by day, week or month.

Use cases

  • Track how many positive, neutral and negative web mentions a product name gets each week.
  • Compare mentions by country or language to see where a brand is discussed most.
  • Check whether a keyword is covered mostly by blogs, news, ecommerce or organization sites over time.
  • Plot emotion counts such as happiness and share to spot shifts in tone around a launch.

Request

curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/content_analysis/phrase_trends/live" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "iphone", "date_from": "2026-09-01", "date_group": "week"}'

The result is returned in outputs[0].

Parameters

NameTypeRequiredDescription
date_fromstringNoStart date, "yyyy-mm-dd".
date_groupstringNo"day", "week" or "month".
date_tostringNoOptional end date.
keywordstringNoKeyword or phrase.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "status_code": 20000,
  "status_message": "Ok.",
  "tasks": [
    {
      "data": {
        "api": "content_analysis",
        "date_from": "2026-09-01",
        "date_group": "week",
        "function": "phrase_trends",
        "keyword": "iphone"
      },
      "id": "11030828-2190-0467-0000-4a26efffea9e",
      "path": [
        "v3"
      ],
      "result": [
        {
          "connotation_types": {
            "negative": 88128,
            "neutral": 64160,
            "positive": 109544
          },
          "countries": {
            "BR": 6256,
            "DE": 12744,
            "ES": 8432,
            "GB": 3424,
            "IN": 6168,
            "IT": 8312,
            "NL": 7152,
            "PL": 6848
          },
          "date": "2026-08-31",
          "languages": {
            "de": 22776,
            "en": 114144,
            "es": 27144,
            "fr": 6416,
            "it": 17832,
            "ja": 60712,
            "nl": 6704,
            "pl": 4640
          },
          "page_categories": [
            {
              "category": [
                10019
              ],
              "count": 76192
            }
          ],
          "page_types": {
            "blogs": 110840,
            "ecommerce": 93424,
            "message-boards": 96,
            "news": 11448,
            "organization": 114104
          },
          "rank": 396,
          "sentiment_connotations": {
            "anger": 0,
            "fun": 760,
            "happiness": 6816,
            "love": 1232,
            "sadness": 24,
            "share": 5768
          }
        }
      ],
      "result_count": 10,
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "9.8149 sec."
    }
  ],
  "tasks_count": 1,
  "tasks_error": 0,
  "time": "9.8224 sec.",
  "version": "0.1.20261022"
}

Response fields

FieldMeaning
tasks[].result[].dateStart date of the time bucket, in yyyy-mm-dd format. With date_group set to week, each row is one week.
tasks[].result[].connotation_types.negative / neutral / positiveNumber of mentions in the bucket with each overall sentiment.
tasks[].result[].sentiment_connotations.anger / fun / happiness / love / sadness / shareNumber of mentions in the bucket tagged with each emotion.
tasks[].result[].countriesMention counts per country code, such as DE or GB.
tasks[].result[].languagesMention counts per language code, such as en or ja.
tasks[].result[].page_types.blogs / ecommerce / news / organization / message-boardsMention counts by type of page that carries the keyword.
tasks[].result[].page_categories[].categoryList of numeric category IDs for the page group.
tasks[].result[].page_categories[].countNumber of mentions in that category for the bucket.
tasks[].result[].rankRank value for the keyword in that bucket. The response does not state how it is scored.
tasks[].result_countNumber of buckets in the result. The sample shows only a few rows.

Notes

  • The date of the first row (2026-08-31) comes before the requested date_from (2026-09-01), so weekly buckets can start on an earlier day.
  • Only some countries and languages appear in each bucket, and the set can change from one bucket to the next.
  • Category values are numeric IDs, and the response does not include their names.
  • Use date_to to set an end date for the range.

Pricing

Billed at the actual cost of each call, about $0.024324 for the request above. Failed calls are not charged.

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
DataForSEODari $0.024324 per panggilanJSON
DataForSEODari $0.0102 per panggilanJSON
DataForSEODari $0.000724 per panggilanJSON
DataForSEO$0.004 per panggilanJSON
DataForSEODari $0.00162 per panggilanJSON
DataForSEODari $0.001105 per panggilanJSON

Pertanyaan

FAQ

Bagaimana cara menggunakan API DataForSEO Content Analysis Phrase Trends?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/dataforseo/v3/content_analysis/phrase_trends/live dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API DataForSEO Content Analysis Phrase Trends?

Mulai dari $0.024324 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.

Parameter apa yang diterima API DataForSEO Content Analysis Phrase Trends?

Tidak ada parameter yang wajib. Opsional: keyword (string), date_from (string), date_group (string) dan date_to (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API DataForSEO Content Analysis Phrase Trends?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.

Apakah saya memerlukan akun developer atau kunci API DataForSEO?

Tidak. DataForSEO Content Analysis Phrase Trends berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API DataForSEO secara terpisah.