The Flipkart autocomplete API for search suggestions

Send a partial query and get Flipkart’s suggestions as JSON. Read each keyword with its type and image.

Flipkart Autocomplete API at a glance

This API returns Flipkart search suggestions for a partial query. Send a POST request with a prefix, then read each item in the suggestions array. Run the example below to see the exact shape.

Endpoint
POST /v1/data/flipkart/autocomplete
Authentication
API key as Authorization: Bearer wh_…
Stage
Stable
Output
A suggestions array with position, keyword, type, category and image_url
Input
A prefix of 1 to 100 characters
Suggestions per request
1 to 20 with limit. The default is 10.
Timeout
3000 to 60000 milliseconds with timeout_ms. The default is 15000.
Credit weight
1. See the pricing page for current rates.

One request, structured JSON.

This request types “wireless ear” into Flipkart search and asks for a limit of five suggestions. The response below shows three of the five returned. The suggestions arrive in the same response as the request. Copy the request to try it yourself.

POST /v1/data/flipkart/autocomplete
curl -X POST "https://api.datablue.dev/v1/data/flipkart/autocomplete" \
  -H "Authorization: Bearer wh_..." \
  -H "Content-Type: application/json" \
  -d '{
    "prefix": "wireless ear",
    "limit": 5
  }'
Response (trimmed to 3 of 5 suggestions)
{
  "success": true,
  "source": "flipkart",
  "prefix": "wireless ear",
  "captured_at": "2026-11-21T08:44:15.508373Z",
  "count": 5,
  "suggestions": [
    {
      "position": 1,
      "keyword": "wireless earbuds",
      "type": "query_in_category",
      "category": "True Wireless",
      "image_url": "https://rukminim1.flixcart.com/image/416/416/xif0q/headphone/7/n/o/-original-imahfsg7chmgrugu.jpeg?q=70"
    },
    {
      "position": 2,
      "keyword": "wireless earphones",
      "type": "query_in_category",
      "category": "Wireless Earphones",
      "image_url": "https://rukminim1.flixcart.com/image/416/416/xif0q/headphone/7/n/o/-original-imahfsg7chmgrugu.jpeg?q=70"
    },
    {
      "position": 3,
      "keyword": "wireless earphones neckband",
      "type": "query",
      "image_url": "https://rukminim1.flixcart.com/image/416/416/xif0q/headphone/o/j/o/kerz-110-boat-enriched-transparent-2-original-imahenp57dwyavju.png?q=70"
    }
  ]
}

What a Flipkart suggestion returns.

Each suggestion arrives as one small object.

Position and keyword

Every suggestion has a position and a keyword, and the keyword holds the completed search text. Sort on position to keep the order the response uses.

Type

The type field labels each suggestion, and our sample shows the query and query_in_category values. Filter on type to keep category suggestions only.

Category

A query_in_category suggestion also carries a category like True Wireless. A plain query suggestion had no category in our sample. Use the category to group suggestions by product line.

Image

Each suggestion in our sample had an image_url, so use it to show a picture beside the keyword.

Run summary

The response echoes your prefix and reports a count. It also adds a captured_at timestamp for each call. Keep captured_at with your data to date each run.

What it leaves out

This API returns no prices and no product IDs. Pass a keyword to Flipkart Products for priced listings.

Options that shape your suggestions.

A request needs only a prefix, so add limit or timeout_ms when you want tighter control.

Prefix

Set prefix to the partial search text. The API accepts 1 to 100 characters in prefix. Add one letter at a time to see completions change.

Suggestion count

Ask for 1 to 20 suggestions with limit, and the default is 10 when you send nothing.

Scope

This API has no domain or language input. Amazon Autocomplete takes both, so use it for those controls.

Timeout

Set timeout_ms from 3000 to 60000 for the provider deadline, with a default of 15000 milliseconds. Check timeout_ms first when a call times out.

What teams build with it.

Flipkart completes searches before a shopper finishes typing. Pick the prefixes that match your catalogue.

Search term seeding

Loop over letters after a seed such as wireless ear, then collect each keyword to build a term list.

Category mapping

Read the category on each query_in_category item. Map your own catalogue to those product lines.

Suggestion tracking

Run a fixed prefix list weekly and store the keywords. Compare runs to see which suggestions rise or fall.

Visual review

Use image_url to preview the picture shown with each suggestion. Check the images before you add a term.

Why call an API instead of scraping Flipkart yourself.

This API has one required input, the prefix. You send a prefix and read the suggestions back, with no store or language to set.

Each suggestion carries a type and an image_url, while query_in_category items also add a category. Your code reads those fields straight from the object.

Amazon Autocomplete adds a ref_tag to each suggestion, while this API adds an image and sometimes a category. Pass a keyword from here to Flipkart Products for prices.

Your first Flipkart suggestion call in a minute.

Sign up, grab a key and send one prefix.

  1. Open an account

    Register, then copy the key shown for your account.

  2. Send a prefix

    POST a prefix and a limit to /v1/data/flipkart/autocomplete, then add your Bearer key as the Authorization header.

  3. Read the suggestions

    Loop over the suggestions array in the response. Read keyword and type from each item.

Flipkart autocomplete API questions.

Short answers on suggestions and billing before you build.

It returns the search suggestions Flipkart shows for partial text, and each suggestion is one object.

Send a POST request to /v1/data/flipkart/autocomplete with a prefix. Add a Bearer token to the Authorization header.

Our sample showed two type values, query and query_in_category. Only query_in_category items carried a category in our sample.

Set limit to a value from 1 to 20. With no value, the API returns up to 10 suggestions. Read count to see the total returned.

No, it returns suggestion text with a type and image. Pass a keyword to Flipkart Products for prices.

No, it takes a prefix plus limit and timeout_ms only. Amazon Autocomplete takes domain and language inputs instead.

This API is marked stable in our catalogue today. Build against the documented fields, then check the changelog before each upgrade you ship to production.

This API has a credit weight of 1. Check the pricing page for current rates.

Fetch Flipkart suggestions in a minute.

Register and copy your API key first. Then send the example prefix from your terminal.

Start free