{
  "openapi": "3.0.1",
  "info": {
    "title": "IndiaMART Scraper - B2B Suppliers, Phones, GST & Prices",
    "description": "Scrape IndiaMART without login: B2B products and suppliers by product, city and business type, with company, published business phone, GST verified, rating, price, specs and MOQ. Up to thousands of suppliers per product. US$ 1.40 per 1,000.",
    "version": "0.1",
    "x-build-id": "838Gt4jg8BdIb6Wzu"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapewise~indiamart-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapewise-indiamart-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/scrapewise~indiamart-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapewise-indiamart-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/scrapewise~indiamart-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapewise-indiamart-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": {
          "searchTerms": {
            "title": "Products to search",
            "type": "array",
            "description": "Product names, one per line, as a buyer would type them, for example led bulb, cotton fabric, office chair or ss pipes. Each term is matched to its IndiaMART product category and returns up to 'Max results per search' product listings with their suppliers (company, city, phone when published, GST and TrustSEAL flags, rating, price). Each listing is charged once as 'Product delivered'.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "IndiaMART list links",
            "type": "array",
            "description": "IndiaMART product list links, one per line, for example https://dir.indiamart.com/impcat/led-bulb.html, a city list such as https://dir.indiamart.com/mumbai/led-bulb.html, or the mobile https://m.indiamart.com/city/mumbai/led-bulb.html. A ?biz=10 (manufacturers), 20 (exporters), 30 (wholesalers) or 40 (retailers) in the link is kept.",
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "Only suppliers based in these cities, one per line, for example Mumbai, New Delhi, Ahmedabad or Ludhiana. Empty = all of India: the Actor reads the national list and then 113 commercial cities to reach more suppliers.",
            "items": {
              "type": "string"
            }
          },
          "businessTypes": {
            "title": "Business types",
            "uniqueItems": true,
            "type": "array",
            "description": "IndiaMART's own business-type filter: Manufacturers, Wholesalers or distributors, Retailers, Exporters. Pick one or more. Empty = all types.",
            "items": {
              "type": "string",
              "enum": [
                "manufacturer",
                "wholesaler",
                "retailer",
                "exporter"
              ],
              "enumTitles": [
                "Manufacturers",
                "Wholesalers / distributors",
                "Retailers",
                "Exporters"
              ]
            }
          },
          "maxResultsPerSearch": {
            "title": "Max results per search",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "How many product listings to take from each product term or link, from 1 to 20,000. Empty = 100. IndiaMART shows 28 listings per public list page; the Actor combines the city and business-type lists to go further (thousands of suppliers for common products). You pay per listing delivered."
          },
          "maxItems": {
            "title": "Max listings in total",
            "minimum": 0,
            "type": "integer",
            "description": "Hard cap on charged listings for the whole run, across all terms and links, for example 500. Empty or 0 = no cap besides 'Max results per search'."
          },
          "onePerCompany": {
            "title": "One listing per company",
            "type": "boolean",
            "description": "Off (default). On: keep only the first product of each supplier, so every row is a different company, a clean lead list. Skipped listings are not charged."
          },
          "gstVerifiedOnly": {
            "title": "GST verified suppliers only",
            "type": "boolean",
            "description": "Off (default). On: keep only suppliers whose GST registration IndiaMART marks as verified. Skipped listings are not charged."
          },
          "trustSealOnly": {
            "title": "TrustSEAL / verified suppliers only",
            "type": "boolean",
            "description": "Off (default). On: keep only suppliers with an IndiaMART TrustSEAL or Verified badge. Skipped listings are not charged."
          },
          "withPhoneOnly": {
            "title": "Only listings with a phone number",
            "type": "boolean",
            "description": "Off (default). On: keep only suppliers that publish a business phone on the listing. Skipped listings are not charged."
          },
          "minRating": {
            "title": "Min supplier rating",
            "type": "string",
            "description": "Keep only suppliers rated at least this on IndiaMART, a number from 0 to 5, for example 4 or 4.2. Unrated suppliers are left out when set. Empty = any."
          },
          "excludeKeywords": {
            "title": "Exclude products whose name contains",
            "type": "array",
            "description": "Words to leave out, one per line, for example used or repair. Listings with any of them in the product name are skipped and not charged. Empty = keep all products.",
            "items": {
              "type": "string"
            }
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify datacenter proxy is the default and works for IndiaMART. Every page is fetched from a fresh IP; refused requests are retried on another IP, then on an Indian residential IP, with no extra charge. Change it only to use your own proxies.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}