API Task

Content Research API

Research content topics using Google Search data. Get People Also Ask questions, related searches, and top-ranking content in structured JSON.

Content marketers and SEO writers need to understand what questions people ask, what topics rank, and what gaps exist in existing content. Scavio's Google Search API returns People Also Ask boxes, related searches, and full organic result metadata. Use this data to plan content calendars, find unanswered questions, and understand the competitive landscape for any topic.

API Endpoint

POST https://api.scavio.dev/api/v1/search
Platforms
Google

Python Example

Python
import requests

API_KEY = "YOUR_API_KEY"

topic = "kubernetes best practices"

response = requests.post(
    "https://api.scavio.dev/api/v1/search",
    headers={
        "Authorization": f"Bearer {API_KEY}",
        "Content-Type": "application/json",
    },
    json={"query": topic, "country_code": "us"},
)
data = response.json()

# Extract content ideas from People Also Ask
print("People Also Ask:")
for paa in data.get("people_also_ask", []):
    print(f"  - {paa['question']}")

# Analyze top-ranking pages
print("\nTop Ranking Pages:")
for result in data.get("organic_results", [])[:5]:
    print(f"  {result['position']}. {result['title']}")
    print(f"     {result.get('snippet', '')[:100]}")

# Get related search topics
print("\nRelated Searches:")
for rs in data.get("related_searches", []):
    print(f"  - {rs['query']}")

JavaScript Example

JavaScript
const API_KEY = "YOUR_API_KEY";

const topic = "kubernetes best practices";

const response = await fetch("https://api.scavio.dev/api/v1/search", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ query: topic, country_code: "us" }),
});
const data = await response.json();

// Extract content ideas from People Also Ask
console.log("People Also Ask:");
for (const paa of data.people_also_ask || []) {
  console.log(`  - ${paa.question}`);
}

// Analyze top-ranking pages
console.log("\nTop Ranking Pages:");
for (const result of (data.organic_results || []).slice(0, 5)) {
  console.log(`  ${result.position}. ${result.title}`);
  console.log(`     ${(result.snippet || "").slice(0, 100)}`);
}

// Get related search topics
console.log("\nRelated Searches:");
for (const rs of data.related_searches || []) {
  console.log(`  - ${rs.query}`);
}

Expected Response

JSON
{
  "search_metadata": {
    "status": "success",
    "query": "kubernetes best practices",
    "country_code": "us"
  },
  "organic_results": [
    {
      "position": 1,
      "title": "Kubernetes Best Practices: A Comprehensive Guide",
      "link": "https://example.com/k8s-best-practices",
      "snippet": "Follow these 15 Kubernetes best practices to improve security, performance, and reliability..."
    }
  ],
  "people_also_ask": [
    { "question": "What are the best practices for Kubernetes security?", "snippet": "..." },
    { "question": "How do you structure Kubernetes namespaces?", "snippet": "..." },
    { "question": "What is the best way to manage Kubernetes secrets?", "snippet": "..." },
    { "question": "How many pods should a node run?", "snippet": "..." }
  ],
  "related_searches": [
    { "query": "kubernetes production checklist" },
    { "query": "kubernetes security best practices 2026" },
    { "query": "kubernetes resource limits best practices" }
  ]
}

Benefits

  • Discover content gaps with People Also Ask data
  • Identify related topics via related searches
  • Analyze competitor content from organic result snippets
  • Plan data-driven content calendars without guessing
  • Get localized content ideas with the country_code parameter
  • Automate topic research at scale for large content teams

Frequently Asked Questions

Send a POST request to https://api.scavio.dev/api/v1/search with your query and API key. The response is structured JSON containing the data you need. No scraping, no proxies, no browser automation.

This task uses data from Google. Scavio provides unified API access to Google, Amazon, YouTube, Walmart, and Reddit through a single integration.

Yes. Scavio's free tier includes 250 credits per month with no credit card required. That is enough to prototype and test this workflow before scaling up.

Scavio is a REST API that works with any HTTP client. This page includes Python and JavaScript examples, but you can use any language that can make HTTP requests. There is also a native LangChain package and an MCP server.

Content Research API

Research content topics using Google Search data. Get People Also Ask questions, related searches, and top-ranking content in structured JSON.