Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 1.41 KB

File metadata and controls

54 lines (36 loc) · 1.41 KB

API Serpent Python SDK

Official Python wrapper for API Serpent – fast, reliable, and cost-effective search engine results API.

Features

  • SERP API: Fetch real-time search engine results from Google, Bing, Yahoo, DuckDuckGo, and Brave in clean JSON format.
  • Rank Tracking API: Monitor search rankings for your keywords programmatically across locations and devices.
  • Pixel Position API: Get exact pixel-level placement metrics to calculate true above-the-fold visibility.
  • AI Search Monitoring: Track visibility across generative engines including ChatGPT, Claude, Gemini, and Perplexity.

Quick Start

Installation

pip install requests

Basic Usage

import requests

api_key = "YOUR_API_SERPENT_KEY"
endpoint = "https://api.apiserpent.com/v1/search"

params = {
    "api_key": api_key,
    "q": "python serp api",
    "engine": "google",
    "location": "United States"
}

response = requests.get(endpoint, params=params)
data = response.json()

print(data)

Documentation & Links

License

This project is licensed under the MIT License - see the LICENSE file for details.