Search Index API (ALPHA)

The Search Index API is SerpApi's own web search engine, currently in alpha and available for exploration. The API is accessed through the following endpoint: /search?engine=search_index.

A user may query the following: https://serpapi.com/search?engine=search_index&q=Coffee utilizing a GET request. Head to the playground for a live and interactive demo.

Alpha Notice

Search Index API is in alpha. The index, ranking, and response format may change as development continues. It is available for exploration and feedback.

API Parameters

Search Query

q

Required

Parameter defines the query you want to search.

Serpapi Parameters

engine

Required

Set parameter to search_index to use the SearchIndex API engine.

no_cache

Optional

Parameter will force SerpApi to fetch the SearchIndex 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.

json_restrictor

Optional

Parameter defines the fields you want to restrict in the outputs for smaller, faster responses. See JSON Restrictor for more details.

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 return HTML; it returns plain text only. The search_metadata.prettify_html_file field contains a prettified version of the result, which 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.12
  },
  "search_parameters": {
    "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..."
    },
    {
      "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..."
    },
    ...
  ]
}