Gemini

This document provides information about the API and the available POST parameters.

Gemini

The LLM Scraper enables retrieval of Gemini responses and returns a structured JSON output.


API Setup

Endpoint

https://llm-scraper.netnut.io/search

Authentication

Use HTTP Basic Authentication:

Authorization: Basic <base64(username:password)>

Where <base64(username:password)> is the Base64-encoded string of your NetNut credentials.


Request Body Schema

{
  "prompt": "Explain SEO ranking factors in 2026",   // Required
  "engine": "gemini",                                // Required
  "country": "us",                                   // Optional
}

Field Descriptions

Field
Description
Parameter Type

prompt

Main prompt sent to Gemini. Max length: 4096 chars.

Required

country

Target geographic region for contextual responses.

Optional

engine

The chatbot engine to use. Currently "chatgpt", "google_ai_mode", "perplexity" and "gemini" are supported.

Required (default: chatgpt)


Example Usage


Response Format

The Gemini Scraper always returns structured JSON.

Example JSON Response

Last updated