Skip to content
OSINTtools.io

Zenserp API

SERP API from APILayer for Google, Bing, Yandex and DuckDuckGo, with image, reverse image, news, maps and YouTube search as JSON.

Base URL
https://app.zenserp.com/api
Sign-in
API key
Free tier
Free tier
Format
REST
Endpoints
4

Compiled by OSINTtools.io editors from app.zenserp.com · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

Zenserp returns search engine result pages as structured data. Its search endpoint covers Google web search and, by parameter, image, video, maps, news and shopping search, plus Bing, Yandex, DuckDuckGo and YouTube. A reverse image search takes an image URL and returns the pages that contain the image. Other endpoints cover shopping product pages, hotels, flights, trends, AI Overview and answer engines (ChatGPT, Perplexity, Gemini, Copilot, Google AI Mode).

Calls go to https://app.zenserp.com/api with the key in the apikey header (recommended), as a query parameter on GET requests, or as a form field on POST requests. Responses are JSON by default; most search endpoints also return html or markdown with the output parameter. Features depend on the plan: the Free plan has Google web search, and a request outside the plan returns 403 with feature_not_in_plan and is not charged.

This reference covers the status, search, AI Overview and answer engine endpoints. The docs describe the search response only through its AI Overview part, so the plain search response lists just what the docs name. Shopping, hotels, flights, trends and batch endpoints are in the docs and not documented here. The docs were read on 2026-11-29.

Quick start

  1. Get a key

    Create an account with Zenserp and copy your api key (free tier). Where to get it

  2. Make your first request

    Remaining requests for the API key.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://app.zenserp.com/api/v2/status' \
      -H 'apikey: YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    {
      "remaining_requests": 1500
    }

Authentication

Send your API key in the apikey header of every request.

The key can also be sent as the apikey query parameter on GET requests.

Get a key from Zenserp

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

Most requests are bounded by credit balance only. AI Overview and Answer Engines have per-minute and concurrency caps by plan (for example Answer Engines on the Medium plan: 20 requests per minute, 5 concurrent).

Free tier.

Errors

StatusMeaning
403No apikey provided, invalid API key, request balance used up, or a feature outside the plan (feature_not_in_plan, not charged)
404No results found
429Rate limit exceeded on AI Overview or Answer Engines; see Retry-After
500Internal server error

Account

  • Passive: the target is not contacted

Also accepts POST.

Response fields · 1Show

remaining_requestsinteger

Requests left on the key

curl 'https://app.zenserp.com/api/v2/status' \
  -H 'apikey: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "remaining_requests": 1500
}
  • Takes: Name
  • Passive: the target is not contacted
  • Cost: 3x credits when an overview is returned
  • Plan: Small or higher

Google web search only. Takes 5 to 10 seconds longer and costs 3 times the credits when an overview is returned; a query without an overview is charged once. Needs the Small plan or higher. When there is no overview, ai_overview is { present: false }.

Query parameters

qstringrequiredtakes your name

The search query

Example: what makes the best pizza
search_enginestring

Google domain to query

Example: google.comDefault: google.com
hlstring

Interface language (ISO code)

Example: en
glstring

Country for the search (ISO code)

Example: us
locationstring

Full location string to localise results

Example: Austin, Texas, United States
devicestring

Device type

Example: desktopDefault: desktopOne of: desktop, mobile
Response fields · 15Show

queryobject

The request parameters, echoed back

presentboolean

Whether an AI Overview was returned

textstring

Every paragraph of the overview joined by blank lines

text_paragraphs[]string

Each block title, paragraph and list item in order

text_blocks[]object

Content blocks, each a paragraph or a list

typestring

paragraph or list

titlestring

Heading of a list block

textstring

Text of a paragraph block

items[]string

List items

citations[]object

Sources cited, each URL once

titlestring

Title of the cited page

urlstring

URL of the cited source

domainstring

Host without a leading www.

sourcestring

Site name; falls back to the domain

positioninteger

Index of the citation in the overview

curl 'https://app.zenserp.com/api/v2/search?ai_overview=1&q=what%20makes%20the%20best%20pizza' \
  -H 'apikey: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "query": {
    "q": "what is an example domain",
    "search_engine": "google.com",
    "ai_overview": "1",
    "hl": "en",
    "gl": "us"
  },
  "ai_overview": {
    "present": true,
    "text": "An example domain is a reserved name used in documentation.",
    "text_paragraphs": [
      "An example domain is a reserved name used in documentation."
    ],
    "text_blocks": [
      {
        "type": "paragraph",
        "title": null,
        "text": "An example domain is a reserved name used in documentation.",
        "items": []
      }
    ],
    "citations": [
      {
        "title": "Example Domain",
        "url": "https://example.com/",
        "domain": "example.com",
        "source": "example.com",
        "position": 0
      }
    ]
  }
}

Answer engines

  • Passive: the target is not contacted
  • Cost: 7 credits per answer
  • Plan: Medium or higher

Answers take 5 to 10 seconds. A request answers 200 with status ready, or 202 with status running; poll results_url (GET /api/v1/answer-engine/{snapshot_id}) every poll_after_seconds. Maximum prompt length is 4,096 characters. Engines available depend on the plan.

Query parameters

enginestringrequired

Answer engine to ask

Example: chatgptOne of: chatgpt, perplexity, gemini, copilot, google_ai_mode
promptstringrequired

The prompt to send, at most 4,096 characters with additional_prompt

Example: Top hotels in New York
additional_promptstring

Follow-up prompt evaluated after the first

Example: Which are under $300/night?
countrystring

Country code for the answer context

Example: us
brandstring

Brand to check for visibility; repeat as brand[] for several

Example: Example Hotel
asyncstring

Set to 1 to always get a 202 and poll

Example: 1
Response fields · 16Show

enginestring

Engine that produced the answers

statusstring

ready, or running while answers are collected

promptsinteger

Number of prompts in the request

snapshot_idstring

Handle to poll (202 responses)

results_urlstring

Where to poll (202 responses)

poll_after_secondsinteger

How often to poll (202 responses)

answers[]object

One entry per delivered answer

promptstring

The prompt that was sent

answer_textstring

The full answer text

web_search_triggeredboolean

Whether the engine did a live web search; null when not stated

citations[]object

Sources cited in the answer: position, title, url, domain

sources[]object

Sources the engine consulted, same shape as citations

brand_tracking[]object

Per-brand result, only when brand is sent

errors[]object

Per-prompt failures, not billed

billed_recordsinteger

Number of answers billed

credits_chargedinteger

Credits charged for the request

curl 'https://app.zenserp.com/api/v1/answer-engine?engine=chatgpt&prompt=Top%20hotels%20in%20New%20York' \
  -H 'apikey: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "engine": "chatgpt",
  "status": "ready",
  "prompts": 1,
  "answers": [
    {
      "index": 0,
      "engine": "chatgpt",
      "prompt": "Top hotels in New York",
      "answer_text": "Example answer text naming two example hotels.",
      "web_search_triggered": true,
      "citations": [
        {
          "position": 1,
          "title": "Example hotel guide",
          "url": "https://example.com/hotels",
          "domain": "example.com"
        }
      ],
      "sources": [
        {
          "position": 1,
          "title": "Example Hotel",
          "url": "https://example.org/",
          "domain": "example.org"
        }
      ]
    }
  ],
  "errors": [],
  "warnings": [],
  "billed_records": 1,
  "credits_charged": 7
}