{
  "openapi": "3.0.1",
  "info": {
    "title": "US Tires & Auto Parts Price Comparator (6 Stores)",
    "description": "Live multi-store price comparator across Amazon, Walmart, Target, Detroit Axle, FCP Euro, and 1A Auto. Compares tires, brake kits, suspension parts, and auto replacement components with side-by-side store pricing and direct buy links.",
    "version": "0.0",
    "x-build-id": "YdFDbQB2CYYhATG0f"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lonwabo~us-auto-parts-comparator/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lonwabo-us-auto-parts-comparator",
        "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/lonwabo~us-auto-parts-comparator/runs": {
      "post": {
        "operationId": "runs-sync-lonwabo-us-auto-parts-comparator",
        "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/lonwabo~us-auto-parts-comparator/run-sync": {
      "post": {
        "operationId": "run-sync-lonwabo-us-auto-parts-comparator",
        "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": [
          "searchTerms"
        ],
        "properties": {
          "searchTerms": {
            "title": "Tires, Brakes, or Auto Replacement Parts",
            "type": "array",
            "description": "List of tire sizes, brake pad/rotor kits, suspension arms, or automotive replacement parts to compare across stores (e.g. '225/45R17 Michelin Defender 2', 'BOSCH QuietCast Premium Ceramic Brake Pads', 'Front Brake Rotors and Ceramic Pads Kit', 'Moog Front Lower Control Arm Assembly', '275/55R20 Goodyear Wrangler', 'Volvo Oil Change Kit 5W30 Liqui Moly').",
            "items": {
              "type": "string"
            }
          },
          "includeAmazon": {
            "title": "Amazon Auto (amazon.com)",
            "type": "boolean",
            "description": "Include Amazon Auto — Prime delivery & broad tire/parts marketplace.",
            "default": true
          },
          "includeWalmart": {
            "title": "Walmart Auto & Tires (walmart.com)",
            "type": "boolean",
            "description": "Include Walmart Auto — competitive pricing & tire center catalog.",
            "default": true
          },
          "includeTarget": {
            "title": "Target Auto (target.com)",
            "type": "boolean",
            "description": "Include Target Auto — automotive care & car electronics.",
            "default": true
          },
          "includeDetroitAxle": {
            "title": "Detroit Axle (detroitaxle.com)",
            "type": "boolean",
            "description": "Include Detroit Axle — OE-manufacturer brake kits, CV axles & suspension.",
            "default": true
          },
          "includeFcpEuro": {
            "title": "FCP Euro (fcpeuro.com)",
            "type": "boolean",
            "description": "Include FCP Euro — European OEM auto parts with lifetime replacement.",
            "default": true
          },
          "includeOneAAuto": {
            "title": "1A Auto (1aauto.com)",
            "type": "boolean",
            "description": "Include 1A Auto — aftermarket replacement parts & assemblies.",
            "default": true
          },
          "maxItemsPerStore": {
            "title": "Max Items Per Store",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum candidate search results to inspect per store for each search term.",
            "default": 5
          },
          "minPrice": {
            "title": "Minimum Price ($)",
            "minimum": 0,
            "type": "integer",
            "description": "Ignore items priced lower than this threshold (useful to filter out individual clips, valve stem caps, or small screws).",
            "default": 15
          },
          "maxPrice": {
            "title": "Maximum Price ($)",
            "minimum": 1,
            "type": "integer",
            "description": "Ignore items priced higher than this threshold.",
            "default": 2500
          },
          "excludeAccessories": {
            "title": "Exclude Accessories, Covers & Cables",
            "type": "boolean",
            "description": "Automatically filters out stands, chargers, cases, covers, skins, and cables when searching for main hardware/products.",
            "default": true
          },
          "brandNewOnly": {
            "title": "Brand New Items Only (Exclude Used/Refurbished)",
            "type": "boolean",
            "description": "Excludes second-hand, used, pre-owned, and refurbished listings from skewing the lowest price comparison.",
            "default": true
          },
          "inStockOnly": {
            "title": "In-Stock Items Only",
            "type": "boolean",
            "description": "Only include store offers currently available in stock.",
            "default": true
          },
          "onlyMultiStoreMatches": {
            "title": "Only Multi-Store Matches",
            "type": "boolean",
            "description": "When enabled, only outputs auto parts or tires found in 2 or more stores for direct price comparison.",
            "default": false
          },
          "sortBy": {
            "title": "Sort Results By",
            "enum": [
              "priceSpreadDesc",
              "bestPriceAsc",
              "storesComparedDesc",
              "savingsPercentDesc"
            ],
            "type": "string",
            "description": "Choose how the comparison dataset is ordered.",
            "default": "priceSpreadDesc"
          },
          "includeFields": {
            "title": "Included Columns / Fields",
            "type": "array",
            "description": "Deselect optional dense fields to keep dataset lightweight. Core comparison fields (Product Name, Best Price, Lowest Store, Potential Savings, Best Deal URL) are permanently included and cannot be removed.",
            "items": {
              "type": "string",
              "enum": [
                "productImage",
                "brand",
                "specs",
                "storeColumns",
                "rawOffers",
                "dealVerdict"
              ],
              "enumTitles": [
                "Product Image (URL)",
                "Brand / Manufacturer (Michelin, Bosch, Detroit Axle, TRQ)",
                "Auto Specs (Category, Tire Size, Part Number)",
                "Individual Store Columns (Prices, Links & Stock Status)",
                "Raw Store Offers Object (Full Nested JSON)",
                "Deal Verdict & Spread Percentages"
              ]
            },
            "default": [
              "productImage",
              "brand",
              "specs",
              "storeColumns",
              "dealVerdict"
            ]
          },
          "minSimilarityScore": {
            "title": "Fuzzy Matching Sensitivity",
            "minimum": 0.2,
            "maximum": 0.9,
            "type": "number",
            "description": "Similarity score (0.2 to 0.9) required to match products across different stores. Default 0.48 is calibrated for this category.",
            "default": 0.48
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Select proxy mode. Recommended: Apify Residential or RESIDENTIAL proxy groups for ultra-reliable nationwide scraping."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}