{
  "openapi": "3.0.1",
  "info": {
    "title": "Flipkart Seller Scraper",
    "description": "Read public Flipkart product seller comparisons: actual seller names, prices, separate product and seller ratings, conditional delivery, policies and published offer terms. Accept product URLs or direct all-sellers URLs with one global result cap.",
    "version": "1.0",
    "x-build-id": "xCqKtIgEBbHyGrcr6"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/gitlab~flipkart-seller-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-gitlab-flipkart-seller-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/gitlab~flipkart-seller-scraper/runs": {
      "post": {
        "operationId": "runs-sync-gitlab-flipkart-seller-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/gitlab~flipkart-seller-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-gitlab-flipkart-seller-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": [
              "productUrl",
              "sellersPageUrl"
            ],
            "type": "string",
            "description": "Product mode follows only the actual matching public all-sellers link; direct mode reads an actual sellers URL. Inactive mode URL prefills are ignored.",
            "default": "productUrl"
          },
          "productUrls": {
            "title": "Product Page URLs",
            "type": "array",
            "description": "Real public product pages. Ten current source-discovered URLs are prefilled to allow up to ten genuine seller rows across products; the global maxItems cap still applies. No cached product data is output.",
            "items": {
              "type": "string"
            },
            "default": [
              "https://www.flipkart.com/triggr-arcus-one-60h-battery-4-mic-enc-dual-pairing-rubber-grip-13mm-drivers-v6-0-bluetooth/p/itmc75b69ddbd3df?pid=ACCHKBKZXE5FSZVH&lid=LSTACCHKBKZXE5FSZVHJAEZSJ",
              "https://www.flipkart.com/aroma-nb119b-badshah-40-hours-playtime-neckband-bluetooth/p/itm45cdcb3a95f2f?pid=ACCG2TC8SURNPZAA&lid=LSTACCG2TC8SURNPZAAEIAOTI",
              "https://www.flipkart.com/footloose-p47-wireless-bluetooth-headphones-mic-fm-sd-card-hands-foldable-design-gaming/p/itm167c9b8d474b1?pid=ACCHQCHHNUJYSGU4&lid=LSTACCHQCHHNUJYSGU4NL8UQN",
              "https://www.flipkart.com/worricow-wireless-bluetooth-headphone-over-ear-headset-microphone-stereo-3-5mm-audio/p/itmf22d6268b54bf?pid=ACCGM2BFXNKTD3FG&lid=LSTACCGM2BFXNKTD3FGPITV3Y",
              "https://www.flipkart.com/vaslas-p47-foldable-bluetooth-headphone/p/itm7c737af6de449?pid=ACCHPQFRD6HU88ZG&lid=LSTACCHPQFRD6HU88ZG5J8BN7",
              "https://www.flipkart.com/noise-buds-vs102-elite-50hr-playtime-enc-quad-mic-chrome-finish-flybird-design-bluetooth/p/itmd21bac81f0954?pid=ACCHFCF2G2NAQU8V&lid=LSTACCHFCF2G2NAQU8VMO1SCO",
              "https://www.flipkart.com/shreevistaar-headphones-soft-protein-leather-ear-pads-bluetooth/p/itmeebda10432c9f?pid=ACCHR59M8QY6SDRT&lid=LSTACCHR59M8QY6SDRTEQIVEA",
              "https://www.flipkart.com/footloose-branded-new-wireless-headphones-hd-bass-sound-foldable-design-built-in-mic-bluetooth-gaming/p/itm3c125fc7f2bd0?pid=ACCHZMBT9WYEK5RS&lid=LSTACCHZMBT9WYEK5RSJXIFHN",
              "https://www.flipkart.com/boat-rockerz-411-40h-battery-40ms-latency-stream-ad-free-music-via-app-bt-v5-4-bluetooth/p/itmf824790d6dde3?pid=ACCHCJW33SSHZY9H&lid=LSTACCHCJW33SSHZY9HXPKHWI",
              "https://www.flipkart.com/worricow-best-buy-bluetooth-headphones-mic-volume-control-stereo-fm-sd-card-support/p/itm26b5bdd5af80d?pid=ACCHP9HC2WC86RCF&lid=LSTACCHP9HC2WC86RCFQ6X67T"
            ]
          },
          "maxItems": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Global unique seller-offer result cap across every input product/page, default 10.",
            "default": 10
          },
          "sellersPageUrls": {
            "title": "Sellers Page URLs",
            "type": "array",
            "description": "Actual public /sellers?pid=... URLs, with the complete source 16-character product FSN. Used only in sellersPageUrl mode.",
            "items": {
              "type": "string"
            }
          },
          "maxConcurrency": {
            "title": "Max Concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Compatibility concurrency ceiling. This source controller currently uses one page sequentially so caps and verification stops apply globally.",
            "default": 1
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Direct by default; configured Apify or custom proxies are honored locally and on the platform. Actual verification or login stops extraction.",
            "default": {
              "useApifyProxy": false,
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}