{
  "openapi": "3.0.1",
  "info": {
    "title": "TrustRadius Scraper: Reviews, Products & Comparisons",
    "description": "B2B software intelligence from TrustRadius: every verified review of a product (with the full questionnaire on request), product profiles with feature ratings and pricing, ranked category lists, alternatives by company size and head-to-head comparisons. No login.",
    "version": "0.0",
    "x-build-id": "JYlbgzOLXb82eejfw"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fanndev~trustradius-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fanndev-trustradius-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/fanndev~trustradius-scraper/runs": {
      "post": {
        "operationId": "runs-sync-fanndev-trustradius-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/fanndev~trustradius-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-fanndev-trustradius-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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "What to scrape",
            "enum": [
              "reviews",
              "products",
              "categoryProducts",
              "alternatives",
              "compare",
              "categories"
            ],
            "type": "string",
            "description": "Reviews: every review of the products below. Product details: rating, feature ratings, pricing, awards, competitors, install base. Category products: the ranked product list of the categories below. Alternatives: competitors and alternatives by company size. Compare: head-to-head comparison pages. Category tree: every category with its slug.",
            "default": "reviews"
          },
          "products": {
            "title": "Products",
            "type": "array",
            "description": "For Reviews, Product details and Alternatives. A product slug (hubspot-crm) or any TrustRadius product URL (https://www.trustradius.com/products/hubspot-crm/reviews).",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "For Category products. A category slug (crm) or a category URL (https://www.trustradius.com/categories/crm). Run the Category tree mode to see every slug.",
            "items": {
              "type": "string"
            }
          },
          "comparisons": {
            "title": "Comparisons",
            "type": "array",
            "description": "For Compare products. Two product slugs as 'hubspot-crm-vs-pipedrive' or 'hubspot-crm, pipedrive', or a /compare-products/ URL.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max results per input",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Reviews per product, or products per category. Other modes return everything on the page.",
            "default": 100
          },
          "reviewsNewerThan": {
            "title": "Only reviews published on or after",
            "type": "string",
            "description": "Reviews: stop at the first review older than this date (YYYY-MM-DD). Reviews are listed newest first, so this makes daily or weekly monitoring cheap."
          },
          "includeReviewDetails": {
            "title": "Include the full review questionnaire",
            "type": "boolean",
            "description": "Reviews: also open each review's own page for the answers the list does not show -- feature-by-feature ratings, usability score, return on investment, alternatives the reviewer evaluated, other software used, reviewer's country and roles. One extra page per review.",
            "default": false
          },
          "includePricing": {
            "title": "Include the pricing page",
            "type": "boolean",
            "description": "Product details: also read the product's pricing page for reviewer price quotes, support channels, deployment types and priced alternatives. One extra page per product.",
            "default": true
          },
          "companySize": {
            "title": "Company size",
            "enum": [
              "any",
              "small-business",
              "mid-sized",
              "enterprise"
            ],
            "type": "string",
            "description": "Category products: rank the list for this company size.",
            "default": "any"
          },
          "topRatedOnly": {
            "title": "Top Rated award winners only",
            "type": "boolean",
            "description": "Category products: only products holding a current TrustRadius Top Rated award.",
            "default": false
          },
          "hasPricingOnly": {
            "title": "Only products with published pricing",
            "type": "boolean",
            "description": "Category products: only products that publish pricing on TrustRadius.",
            "default": false
          },
          "freeOptionOnly": {
            "title": "Only products with a free option",
            "type": "boolean",
            "description": "Category products: only products with a free plan or free option.",
            "default": false
          },
          "operatingSystem": {
            "title": "Operating system",
            "enum": [
              "any",
              "windows",
              "mac",
              "linux"
            ],
            "type": "string",
            "description": "Category products: only products that run on this operating system.",
            "default": "any"
          },
          "deepPagination": {
            "title": "Go past the first 1,000 products",
            "type": "boolean",
            "description": "TrustRadius stops paging a category at 1,000 products. When no filter is set, this re-walks the category in its other orderings and slices and merges them without duplicates to reach further.",
            "default": false
          },
          "filterCategoryTree": {
            "title": "Category tree: only matching categories",
            "type": "boolean",
            "description": "Category tree: return only categories whose slug or name matches the Categories list above.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Parallel requests",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many pages are fetched at the same time. Higher is faster; lower is gentler and gets fewer refused pages (those are retried automatically).",
            "default": 3
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Residential proxies are recommended for reliable results. A page that is refused is retried automatically from a new IP.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}