SerpBase

Google Trends

Google Trends API: up to five comma-separated terms as JSON. By default you get interest over time for your time range and region; set data_type to GEO_MAP for interest by region or RELATED_QUERIES for related queries.

Endpoint
POST https://api.serpbase.dev/google/trends
Price
2 credits
Authentication
X-API-Key

You pay for successful requests only. Each endpoint has a fixed price in credits — most cost 1 or 2 — and a request that fails gives its credits back automatically. Billing →

Need the whole Google results page instead? The Google SERP API returns organic results, AI Overviews and People Also Ask as JSON.

Example

cURL
curl -X POST 'https://api.serpbase.dev/google/trends' \
  -H "Content-Type: application/json" \
  -H 'X-API-Key: YOUR_API_KEY' \
  --max-time 60 \
  -d '{"q":"coffee"}'
Response · real, shortened
{
  "status": 0,
  "credits_charged": 2,
  "request_id": "r-4b27fe8a36d9ac303a5da7dd",
  "product_id": "google_trends",
  "query": "coffee",
  "action": "trends",
  "source": "google",
  "trends": {
    "query": "coffee",
    "series": [
      {
        "points": [
          {
            "timestamp": "2025-10-26T00:00:00Z",
            "value": 59
          }
        ],
        "term": "coffee"
      }
    ],
    "time_range": "today 12-m"
  },
  "url": "https://trends.google.com/trends/?hl=en"
}
Parameters · What comes back

Frequently asked questions

How much does the Google Trends API cost?

Each request costs 2 credits. Credits come from prepaid packs or the monthly plan, and new accounts start with free credits.

How do I call the Google Trends API?

Send a POST request to https://api.serpbase.dev/google/trends with your API key in the X-API-Key header. The response is JSON; check status (0 means success).

Which devices does it support?

Supported devices: desktop. The default is desktop.

Is the Google Trends API available now?

Yes. Any active API key can call it.