API Task

SERP Tracking API

Monitor search engine rankings over time with Scavio's Google Search API. Track keyword positions, featured snippets, and SERP features in structured JSON.

SERP tracking is the backbone of any SEO operation. Knowing where your pages rank for target keywords, and how those positions shift over time, drives content strategy and link-building priorities. Scavio's Google Search API returns structured ranking data including organic positions, featured snippets, People Also Ask, and AI overviews. Call it daily on your keyword list and store results to build a full ranking history.

API Endpoint

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

Python Example

Python
import requests

API_KEY = "YOUR_API_KEY"

keywords = ["best crm software", "crm for startups", "crm comparison 2026"]

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

    for result in data.get("organic_results", []):
        if "yourdomain.com" in result.get("link", ""):
            print(f"[{keyword}] Position {result['position']}: {result['link']}")
            break
    else:
        print(f"[{keyword}] Not found in top results")

JavaScript Example

JavaScript
const API_KEY = "YOUR_API_KEY";

const keywords = ["best crm software", "crm for startups", "crm comparison 2026"];

for (const keyword of keywords) {
  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: keyword, country_code: "us" }),
  });
  const data = await response.json();

  const match = (data.organic_results || []).find((r) =>
    r.link?.includes("yourdomain.com")
  );
  if (match) {
    console.log(`[${keyword}] Position ${match.position}: ${match.link}`);
  } else {
    console.log(`[${keyword}] Not found in top results`);
  }
}

Expected Response

JSON
{
  "search_metadata": {
    "status": "success",
    "query": "best crm software",
    "country_code": "us"
  },
  "organic_results": [
    {
      "position": 1,
      "title": "10 Best CRM Software of 2026 (Ranked & Reviewed)",
      "link": "https://example.com/best-crm",
      "snippet": "We tested 40+ CRM platforms to find the best options for small businesses..."
    },
    {
      "position": 2,
      "title": "Best CRM Software: Compare Top Providers",
      "link": "https://yourdomain.com/crm-guide",
      "snippet": "Our comprehensive guide to the top CRM platforms..."
    }
  ],
  "people_also_ask": [
    { "question": "What is the best CRM for a small business?", "snippet": "..." },
    { "question": "Is HubSpot CRM really free?", "snippet": "..." }
  ]
}

Benefits

  • Track keyword rankings across any country with the country_code parameter
  • Detect featured snippet wins and People Also Ask appearances
  • Monitor AI overview mentions for your domain
  • Structured JSON makes it easy to store and chart ranking trends
  • No browser automation or proxy rotation required
  • Run daily or weekly to build a complete ranking history

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.

SERP Tracking API

Monitor search engine rankings over time with Scavio's Google Search API. Track keyword positions, featured snippets, and SERP features in structured JSON.