{
  "openapi": "3.0.1",
  "info": {
    "title": "Gartner Peer Insights Scraper",
    "description": "Scrape public Gartner Peer Insights product profiles, ratings, market listings and review samples. An optional session cookie adds paginated reviews; works with Apify MCP and the API.",
    "version": "0.2",
    "x-build-id": "2gPSc4q00tW6Ofrva"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/khadinakbar~gartner-peer-insights-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-khadinakbar-gartner-peer-insights-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/khadinakbar~gartner-peer-insights-scraper/runs": {
      "post": {
        "operationId": "runs-sync-khadinakbar-gartner-peer-insights-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/khadinakbar~gartner-peer-insights-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-khadinakbar-gartner-peer-insights-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": {
          "productUrls": {
            "title": "Product / reviews URLs",
            "type": "array",
            "description": "Gartner Peer Insights product page links. Short form https://www.gartner.com/reviews/product/{slug} or long market/vendor/product links both work. Use productSlugs or searchTerms if you only know the name.",
            "items": {
              "type": "string"
            }
          },
          "marketUrls": {
            "title": "Market category URLs",
            "type": "array",
            "description": "Gartner market links such as https://www.gartner.com/reviews/market/meeting-solutions. Returns the product cards Gartner shows to visitors (rating, review count, vendor), most-reviewed first. For reviews of one product use productUrls.",
            "items": {
              "type": "string"
            }
          },
          "marketKeywords": {
            "title": "Market keywords",
            "type": "array",
            "description": "Words such as endpoint protection or CRM. Each word is looked up with Gartner's own site search and the best matching markets are scanned (see Markets per keyword). Gives one market summary row plus the top product cards for each market.",
            "items": {
              "type": "string"
            }
          },
          "maxMarketsPerKeyword": {
            "title": "Markets per keyword",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "How many matching markets to scan per keyword. Default 2, range 1-5.",
            "default": 2
          },
          "minRating": {
            "title": "Market filter: minimum rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Keep market cards rated at least this (0-5). Applies to market and keyword results only. Leave empty for no filter."
          },
          "minReviewCount": {
            "title": "Market filter: minimum reviews",
            "minimum": 0,
            "type": "integer",
            "description": "Keep market cards with at least this many reviews. Market and keyword results only."
          },
          "vendorContains": {
            "title": "Market filter: vendor contains",
            "type": "array",
            "description": "Keep cards whose vendor name contains any of these words (for example Microsoft). Market and keyword results only.",
            "items": {
              "type": "string"
            }
          },
          "textContains": {
            "title": "Market filter: text contains",
            "type": "array",
            "description": "Keep cards whose name, description or review headline contains any of these words. Market and keyword results only.",
            "items": {
              "type": "string"
            }
          },
          "includeBrief": {
            "title": "Include buyer-fit brief on product rows",
            "type": "boolean",
            "description": "Adds a short rules-based brief (who reviews it, strengths, watch-outs, rival comparison) built only from the numbers Gartner shows. No AI text. On by default.",
            "default": true
          },
          "includeMarketBrief": {
            "title": "Include market summary row",
            "type": "boolean",
            "description": "Adds one summary row per market (size, leaders, best rated, concentration) at no extra charge. On by default.",
            "default": true
          },
          "productSlugs": {
            "title": "Product SEO slugs",
            "type": "array",
            "description": "Product slugs without a full link (for example zoom-meetings, salesforce-sales-cloud). Turned into /reviews/product/{slug}.",
            "items": {
              "type": "string"
            }
          },
          "searchTerms": {
            "title": "Product names to search",
            "type": "array",
            "description": "Product names (for example Microsoft Sentinel). Each name is looked up with Gartner's own site search and the best match is used; the row shows which match was chosen. Exact product links are safer when you have them.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Start URLs (legacy)",
            "type": "array",
            "description": "Optional list of links. Same handling as productUrls and marketUrls.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxReviewsPerProduct": {
            "title": "Max reviews per product",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Review rows saved per product. Gartner shows visitors about 2 reviews per product (one favourable, one critical), so more than 5 is never available. Range 1-5.",
            "default": 2
          },
          "maxProducts": {
            "title": "Max products per market",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Most product cards saved from each market link. Gartner shows visitors up to 20 cards per market. Default 20, range 1-200.",
            "default": 20
          },
          "includeProductSummary": {
            "title": "Include product summary row",
            "type": "boolean",
            "description": "Save one product profile row per product (ratings, vendor, reviewer mix, alternatives, summary). On by default.",
            "default": true
          },
          "includeReviewHighlights": {
            "title": "Include likes and dislikes text",
            "type": "boolean",
            "description": "Keep the likes and dislikes text on each review row. On by default.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Backup proxy configuration",
            "type": "object",
            "description": "Backup route used only when the main page route fails. The default works for most runs; you rarely need to change it."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}