Docs / API reference

POST/v1/data/flipkart/autocomplete

Flipkart Autocomplete

Return Flipkart search suggestions for partial text.

Execution model

Live request

Runtime depends on endpoint, target, pagination, rendering mode, and active plan limits.

Credit weight

Live catalog

Current weights are managed from the Data API Weights admin table and shown on pricing before use.

Flipkart Autocomplete Endpoint

Return Flipkart search suggestions for partial text.

Getting Started

Send your API key as a bearer token. Start with the smallest request below.

Run Flipkart Autocomplete

Send the smallest useful request and read the structured response.

curl -X POST "https://api.datablue.dev/v1/data/flipkart/autocomplete" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "prefix": "iph"
}'
Example response
{
  "success": true,
  "source": "flipkart",
  "prefix": "iph",
  "captured_at": "2026-11-15T08:58:55.557790Z",
  "time_taken": 0.09,
  "count": 10,
  "suggestions": [
    {
      "position": 1,
      "keyword": "iphone 17",
      "type": "query_in_category",
      "category": "Mobiles",
      "image_url": "https://rukminim1.flixcart.com/image/416/416/xif0q/mobile/0/a/f/-original-imahqvadmn9uydqz.jpeg?q=70"
    },
    {
      "position": 2,
      "keyword": "iphone 15",
      "type": "query_in_category",
      "category": "Mobiles",
      "image_url": "https://rukminim1.flixcart.com/image/416/416/xif0q/mobile/z/h/l/-original-imahqvadwhgxgx2n.jpeg?q=70"
    }
  ],
  "credits_used": 1
}

Options

Results and Pagination

Control how many records or pages are returned.

curl -X POST "https://api.datablue.dev/v1/data/flipkart/autocomplete" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "prefix": "iph",
  "limit": 10
}'
Example response
{
  "success": true,
  "source": "flipkart",
  "prefix": "iph",
  "captured_at": "2026-11-15T08:58:55.557790Z",
  "time_taken": 0.09,
  "count": 10,
  "suggestions": [
    {
      "position": 1,
      "keyword": "iphone 17",
      "type": "query_in_category",
      "category": "Mobiles",
      "image_url": "https://rukminim1.flixcart.com/image/416/416/xif0q/mobile/0/a/f/-original-imahqvadmn9uydqz.jpeg?q=70"
    }
  ],
  "credits_used": 1
}

Request Controls

Set device, timeout, and request-specific controls.

curl -X POST "https://api.datablue.dev/v1/data/flipkart/autocomplete" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "prefix": "iph",
  "timeout_ms": 15000
}'
Example response
{
  "success": true,
  "source": "flipkart",
  "prefix": "iph",
  "captured_at": "2026-11-15T08:58:55.557790Z",
  "time_taken": 0.09,
  "count": 10,
  "suggestions": [
    {
      "position": 1,
      "keyword": "iphone 17",
      "type": "query_in_category",
      "category": "Mobiles",
      "image_url": "https://rukminim1.flixcart.com/image/416/416/xif0q/mobile/0/a/f/-original-imahqvadmn9uydqz.jpeg?q=70"
    }
  ],
  "credits_used": 1
}

Additional Options

Set endpoint-specific options for this request.

curl -X POST "https://api.datablue.dev/v1/data/flipkart/autocomplete" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "prefix": "example"
}'
Example response
{
  "success": true,
  "source": "flipkart",
  "prefix": "iph",
  "captured_at": "2026-11-15T08:58:55.557790Z",
  "time_taken": 0.09,
  "count": 10,
  "suggestions": [
    {
      "position": 1,
      "keyword": "iphone 17",
      "type": "query_in_category",
      "category": "Mobiles",
      "image_url": "https://rukminim1.flixcart.com/image/416/416/xif0q/mobile/0/a/f/-original-imahqvadmn9uydqz.jpeg?q=70"
    }
  ],
  "credits_used": 1
}

Response

Read success first, then consume the endpoint-specific records and pagination fields shown below.

Error Handling

Handle 401 for authentication, 422 for invalid input, 429 for limits, and retry only transient failures.

Parameters

NameTypeRequirementDescription
prefixstringRequiredPartial search text (1-100 characters).
limitnumberOptionalMaximum suggestions to return (1-20).
timeout_msnumberOptionalProvider deadline in milliseconds (3000-60000).

Response fields

FieldTypeDescription
successbooleanWhether suggestions were returned.
suggestionsarrayRows with position, keyword, type, category when shown, and image_url.
countnumberSuggestions returned.
credits_usednumberCredits charged for this request.
time_takennumberAPI response time in seconds.

Request and response

curl -X POST "https://api.datablue.dev/v1/data/flipkart/autocomplete" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "prefix": "iph"
}'
Example response
{
  "success": true,
  "source": "flipkart",
  "prefix": "iph",
  "captured_at": "2026-11-15T08:58:55.557790Z",
  "time_taken": 0.09,
  "count": 10,
  "suggestions": [
    {
      "position": 1,
      "keyword": "iphone 17",
      "type": "query_in_category",
      "category": "Mobiles",
      "image_url": "https://rukminim1.flixcart.com/image/416/416/xif0q/mobile/0/a/f/-original-imahqvadmn9uydqz.jpeg?q=70"
    },
    {
      "position": 2,
      "keyword": "iphone 15",
      "type": "query_in_category",
      "category": "Mobiles",
      "image_url": "https://rukminim1.flixcart.com/image/416/416/xif0q/mobile/z/h/l/-original-imahqvadwhgxgx2n.jpeg?q=70"
    }
  ],
  "credits_used": 1
}