# Zenserp API reference

> 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…

Source: https://osinttools.io/apis/zenserp/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/zenserp/

- Base URL: https://app.zenserp.com/api
- Authentication: API key in the `apikey` header. Get a key: https://app.zenserp.com/ The key can also be sent as the apikey query parameter on GET requests.
- Free tier: yes
- Rate limits: 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).
- Vendor docs: https://app.zenserp.com/documentation

## Overview

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.

## Errors

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

## Account

### Remaining requests for the API key.

`GET /v2/status`

- Footprint: passive (the target is not contacted)

Also accepts POST.

Response fields:

- `remaining_requests` (integer): Requests left on the key

```bash
curl 'https://app.zenserp.com/api/v2/status' \
  -H 'apikey: YOUR_API_KEY'
```

Example response (200):

```json
{
  "remaining_requests": 1500
}
```

## Search

### Search Google (or another engine) and return the result page as data.

`GET /v2/search`

- Takes: Name, Image
- Footprint: passive (the target is not contacted)
- Plan: Free plan: Google web search. Image, news, maps, shopping and other engines need Small or higher.

Set tbm to isch for image search, nws for news, shop for shopping or lcl for maps. For a reverse image search, pass image_url instead of q; start is not supported for image and reverse image search. Google returns at most 300 results; paginate with start. The docs do not describe the fields of the plain search response here.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `q` | query | string | no | Keyword to query; search operators are allowed. Required unless image_url is used Example: example company name |
| `image_url` | query | string | no | URL of the image for a reverse image search Example: https://example.com/photo.jpg |
| `location` | query | string | no | Geolocation for the query; set it when scraping ads Example: New York,New York,United States |
| `search_engine` | query | string | no | Domain of the search engine to query Example: google.com |
| `start` | query | integer | no | Offset for pagination Example: 10 |
| `tbm` | query | string | no | Search type: isch images, nws news, shop shopping, lcl maps Example: isch One of: isch, nws, shop, lcl |
| `device` | query | string | no | Device to use Example: desktop One of: desktop, mobile |
| `cache` | query | string | no | true serves a stored copy when one exists (not charged); entries last 24 hours Example: false One of: true, false |
| `hl` | query | string | no | Interface language, autodetected from the search engine if not set Example: en |
| `gl` | query | string | no | Country of the search; United States by default Example: us |
| `lr` | query | string | no | Limit results to languages, prefixed with lang_ Example: lang_fr |
| `output` | query | string | no | Response format instead of JSON Example: markdown One of: html, markdown |

Response fields:

- `query` (object): The parameters of the request, echoed back
- `organic` (array): Organic results (named in the docs; item fields are not described there)

```bash
curl 'https://app.zenserp.com/api/v2/search' \
  -H 'apikey: YOUR_API_KEY'
```

Example response (200):

```json
{
  "query": {
    "q": "example company name",
    "search_engine": "google.com",
    "hl": "en",
    "gl": "us"
  }
}
```

### Google search with the AI Overview text and its cited sources.

`GET /v2/search?ai_overview=1`

- Takes: Name
- Footprint: 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 }.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `q` | query | string | yes | The search query Example: what makes the best pizza |
| `search_engine` | query | string | no | Google domain to query Example: google.com |
| `hl` | query | string | no | Interface language (ISO code) Example: en |
| `gl` | query | string | no | Country for the search (ISO code) Example: us |
| `location` | query | string | no | Full location string to localise results Example: Austin, Texas, United States |
| `device` | query | string | no | Device type Example: desktop One of: desktop, mobile |

Response fields:

- `query` (object): The request parameters, echoed back
- `ai_overview.present` (boolean): Whether an AI Overview was returned
- `ai_overview.text` (string): Every paragraph of the overview joined by blank lines
- `ai_overview.text_paragraphs[]` (string): Each block title, paragraph and list item in order
- `ai_overview.text_blocks[]` (object): Content blocks, each a paragraph or a list
- `ai_overview.text_blocks[].type` (string): paragraph or list
- `ai_overview.text_blocks[].title` (string): Heading of a list block
- `ai_overview.text_blocks[].text` (string): Text of a paragraph block
- `ai_overview.text_blocks[].items[]` (string): List items
- `ai_overview.citations[]` (object): Sources cited, each URL once
- `ai_overview.citations[].title` (string): Title of the cited page
- `ai_overview.citations[].url` (string): URL of the cited source
- `ai_overview.citations[].domain` (string): Host without a leading www.
- `ai_overview.citations[].source` (string): Site name; falls back to the domain
- `ai_overview.citations[].position` (integer): Index of the citation in the overview

```bash
curl 'https://app.zenserp.com/api/v2/search?ai_overview=1&q=what%20makes%20the%20best%20pizza' \
  -H 'apikey: YOUR_API_KEY'
```

Example response (200):

```json
{
  "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

### Ask ChatGPT, Perplexity, Gemini, Copilot or Google AI Mode a prompt and get the answer with citations.

`GET /v1/answer-engine`

- Footprint: 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.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `engine` | query | string | yes | Answer engine to ask Example: chatgpt One of: chatgpt, perplexity, gemini, copilot, google_ai_mode |
| `prompt` | query | string | yes | The prompt to send, at most 4,096 characters with additional_prompt Example: Top hotels in New York |
| `additional_prompt` | query | string | no | Follow-up prompt evaluated after the first Example: Which are under $300/night? |
| `country` | query | string | no | Country code for the answer context Example: us |
| `brand` | query | string | no | Brand to check for visibility; repeat as brand[] for several Example: Example Hotel |
| `async` | query | string | no | Set to 1 to always get a 202 and poll Example: 1 |

Response fields:

- `engine` (string): Engine that produced the answers
- `status` (string): ready, or running while answers are collected
- `prompts` (integer): Number of prompts in the request
- `snapshot_id` (string): Handle to poll (202 responses)
- `results_url` (string): Where to poll (202 responses)
- `poll_after_seconds` (integer): How often to poll (202 responses)
- `answers[]` (object): One entry per delivered answer
- `answers[].prompt` (string): The prompt that was sent
- `answers[].answer_text` (string): The full answer text
- `answers[].web_search_triggered` (boolean): Whether the engine did a live web search; null when not stated
- `answers[].citations[]` (object): Sources cited in the answer: position, title, url, domain
- `answers[].sources[]` (object): Sources the engine consulted, same shape as citations
- `answers[].brand_tracking[]` (object): Per-brand result, only when brand is sent
- `errors[]` (object): Per-prompt failures, not billed
- `billed_records` (integer): Number of answers billed
- `credits_charged` (integer): Credits charged for the request

```bash
curl 'https://app.zenserp.com/api/v1/answer-engine?engine=chatgpt&prompt=Top%20hotels%20in%20New%20York' \
  -H 'apikey: YOUR_API_KEY'
```

Example response (200):

```json
{
  "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
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
