logo
SearchGoogle Trends

Google Trends

Get Google Trends data for a keyword, including timeline data, related queries, and rising queries.

Pricing: 1 credit per call

curl -X POST "https://v3-api.texau.com/api/v1/search_google_trends" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
  "keyword": "artificial intelligence",
  "geo": "US",
  "timeframe": "today 12-m",
  "cache": true
}'
{
  "data": {
    "timeline": [
      {
        "date": "example_string",
        "value": 42
      }
    ],
    "related_queries": [
      "example_string"
    ],
    "rising_queries": [
      "example_string"
    ],
    "keyword": "example_string"
  },
  "meta": {
    "cache_hit": true,
    "execution_time_ms": 42
  }
}
POST
/search_google_trends
POST
API Key (header: x-api-key)
x-api-keystring
Required

Your TexAu API key. Contact TexAu to obtain one.

Your TexAu API key. Contact TexAu to obtain one.
Content-Typestring
Required

The media type of the request body

Options: application/json
keywordstring
Required

Keyword to analyze trends for

geostring

Geographic region code (e.g. US, GB, DE)

timeframestring

Time range (e.g. today 12-m, today 3-m, today 1-m)

Request Preview
Response

Response will appear here after sending the request

Authentication

header
x-api-keystring
Required

API Key for authentication. Your TexAu API key. Contact TexAu to obtain one.

Body

application/json
keywordstring
Required

Keyword to analyze trends for

geostring

Geographic region code (e.g. US, GB, DE)

timeframestring

Time range (e.g. today 12-m, today 3-m, today 1-m)

Responses

dataobject
metaobject