{
  "openapi": "3.0.1",
  "info": {
    "title": "Abt Electronics Scraper",
    "description": "Scrape Abt.com - a major US electronics & appliance retailer. Search by keyword, browse computers/TVs/audio/gaming/camera categories, or fetch specific products by URL or SKU. Get price, brand, SKU/model/MPN, availability, images, description and dimensions.",
    "version": "1.0",
    "x-build-id": "KEV3eYBAeAxAFk0pW"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~abt-electronics-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-abt-electronics-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/crawlerbros~abt-electronics-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-abt-electronics-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/crawlerbros~abt-electronics-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-abt-electronics-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": "Mode",
            "enum": [
              "search",
              "byCategory",
              "byUrl"
            ],
            "type": "string",
            "description": "What to fetch.",
            "default": "search"
          },
          "searchQuery": {
            "title": "Search query (mode=search)",
            "type": "string",
            "description": "Free-text keyword search, e.g. `bluetooth speaker`, `samsung tv 55`, `wireless mouse`. Avoid single generic department words (e.g. `laptop`, `tv`) — Abt redirects a single strong category match straight to that department's browse page instead of a search-results list.",
            "default": "bluetooth speaker"
          },
          "categoryId": {
            "title": "Category (mode=byCategory)",
            "enum": [
              "2965",
              "2804",
              "332",
              "360",
              "70",
              "43",
              "6",
              "358",
              "45",
              "8",
              "941",
              "357",
              "107",
              "652",
              "106",
              "93",
              "430",
              "442",
              "2053",
              "2545",
              "444",
              "831",
              "20",
              "974",
              "2359",
              "2483",
              "843",
              "402",
              "46",
              "2480",
              "945",
              "2518",
              "2873",
              "2088",
              "28",
              "660",
              "2376",
              "659",
              "2620",
              "415",
              "3",
              "2930",
              "2104",
              "2096",
              "2101",
              "2134",
              "319",
              "1156",
              "643",
              "2396",
              "2398",
              "836",
              "2484",
              "2307",
              "2485",
              "375",
              "647",
              "517",
              "1141",
              "389",
              "92",
              "2636",
              "371",
              "307",
              "316",
              "404",
              "2361",
              "72",
              "713",
              "2016",
              "2513",
              "25",
              "2366",
              "2534",
              "2532",
              "2536",
              "970",
              "2533",
              "2512",
              "2351",
              "2352",
              "773",
              "2932",
              "2543",
              "2576",
              "2229",
              "2393",
              "2619"
            ],
            "type": "string",
            "description": "Browse a curated Abt electronics/computers/gaming/audio/camera/networking category.",
            "default": "415"
          },
          "productUrls": {
            "title": "Product URLs or SKU/ID (mode=byUrl)",
            "type": "array",
            "description": "Full Abt.com product URLs (e.g. `https://www.abt.com/.../p/156637.html`) or bare Abt SKU/product IDs (e.g. `156637`).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Minimum price (USD)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Drop products priced below this amount."
          },
          "maxPrice": {
            "title": "Maximum price (USD)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Drop products priced above this amount."
          },
          "brand": {
            "title": "Brand contains",
            "type": "string",
            "description": "Keep only products whose brand name contains this text (case-insensitive), e.g. `LG`, `Samsung`, `Sony`."
          },
          "inStockOnly": {
            "title": "In stock only",
            "type": "boolean",
            "description": "Keep only products Abt currently lists as in stock.",
            "default": false
          },
          "fetchFullDetails": {
            "title": "Fetch full product details (mode=search/byCategory)",
            "type": "boolean",
            "description": "When enabled, each search/category result is also fetched from its product-detail page for the full field set (sku, model, mpn, gtin, availability, condition, description, images, dimensions, weight, originalPrice/savings/discountPercent, categoryPath). Off by default because Abt serves a Cloudflare challenge on every product-detail page that only a Playwright navigation can clear (~10-17s per product); with this off, search/byCategory records carry the faster listing-page field set (title, price, brand, model, quickFeatures, thumbnailUrl, availabilityText). mode=byUrl always fetches full details regardless of this setting.",
            "default": false
          },
          "sortBy": {
            "title": "Sort results by",
            "enum": [
              "relevance",
              "priceAsc",
              "priceDesc",
              "nameAsc",
              "nameDesc"
            ],
            "type": "string",
            "description": "Client-side sort applied to the collected results (Abt's own sort parameter does not affect its server-rendered listing pages).",
            "default": "relevance"
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Hard cap on emitted product records.",
            "default": 20
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}