The Search Index API is SerpApi's own, LLM-first web index (2.8 billion pages indexed). No proxies and no external search API calls at query time. Results come back as structured JSON, not a webpage to scrape or parse. Good fit for AI grounding pipelines, reproducible benchmark datasets, and search automation. Currently in preview.

Try it in the playground


The API endpoint is https://serpapi.com/search?engine=search_index

API Parameters

Search Query

q

Required

Parameter defines the query you want to search.

Pagination

num

Optional

Parameter defines the number of results to return. (default: 10).

start

Optional

Parameter defines the result offset for pagination. (e.g., 0 (default) is the first page, 10 is the second page, etc.).

Filters

safe

Optional

Parameter defines the level of filtering for adult content. It can be set to active (default) or off.

mode

Optional

Parameter defines the search mode. Set to deep for expanded recall via parallel sub-query fan-out. Returns more diverse results by decomposing the query into multiple aspects.

Serpapi Parameters

engine

Required

Set parameter to search_index to use the Search Index API engine.

no_cache

Optional

Parameter will force SerpApi to fetch the Search Index results even if a cached version is already present. A cache is served only if the query and all parameters are exactly the same. Cache expires after 1h. Cached searches are free, and are not counted towards your searches per month. It can be set to false (default) to allow results from the cache, or true to disallow results from the cache. no_cache and async parameters should not be used together.

async

Optional

Parameter defines the way you want to submit your search to SerpApi. It can be set to false (default) to open an HTTP connection and keep it open until you got your search results, or true to just submit your search to SerpApi and retrieve them later. In this case, you'll need to use our Searches Archive API to retrieve your results. async and no_cache parameters should not be used together. async should not be used on accounts with Ludicrous Speed enabled.

zero_trace

Optional

Enterprise only. Parameter enables ZeroTrace mode. It can be set to false (default) or true. Enable this mode to skip storing search parameters, search files, and search metadata on our servers. This may make debugging more difficult.

api_key

Required

Parameter defines the SerpApi private key to use.

output

Optional

Parameter defines the final output you want. It can be set to json (default) to get a structured JSON of the results, or html to get the raw html retrieved.

API Results

JSON Results

JSON output includes structured data for organic search results.

A search status is accessible through search_metadata.status. It flows this way: Processing -> Success || Error. If a search has failed, error will contain an error message. search_metadata.id is the search ID inside SerpApi.

HTML Results

This API does not have a full HTML response, only text. search_metadata.prettify_html_file contains a link to the prettified version of the result. It is displayed in the playground.

API Examples

Example results for q: Coffee


JSON Example

{
  "search_metadata": {
    "id": "6990cc3e2c266e79ce72edad",
    "status": "Success",
    "json_endpoint": "https://serpapi.com/searches/wv9Oav0-FxWPrEzJo1j58w/6990cc3e2c266e79ce72edad.json",
    "created_at": "2026-02-14 19:25:50 UTC",
    "processed_at": "2026-02-14 19:25:50 UTC",
    "search_index_url": "https://serpapi.com/search?q=Coffee",
    "raw_html_file": "https://serpapi.com/searches/wv9Oav0-FxWPrEzJo1j58w/6990cc3e2c266e79ce72edad.html",
    "total_time_taken": 0.05
  },
  "search_parameters": {
    "engine": "search_index",
    "q": "Coffee"
  },
  "search_information": {
    "query_displayed": "Coffee",
    "total_results": 5081
  },
  "organic_results": [
    {
      "position": 1,
      "title": "11 Invigorating Coffee Recipes You Won't Believe You Ever Lived Without",
      "link": "https://www.seriouseats.com/coffee-drink-recipes-8691788",
      "displayed_link": "www.seriouseats.com",
      "snippet": "Brewing coffee is an essential part of almost everyone's daily routine. When it comes to getting started, it's important to know the basics...",
      "date": "Feb 14, 2026",
      "language": "en",
      "image_url": "https://www.seriouseats.com/thmb/coffee-recipes-hero.jpg",
      "sitelinks": [
        {
          "title": "Iced Coffee",
          "link": "https://www.seriouseats.com/iced-coffee-recipe"
        },
        {
          "title": "Cold Brew",
          "link": "https://www.seriouseats.com/cold-brew-coffee-recipe"
        }
      ]
    },
    {
      "position": 2,
      "title": "We Taste-Tested 9 Supermarket Coffee Ice Creams—Here Are Our Favorites",
      "link": "https://www.seriouseats.com/coffee-ice-cream-taste-test-8684209",
      "displayed_link": "www.seriouseats.com",
      "snippet": "It's not too late to turn back. You can make the decision right now to move your life forward, unburdened by what lies in front of you..."
    },
    {
      "position": 3,
      "title": "Brim's Elegant Coffee Maker Gives You a Barista-Style Brew",
      "link": "https://www.wired.com/review/brim-8-cup-pour-over-coffee-maker/",
      "displayed_link": "www.wired.com",
      "snippet": "So no gold this time, but maybe a bronze. It wasn't too much of a mess, and the coffee was stronger than I like it..."
    },
    ...
  ],
  "related_searches": [
    { "query": "best coffee beans" },
    { "query": "coffee brewing methods" },
    { "query": "coffee near me" }
  ],
  "serpapi_pagination": {
    "next": "https://serpapi.com/search?engine=search_index&q=Coffee&start=10"
  }
}