Skip to main content

API Shop Documentation

Project description

JustSerpAPI Logo

JustSerpAPI Python SDK

PyPI version Python Versions Documentation License

The most reliable and high-performance SERP API for Google Search, Maps, News, Shopping, and more.


🌐 Quick Links


🚀 Overview

JustSerpAPI provides a comprehensive suite of tools to scrape and parse search engine results in real-time. This Python SDK allows you to integrate Google Search, Maps, Images, News, Shopping, and AI-powered overviews directly into your Python applications with full type safety and high performance.

Key Features

  • Full Google Coverage: Search, Maps, News, Shopping, Finance, Images, and Patents.
  • AI-Powered: Access Google AI Overviews and AI Search modes.
  • Easy Integration: Built-in authentication, automatic retries, and clean models.
  • Type Safety: Full PEP 484 type hints support for a great developer experience.

🛠 Installation

Install the package via pip:

pip install justserpapi

📖 Getting Started

To start using the SDK, you need an API Key. You can get one from the User Dashboard.

Simple Search Example

import justserpapi
from justserpapi.api.google_api_api import GoogleAPIApi
from pprint import pprint

# Configure the SDK
configuration = justserpapi.Configuration(
    host="https://api.justserpapi.com"
)
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY_HERE'

# Initialize the API client
with justserpapi.ApiClient(configuration) as api_client:
    # Create an instance of the Google API
    api_instance = GoogleAPIApi(api_client)
    
    try:
        # Search for "coffee shops in New York"
        response = api_instance.search(
            query="coffee shops in New York",
            location="New York,NY",
            language="en"
        )
        pprint(response)
    except justserpapi.ApiException as e:
        print(f"Exception when calling API: {e}")

🍱 Supported APIs

Service Method Description
Google Search search() Core Google search results (Organic, Ads, etc.)
Google Maps maps_search() Local business listings and place details
Google AI ai_overview() Extract AI-generated summaries from Google
Google Images images_search() High-quality image search results
Google News news_search() Real-time news results
Google Shopping shopping_search() Comprehensive product and price data

Check out the Full Documentation for a complete list of endpoints and parameters.


🛡️ Authentication

The API uses an API Key passed in the X-API-Key header. In the SDK, this is managed via the Configuration object:

configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

⚖️ License

Distributed under the MIT License. See LICENSE for more information.


Proudly maintained by the JustSerpAPI Team.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

justserpapi-1.0.0.tar.gz (51.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

justserpapi-1.0.0-py3-none-any.whl (52.5 kB view details)

Uploaded Python 3

File details

Details for the file justserpapi-1.0.0.tar.gz.

File metadata

  • Download URL: justserpapi-1.0.0.tar.gz
  • Upload date:
  • Size: 51.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.13

File hashes

Hashes for justserpapi-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1303099962c8b6610c946d17948dc8ecf359aa087e03ac254f4835e77e33d8b6
MD5 b629b28305a493f25f24cfcae6c889e6
BLAKE2b-256 0eb9cba940687cd36967209c1aa6edd30ec2d0220216d88814bf8eb07f3215e4

See more details on using hashes here.

File details

Details for the file justserpapi-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: justserpapi-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 52.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.13

File hashes

Hashes for justserpapi-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7d05bd7de2f2678d890e4ca0da8cfcff62d34407924b3858dc5ecd1baeb1eece
MD5 eb309710002a72964e5272da863a5be6
BLAKE2b-256 e1d077fce765dec13912e0e680a1c9b35db7edab037e8b5810b34991d4da9667

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page