AJIO Products
DataBlue / Docs / Endpoint
POST/v1/data/ajio/products

AJIO Products

Search AJIO products by query or category refinements. Returns normalized product rows with SKU, brand, category, segment, price, list price, discount, rating, coupon, badges, and merchandising metadata.

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.

Parameters

NameTypeRequirementDescription
querystringoptionalProduct search query. Required unless queries, category, or subcategory is supplied.
queriesstring[]optionalOptional batch-style terms. The first term is used by this endpoint.
categorystringoptionalTop-level AJIO category/refinement.
subcategory / subcategorySlugstringoptionalDeeper category/search refinement.
min_price / minPricenumberoptionalMinimum price in INR.
max_price / maxPricenumberoptionalMaximum price in INR.
num_results / maxResultsnumberoptionalMaximum products to return (1-200).
pagenumberoptionalStarting page (1-20).
sort_by / sortBystringoptionalSort order: relevance, popularity, discount, price_low, price_high, newest, rating. Common price-asc/price-desc aliases are accepted.
timeout_msnumberoptionalProvider timeout in milliseconds (3000-60000).

Response Fields

FieldTypeDescription
successbooleanWhether the AJIO request completed successfully.
runtimestringRuntime path, usually http.
productsarrayProduct rows with product_id, SKU, title, brand, category, segment, URL, image, price, list price, discount, rating, coupon, badges, and metadata.
total_results / total_pagesnumberSource pagination metadata when available.
search_urlstringAJIO search URL used.
pages_fetchednumberNumber of pages fetched.
time_takennumberAPI response time in seconds.

cURL Example

curl -X POST "https://api.datablue.dev/v1/data/ajio/products" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "lipstick",
  "maxResults": 10,
  "sortBy": "discount"
}'

System Responses

200 OK

Request processed successfully.

401 UNAUTHORIZED

Missing or invalid API key.

429 RATE LIMIT

System capacity exceeded.

500 SYSTEM FAILURE

Internal core exception.

EXAMPLE RESPONSE
{
  "success": true,
  "source": "ajio",
  "runtime": "http",
  "query": "lipstick",
  "sort_by": "discount",
  "page": 1,
  "total_results": 120,
  "pages_fetched": 1,
  "time_taken": 1.36,
  "products": [
    {
      "position": 1,
      "product_id": "460000001",
      "sku": "SKU123",
      "title": "Matte Lipstick",
      "brand": "Example Beauty",
      "category": "Beauty",
      "url": "https://www.ajio.com/example/p/460000001",
      "price": 399,
      "list_price": 799,
      "currency": "INR",
      "discount": "50% off",
      "rating": 4.1,
      "rating_count": 340
    }
  ]
}