{
  "openapi": "3.0.1",
  "info": {
    "title": "IndiaMART Suppliers Scraper",
    "description": "IndiaMART Suppliers Scraper extracts Indian B2B suppliers and products: price, MOQ, specs, images, company, GST, CIN, IEC, year established, employees, turnover, legal status, ratings, export countries and first reviews. Filters by city, business type and price. No login.",
    "version": "1.0",
    "x-build-id": "ahZ8qWvnm6jIpknsT"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/neuro-scraper~indiamart-suppliers-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-neuro-scraper-indiamart-suppliers-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/neuro-scraper~indiamart-suppliers-scraper/runs": {
      "post": {
        "operationId": "runs-sync-neuro-scraper-indiamart-suppliers-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/neuro-scraper~indiamart-suppliers-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-neuro-scraper-indiamart-suppliers-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "supplierProfile",
              "reviews"
            ],
            "type": "string",
            "description": "search = one row per product found; supplierProfile = one row per supplier URL; reviews = one row per review of each supplier found (up to 20 per supplier).",
            "default": "search"
          },
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "Products or services to find on IndiaMART, one per line, e.g. led bulb, plywood, cotton fabric.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "IndiaMART URLs",
            "type": "array",
            "description": "Optional: product links (https://www.indiamart.com/proddetail/...html), supplier links (https://www.indiamart.com/<company>/) or search links (https://dir.indiamart.com/search.mp?ss=led+bulb).",
            "items": {
              "type": "string"
            }
          },
          "supplierUrls": {
            "title": "Supplier profile URLs",
            "type": "array",
            "description": "Optional: supplier catalogue links, e.g. https://www.indiamart.com/kaushalenterprises/ - one row per supplier with the full company factsheet.",
            "items": {
              "type": "string"
            }
          },
          "categorySlugs": {
            "title": "Category slugs",
            "type": "array",
            "description": "Optional: IndiaMART category slugs such as cotton-fabric or led-bulb; each is searched like a query.",
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "Optional: only suppliers in these cities, e.g. Delhi, Mumbai, Surat. Each city is a separate list.",
            "items": {
              "type": "string"
            }
          },
          "businessTypes": {
            "title": "Business types",
            "type": "array",
            "description": "Optional: only these supplier types (manufacturer, exporter, wholesaler, retailer).",
            "items": {
              "type": "string",
              "enum": [
                "manufacturer",
                "exporter",
                "wholesaler",
                "retailer"
              ]
            }
          },
          "minPrice": {
            "title": "Minimum price (INR)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional: only products priced at least this many rupees."
          },
          "maxPrice": {
            "title": "Maximum price (INR)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional: only products priced at most this many rupees."
          },
          "minRating": {
            "title": "Minimum supplier rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Optional: keep suppliers rated at least this (0-5). 0 = off.",
            "default": 0
          },
          "onlyGstVerified": {
            "title": "Only GST-verified suppliers",
            "type": "boolean",
            "description": "Keep only suppliers whose GST number is verified.",
            "default": false
          },
          "verifiedExporterOnly": {
            "title": "Exporters only",
            "type": "boolean",
            "description": "Only suppliers listed as exporters.",
            "default": false
          },
          "exportCountry": {
            "title": "Exports to country",
            "type": "string",
            "description": "Optional: keep suppliers whose top export countries include this country, e.g. United States."
          },
          "maxItemsPerQuery": {
            "title": "Max products per query",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Products (rows) per search query or search link.",
            "default": 20
          },
          "maxTotalItems": {
            "title": "Max rows in total",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Optional: stop the whole run after this many rows. 0 = no total limit.",
            "default": 0
          },
          "splitByCity": {
            "title": "Go deeper city by city",
            "type": "boolean",
            "description": "When a query has more products than one list shows, continue the same query city by city.",
            "default": true
          },
          "includeMoreProducts": {
            "title": "Include more products per supplier",
            "type": "boolean",
            "description": "Also add the other matching products each supplier lists (off = one product per supplier).",
            "default": true
          },
          "includeProductDetails": {
            "title": "Full product record",
            "type": "boolean",
            "description": "Open every product for all images, video, brochure, full specs, category and supplier facts.",
            "default": true
          },
          "includeCompanyDetails": {
            "title": "Company factsheet and ratings",
            "type": "boolean",
            "description": "Add each supplier's factsheet (CEO, employees, turnover, CIN, IEC, banker, payment and shipment modes, premises) and rating breakdown.",
            "default": true
          },
          "maxReviewsPerSupplier": {
            "title": "Latest reviews per row",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "How many of the supplier's latest reviews to add in the latestReviews column (0-20).",
            "default": 3
          },
          "maxConcurrency": {
            "title": "Parallel requests",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "How many pages are fetched at the same time.",
            "default": 10
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Residential proxy in India is the default and recommended.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "IN"
            }
          },
          "category": {
            "title": "Category (alias)",
            "type": "string",
            "description": "A category slug, searched like a query."
          },
          "location": {
            "title": "Location (alias)",
            "type": "string",
            "description": "Same as cities."
          },
          "maxResultsPerQuery": {
            "title": "Max per query (alias)",
            "type": "integer",
            "description": "Same as maxItemsPerQuery."
          },
          "maxResults": {
            "title": "Max results (alias)",
            "type": "integer",
            "description": "Same as maxTotalItems."
          },
          "onlyExporters": {
            "title": "Exporters (alias)",
            "type": "boolean",
            "description": "Same as verifiedExporterOnly."
          },
          "minSupplierRating": {
            "title": "Min rating (alias)",
            "type": "string",
            "description": "Same as minRating."
          },
          "autoExpand": {
            "title": "Auto expand (alias)",
            "type": "boolean",
            "description": "Same as splitByCity."
          },
          "proxySettings": {
            "title": "Proxy (alias)",
            "type": "object",
            "description": "Same as proxyConfiguration."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}