> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scrapeunblocker.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Scrape IndiaMART B2B product search

> Searches IndiaMART for `query` and returns `products`, each with `position`, `productId`, `title`, `url` (the IndiaMART product page, or the supplier's catalogue page when `hasProductPage` is false - only products with a page can be fetched with `/marketplace/indiamart-product`), `price` (number, null when the supplier asks for a quote) and `priceText`, `currency`, `unit` (the price is per this unit), `minOrderQuantity`, `category` / `categoryId`, `specifications` (name / value), `description`, `image`, `brochureUrl`, `supplier` (`id`, `name`, `city`, `district`, `state`, `country`, `businessType`, `verifiedExporter`, `trustSeal`, `gstVerified`, `iecVerified`, `rating`, `ratingCount`, `memberSince`, `exporterSince`, `exportsTo`, `website`) and `moreFromSupplier` (the supplier's other matching products). IndiaMART shows visitors outside India its export catalogue, so results are IndiaMART's verified exporters, 10 a page and 2 pages (up to 20 products per search); `totalResults` is IndiaMART's own count of all matches. Supplier phone numbers, e-mails and contact names are not returned. `url` takes an IndiaMART search link instead of `query`.



## OpenAPI

````yaml /api-reference/openapi.json post /marketplace/indiamart-search
openapi: 3.1.0
info:
  title: ScrapeUnblocker API
  description: >-
    Public API for the ScrapeUnblocker proxy/anti-bot service. Authenticate
    every request with the `x-scrapeunblocker-key` header. Documented here:
    page-source extraction, Google SERP scraping, image fetch, and the dedicated
    plugin endpoints (search engines, marketplaces, reviews, travel, social and
    more). All other paths exist for internal operations and are intentionally
    hidden from this spec.
  version: 3.0.0
servers:
  - url: https://api.scrapeunblocker.com
    description: Production
security: []
paths:
  /marketplace/indiamart-search:
    post:
      tags:
        - Plugins
      summary: Scrape IndiaMART B2B product search
      description: >-
        Searches IndiaMART for `query` and returns `products`, each with
        `position`, `productId`, `title`, `url` (the IndiaMART product page, or
        the supplier's catalogue page when `hasProductPage` is false - only
        products with a page can be fetched with
        `/marketplace/indiamart-product`), `price` (number, null when the
        supplier asks for a quote) and `priceText`, `currency`, `unit` (the
        price is per this unit), `minOrderQuantity`, `category` / `categoryId`,
        `specifications` (name / value), `description`, `image`, `brochureUrl`,
        `supplier` (`id`, `name`, `city`, `district`, `state`, `country`,
        `businessType`, `verifiedExporter`, `trustSeal`, `gstVerified`,
        `iecVerified`, `rating`, `ratingCount`, `memberSince`, `exporterSince`,
        `exportsTo`, `website`) and `moreFromSupplier` (the supplier's other
        matching products). IndiaMART shows visitors outside India its export
        catalogue, so results are IndiaMART's verified exporters, 10 a page and
        2 pages (up to 20 products per search); `totalResults` is IndiaMART's
        own count of all matches. Supplier phone numbers, e-mails and contact
        names are not returned. `url` takes an IndiaMART search link instead of
        `query`.
      operationId: indiamart_search_marketplace_indiamart_search_post
      parameters:
        - name: query
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              What to search, e.g. 'steel pipe', 'cotton t shirt' or 'solar
              panel'.
            title: Query
          description: >-
            What to search, e.g. 'steel pipe', 'cotton t shirt' or 'solar
            panel'.
        - name: page
          in: query
          required: false
          schema:
            type: integer
            description: 1-based results page to start from (1-2); 10 products a page.
            default: 1
            title: Page
          description: 1-based results page to start from (1-2); 10 products a page.
        - name: max_results
          in: query
          required: false
          schema:
            type: integer
            description: >-
              Products to collect across pages (1-20); IndiaMART serves 10 per
              page and shows 2 pages. Each page read is billed as one request.
            default: 20
            title: Max Results
          description: >-
            Products to collect across pages (1-20); IndiaMART serves 10 per
            page and shows 2 pages. Each page read is billed as one request.
        - name: url
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Instead of `query`: an IndiaMART search link, e.g.
              https://dir.indiamart.com/search.mp?ss=steel+pipe (its keyword is
              used).
            title: Url
          description: >-
            Instead of `query`: an IndiaMART search link, e.g.
            https://dir.indiamart.com/search.mp?ss=steel+pipe (its keyword is
            used).
      responses:
        '200':
          description: JSON with a `products` array.
          content:
            application/json:
              schema: {}
        '400':
          description: Invalid parameters.
        '404':
          description: IndiaMART found no products for this search.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '502':
          description: >-
            Blocked by IndiaMART on every attempt, an unusable answer, or no
            answer in time.
      security:
        - ScrapeUnblockerKey: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ScrapeUnblockerKey:
      type: apiKey
      in: header
      name: x-scrapeunblocker-key
      description: Your ScrapeUnblocker API key. Apply on every request.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.