{
  "openapi": "3.0.1",
  "info": {
    "title": "IndiaMART Scraper & API - Indian Suppliers, Phones, GST, Prices",
    "description": "IndiaMART scraper and API: Indian B2B supplier leads by product keyword. One result = one product + supplier: company, phone, city, address, GSTIN, TrustSEAL, rating, years in business, employees, turnover, price, specs. No login, no start fee. $0.60 per 1,000, profile included.",
    "version": "1.0",
    "x-build-id": "3nucKlHshv5g24l4t"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rel8ble~indiamart-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rel8ble-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/rel8ble~indiamart-scraper/runs": {
      "post": {
        "operationId": "runs-sync-rel8ble-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/rel8ble~indiamart-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-rel8ble-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 / categories (keywords or IndiaMART URLs)",
            "type": "array",
            "description": "Provide at least one. Product keywords as IndiaMART names its categories, e.g. \"led lights\", \"yoga mat\", \"solar panel\" (plural / singular is tried automatically), or IndiaMART category URLs: https://dir.indiamart.com/impcat/led-lights.html or a city version such as https://dir.indiamart.com/delhi/led-lights.html. Default [\"led lights\"] (demo).",
            "default": [
              "led lights"
            ],
            "items": {
              "type": "string"
            }
          },
          "maxResultsPerSearch": {
            "title": "Max results per search",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Rows saved per keyword / URL, integer >= 0. Default 20 (about 40 s); 0 = everything reachable (all-India page plus up to 50 city pages, 28 listings each, about 1,000+ unique products). You pay per row, so start with 20.",
            "default": 20
          },
          "scrapeDetails": {
            "title": "Open each product page (years in business, address, GST, turnover, employees, MOQ)",
            "type": "boolean",
            "description": "Default true. Reads every product page to add year of establishment / years in business, state and address, GSTIN, employees, annual turnover, legal status, business types, certifications, full specifications, all images, MOQ when set, and quality / delivery / response ratings. Same price per row; turn off for a faster listing-only run.",
            "default": true
          },
          "includeCityPages": {
            "title": "Also read the city pages (more suppliers)",
            "type": "boolean",
            "description": "Default true. IndiaMART shows 28 products per category page without a login, so after the all-India page the actor reads the same category for up to 50 cities (Delhi, Mumbai, Bengaluru, ...) until Max results is reached.",
            "default": true
          },
          "cities": {
            "title": "Only these cities",
            "type": "array",
            "description": "Optional. City names, e.g. [\"Delhi\", \"Ahmedabad\", \"Coimbatore\"]. When set, only those city pages are saved (one page = up to 28 suppliers per city).",
            "items": {
              "type": "string"
            }
          },
          "uniqueSuppliers": {
            "title": "One row per supplier",
            "type": "boolean",
            "description": "Optional. true = keep only the first product of each supplier (a lead list). Default false = one row per product listing.",
            "default": false
          },
          "verifiedOnly": {
            "title": "TrustSEAL / verified suppliers only",
            "type": "boolean",
            "description": "Optional. Keep only TrustSEAL-verified suppliers (incl. Star / Leading Suppliers) and Verified Exporters. Default false.",
            "default": false
          },
          "gstVerifiedOnly": {
            "title": "GST-verified suppliers only",
            "type": "boolean",
            "description": "Optional. Keep only suppliers whose GST number IndiaMART verified. Default false.",
            "default": false
          },
          "minYearsInBusiness": {
            "title": "Minimum years in business",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Keep only companies established at least this many years ago (needs scrapeDetails). Default 0.",
            "default": 0
          },
          "minYearsOnIndiaMart": {
            "title": "Minimum years on IndiaMART",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Keep only suppliers who have been IndiaMART members at least this long. Default 0.",
            "default": 0
          },
          "minRating": {
            "title": "Minimum rating (0-5)",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Optional. Keep only suppliers rated at least this; unrated suppliers are skipped when set."
          },
          "minPrice": {
            "title": "Min price (INR)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Minimum unit price in rupees."
          },
          "maxPrice": {
            "title": "Max price (INR)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Maximum unit price in rupees."
          },
          "onlyWithPrice": {
            "title": "Only listings with a price",
            "type": "boolean",
            "description": "Optional. Skip listings without a price. Default false.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Optional, advanced. Parallel requests, 1-30. Default 10 (residential IPs answer slowly, so more run in parallel).",
            "default": 10
          },
          "maxRequestRetries": {
            "title": "Max retries per request",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Optional, advanced. Retries per failed or rate-limited request (each on a new IP), 0-20. Default 8.",
            "default": 8
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional, advanced. Leave as is. Default Apify RESIDENTIAL proxy in India: IndiaMART rate-limits datacenter IPs (HTTP 429).",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "IN"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}