# Google Trends Related Queries by Keyword

> Google Trends Related Queries by Keyword is a paid API for AI agents from keywords.duoleads.com, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-18).

Returns the top and rising related search queries for a given keyword using Google Trends data, with relative popularity scores and growth percentages.

## Facts

- Endpoint: GET https://keywords.duoleads.com/v1/related-queries?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/google-trends-related-queries-by-keyword-ae9dfae2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7S25s3vGmjTn_ZswT1X2M

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability google-trends-related-queries-by-keyword-ae9dfae2
```

Example prompt: What are the top and rising related Google searches around 'electric vehicles' in the US over the past 12 months? I want to find emerging queries I could target for content.

## When to prefer this

Use this endpoint when you need to discover what users also search for around a specific keyword — ideal for query expansion, content ideation, or spotting emerging trends. Prefer this over generic keyword volume endpoints when you want related query discovery with trend signals (top vs rising), not just search volume. Choose the sibling trend endpoint if you need the interest-over-time series for the same keyword instead of related queries.

## Known failure modes

- Keyword too short (<2 chars) or too long (>100 chars) — returns validation error, not charged
- Invalid country code format — returns validation error, not charged
- No related queries found for obscure keywords — returns empty top/rising arrays
- Upstream DataForSEO/Google Trends outage — upstream error, charged may not apply
- Response latency up to ~30 seconds on live calls — agent timeout if not configured appropriately
- Worldwide results returned when country omitted — may be unexpected if regional data was intended

## How this service works

Search volume, CPC, competition, keyword difficulty, intent, keyword ideas and Google Trends, paid per call over x402 (USDC on Base). No account, no API key.

## Output

Returns two lists of related Google Trends queries for the keyword: 'top' (up to ~25 queries with 0-100 relative popularity scores) and 'rising' (queries with % growth vs the prior period). Also includes market metadata (country name, location code), the timeframe queried, the data timestamp, and a pointer to a sibling endpoint for interest-over-time series data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "keyword"
     ],
     "properties": {
      "country": {
       "type": "string",
       "pattern": "^[A-Za-z]{2}$",
       "description": "ISO 3166-1 alpha-2 country code (us, gb, de, ...; uk = gb). Omit for worldwide."
      },
      "keyword": {
       "type": "string",
       "maxLength": 100,
       "minLength": 2,
       "description": "One keyword or phrase (2-100 characters, no commas)."
      },
      "timeframe": {
       "enum": [
        "past_7_days",
        "past_30_days",
        "past_90_days",
        "past_12_months",
        "past_5_years"
       ],
       "type": "string",
       "default": "past_12_months",
       "description": "Time window. Default past_12_months."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "top": [
   {
    "term": "analytics seo api",
    "value": 100
   },
   {
    "term": "moz api",
    "value": 64
   }
  ],
  "units": "top value: 0-100 relative popularity among related queries (100 = most searched); rising value: % increase in searches vs the preceding period",
  "market": {
   "country": "US",
   "locationCode": 2840,
   "locationName": "United States"
  },
  "rising": [],
  "source": "Google Trends (via DataForSEO)",
  "country": "US",
  "keyword": "seo api",
  "dataAsOf": "2022-04-21T18:40:17Z",
  "see_also": {
   "params": [
    "keyword",
    "country",
    "timeframe"
   ],
   "reason": "Need the interest-over-time series for this keyword? Call trend with the same parameters.",
   "endpoint": "https://keywords.duoleads.com/v1/trend"
  },
  "timeframe": "past_12_months",
  "queried_at": "2022-04-21T18:40:17Z",
  "request_id": "01KEXAMPLE0000000000000000"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/google-trends-related-queries-by-keyword-ae9dfae2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from keywords.duoleads.com](https://www.zero.xyz/host/keywords.duoleads.com/llms.txt)
