# AnyAPI Google Trends

> AnyAPI Google Trends is a paid API for AI agents from api.getanyapi.com, paid per call via x402, $0.0025/call, status unknown (last checked 2026-09-14).

Fetches Google Trends data for keywords or topics via a pay-per-request API with no subscription required

## Facts

- Endpoint: POST https://api.getanyapi.com/v1/run/google.trends
- Price: $0.0025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/anyapi-google-trends-7e106de1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Usk-Ih2gmznX7-gxuAoht

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 anyapi-google-trends-7e106de1 -d '<json body>'
```

Example prompt: What does Google Trends data look like for 'electric vehicles' in the United States over the past 12 months — I want to see interest over time and any related rising queries.

## When to prefer this

Choose this endpoint when you need programmatic access to Google Trends data without managing a Google API subscription. Ideal for pay-per-use scenarios, agent workflows that occasionally need trend data, or when you want a single API key covering multiple data sources without monthly commitments.

## Known failure modes

- Invalid or empty keyword returns error response
- Unsupported geo region returns validation error
- Rate limiting or payment failure returns 402 or 429 status
- Google Trends API unavailability results in upstream timeout or 503
- Keyword with no trend data returns empty dataset

## How this service works

1,200+ scraping and data APIs behind one key. Pay per request in real dollars. No subscriptions, nothing monthly, nothing to cancel.

## Output

Returns structured JSON with Google Trends data including interest-over-time scores, regional breakdown, related queries (top and rising), and related topics for the specified keyword or topic and time range.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "title": "Yelp search input",
 "example": {
  "limit": 5,
  "query": "pizza",
  "location": "Chicago, IL"
 },
 "required": [
  "query",
  "location"
 ],
 "properties": {
  "limit": {
   "type": "integer",
   "maximum": 20,
   "minimum": 1,
   "description": "Maximum number of results to return (1 to 20, default 20)."
  },
  "query": {
   "type": "string",
   "description": "Search term or category to look for (e.g. sushi)."
  },
  "location": {
   "type": "string",
   "description": "City and state defining the search area (e.g. San Francisco, CA)."
  }
 },
 "additionalProperties": false
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/anyapi-google-trends-7e106de1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.getanyapi.com](https://www.zero.xyz/host/api.getanyapi.com/llms.txt)
