{
  "openapi": "3.0.1",
  "info": {
    "title": "iFixit Scraper | Parts, Prices & Stock",
    "description": "iFixit scraper for repair parts, Fix Kits and tools. Search by device, keyword, part number or store link and get one row per variant and storefront: price, discount, stock, compatible model numbers, specs, warranty, ratings and repair guides. 54 rows in 4 seconds, 42 fields each, no account.",
    "version": "1.0",
    "x-build-id": "rDDbuonWKcj8DwM4y"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/silentflow~ifixit-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-silentflow-ifixit-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/silentflow~ifixit-scraper/runs": {
      "post": {
        "operationId": "runs-sync-silentflow-ifixit-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/silentflow~ifixit-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-silentflow-ifixit-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": {
          "startUrls": {
            "title": "🔗 Store links",
            "type": "array",
            "description": "Links copied from the iFixit store, in any storefront: product pages (<code>ifixit.com/products/iphone-13-battery</code>), device parts pages (<code>ifixit.com/Parts/iPhone_13</code>), <code>/Parts</code>, <code>/Tools</code>, sale pages (<code>/Shop/Sale</code>) or a store search (<code>/Search?query=battery</code>). A product link always returns all its variants; a device, listing or search link returns up to the row limit below. Paste hundreds at once: one run reads them all.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "productIds": {
            "title": "🏷️ Product handles or part numbers",
            "type": "array",
            "description": "One product per line, by its handle (the end of its link, <code>pro-tech-toolkit</code>), its iFixit part number (<code>IF262-036</code>, or <code>IF262-036-2</code> for one variant only), or a model number it lists (<code>A2655</code>). Every product listed comes back complete, whatever the row limit.",
            "items": {
              "type": "string"
            }
          },
          "devices": {
            "title": "📱 Devices",
            "type": "array",
            "description": "Device names as iFixit lists them: <code>iPhone 13</code>, <code>Samsung Galaxy S21</code>, <code>MacBook Pro 14\" 2021</code>, <code>Nintendo Switch</code>, or a whole family (<code>Phone</code>, <code>PC Laptop</code>). Loose names are matched to the closest device (<code>galaxy s21</code> reads Samsung Galaxy S21). Returns every part, kit and tool sold for the device: iPhone 13 has 24 products.",
            "items": {
              "type": "string"
            }
          },
          "searchQueries": {
            "title": "🔎 Keywords",
            "type": "array",
            "description": "Search the store like its own search box: <code>battery</code>, <code>pro tech toolkit</code>, <code>pixel 7 screen</code>. Each keyword returns up to the row limit below, best matches first.",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "🌍 Storefronts",
            "type": "array",
            "description": "iFixit prices every product per storefront, in its currency (USD, CAD, GBP, AUD, EUR), with its own stock and catalogue. Pick one or more: a product sold in three of them gives three rows, one per storefront, and storefronts that do not sell it are skipped. You can also type a country code (<code>fr</code>, <code>fra</code>) or an English name (<code>France</code>); other EU countries read the Europe storefront. Left empty, the United States storefront is read and a link keeps the storefront it points at.",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "us",
                "es-us",
                "ca",
                "fr-ca",
                "gb",
                "au",
                "fr",
                "de",
                "it",
                "es",
                "eu"
              ],
              "enumTitles": [
                "United States",
                "United States (Spanish)",
                "Canada",
                "Canada (French)",
                "United Kingdom",
                "Australia",
                "France",
                "Germany",
                "Italy",
                "Spain",
                "Europe (other EU countries)"
              ]
            }
          },
          "maxItems": {
            "title": "🔢 Max rows",
            "minimum": 1,
            "type": "integer",
            "description": "The most rows that devices, keywords and listing links return in one run, across all of them. One row is one variant in one storefront, so a product with a Part Only and a Fix Kit gives two. Products asked for by link, handle or part number always come back complete and are not counted here. A whole device family like <code>Phone</code> lists about 3,300 products.",
            "default": 100
          },
          "itemTypes": {
            "title": "🧩 Item types",
            "type": "array",
            "description": "Keep only these kinds of items, as the store's filters name them. Pick from the list or type any other type the store shows (<code>Hinges and Hinge Pins</code>, <code>Ice Makers</code>).",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "Batteries",
                "Screens",
                "Display Components",
                "Cables",
                "Case Components",
                "Cameras",
                "Speakers",
                "Buttons",
                "Ports",
                "Motherboards",
                "Boards",
                "Keyboards",
                "Fans",
                "Power Supplies",
                "Power Adapters",
                "Adhesives",
                "Heat Sinks",
                "Screws and Bolts",
                "Kits",
                "Accessories"
              ],
              "enumTitles": [
                "Batteries",
                "Screens",
                "Display Components",
                "Cables",
                "Case Components",
                "Cameras",
                "Speakers",
                "Buttons",
                "Ports",
                "Motherboards",
                "Boards",
                "Keyboards",
                "Fans",
                "Power Supplies",
                "Power Adapters",
                "Adhesives",
                "Heat Sinks",
                "Screws and Bolts",
                "Kits",
                "Accessories"
              ]
            }
          },
          "inStockOnly": {
            "title": "📦 In stock only",
            "type": "boolean",
            "description": "Skip variants that cannot ship today (out of stock, backorder, preorder). Leave off to track stock-outs too: those rows say so in <code>availability</code>.",
            "default": false
          },
          "debugMode": {
            "title": "🐞 Debug mode",
            "type": "boolean",
            "description": "Write detailed logs of every step. Leave off for normal runs.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}