{
  "openapi": "3.0.1",
  "info": {
    "title": "Party City Costume, Balloon & Decor Price Tracker",
    "description": "Browse Party City costumes, balloons, tableware, and seasonal decor by category or keyword, or look up specific products. Get price, sale price, brand, and variant options like color, size, or theme.",
    "version": "1.0",
    "x-build-id": "HjUGV60apY232tw0n"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dataspryva~party-city-costume-balloon-and-decor-price-tracker/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dataspryva-party-city-costume-balloon-and-decor-price-tracker",
        "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/dataspryva~party-city-costume-balloon-and-decor-price-tracker/runs": {
      "post": {
        "operationId": "runs-sync-dataspryva-party-city-costume-balloon-and-decor-price-tracker",
        "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/dataspryva~party-city-costume-balloon-and-decor-price-tracker/run-sync": {
      "post": {
        "operationId": "run-sync-dataspryva-party-city-costume-balloon-and-decor-price-tracker",
        "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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "byCategory",
              "search",
              "byHandles",
              "byProductIds",
              "relatedProducts",
              "listCollections"
            ],
            "type": "string",
            "description": "`byCategory` browses a category with full cursor pagination and the site's real sort orders. `search` runs Party City's full product search (up to the 1,000-result search-index cap; the old predictive endpoint returned only 10). `byHandles` looks up specific products by handle or URL. `byProductIds` batch-looks up products by numeric id or Shopify GID. `relatedProducts` returns Shopify's related/complementary recommendations for one or more products. `listCollections` returns every live collection/category on the storefront for discovery.",
            "default": "byCategory"
          },
          "category": {
            "title": "Category (mode = byCategory)",
            "enum": [
              "birthday",
              "kids-birthday",
              "preschooler-birthday",
              "milestone-birthday",
              "1st-birthday-party-supplies-decorations",
              "sweet-16-party-supplies-decorations",
              "happy-birthday-party-supplies",
              "birthday-party-kits",
              "balloons",
              "balloon-bouquets-for-birthdays-celebrations",
              "birthday-balloons-for-every-celebration",
              "barbie-party-supplies-decorations",
              "batman-party-supplies-decorations",
              "dc-comic-party-supplies",
              "disney-princess-party-supplies",
              "dragon-party-supplies-decorations",
              "frozen-party-supplies",
              "gamer-party-supplies-video-game-birthday-decorations",
              "harry-potter-party-supplies-decorations",
              "marvel-party-supplies",
              "spider-man-party-supplies-decorations",
              "star-wars-party-supplies-decorations",
              "superman-party-supplies-decorations",
              "toy-story-party-supplies",
              "bluey-party-supplies-decorations",
              "construction-party-supplies-decorations",
              "dinosaur-theme-party",
              "hot-wheels-party-supplies-decorations",
              "mickey-mouse-party-supplies-decorations",
              "minnie-mouse-birthday-party-supplies-decorations",
              "stitch-party-supplies-decorations",
              "winnie-the-pooh-party-supplies",
              "party-supplies",
              "tableware",
              "party-cups-for-every-celebration",
              "party-napkins-disposable-napkins",
              "party-plates-for-every-celebration",
              "party-table-covers-tablecloths",
              "decorations",
              "party-favors",
              "gifts-collectables",
              "special-occasion",
              "graduation",
              "gender-reveal",
              "baby-shower",
              "bachelorette",
              "wedding-bridal-shower",
              "wedding-anniversary",
              "retirement",
              "100-days-of-school",
              "same-day-delivery-party-supplies",
              "halloween-costumes",
              "kid-costumes",
              "baby-costumes",
              "adult-halloween-costumes",
              "dog-pet-costumes",
              "costume-themes",
              "costume-accessories",
              "halloween",
              "party-themes",
              "party-ideas",
              "womens-costumes",
              "mens-costumes",
              "girls-costumes",
              "boys-costumes",
              "classic-halloween-costumes",
              "halloween-decorations",
              "christmas-party-decorations-supplies",
              "christmas-costumes-accessories",
              "new-years-eve-party-decorations-supplies",
              "superhero-theme-party",
              "superhero-costumes",
              "horror-movie-costumes",
              "dc-comics-costumes",
              "career-occupation-costumes",
              "toy-city",
              "masks",
              "wigs"
            ],
            "type": "string",
            "description": "A Party City category to browse. Covers birthday themes, balloons, tableware, decorations, costumes, seasonal themes, and special occasions.",
            "default": "birthday"
          },
          "categoryHandle": {
            "title": "Custom category handle (optional override)",
            "type": "string",
            "description": "Advanced: any Party City collection handle, collection URL, or path not in the dropdown above. Overrides `category` when set."
          },
          "searchQuery": {
            "title": "Search query (mode = search)",
            "type": "string",
            "description": "Free-text keyword search, e.g. `birthday candle`, `pinata`, `balloon arch`. Returns up to 1,000 matching products with full pagination (Party City's search index cap)."
          },
          "productHandles": {
            "title": "Product handles or URLs (mode = byHandles)",
            "type": "array",
            "description": "Exact product handles (e.g. `colorful-collage-paper-plate-8ct`) or full product URLs. Used by mode=byHandles and as the seed products for mode=relatedProducts.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "sortBy": {
            "title": "Sort by (mode = byCategory)",
            "enum": [
              "best-selling",
              "manual",
              "price-ascending",
              "price-descending",
              "title-ascending",
              "title-descending",
              "created-ascending",
              "created-descending"
            ],
            "type": "string",
            "description": "Sort order applied to category browse and search results. Search supports relevance (best-selling/manual) and price server-side; title/date sorts are applied client-side over the search results.",
            "default": "best-selling"
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Hard cap on the number of products (or collections, for mode=listCollections) returned (1-10000).",
            "default": 20
          },
          "imageQuality": {
            "title": "Image URL quality",
            "enum": [
              "small",
              "medium",
              "large",
              "grande",
              "1024x1024",
              "2048x2048",
              "master"
            ],
            "type": "string",
            "description": "Shopify CDN serves multiple image sizes. `master` returns the original.",
            "default": "master"
          },
          "minPrice": {
            "title": "Min price (USD)",
            "minimum": 0,
            "maximum": 100000,
            "type": "number",
            "description": "Drop products whose lowest price is below this threshold."
          },
          "maxPrice": {
            "title": "Max price (USD)",
            "minimum": 0,
            "maximum": 100000,
            "type": "number",
            "description": "Drop products whose lowest price is above this threshold."
          },
          "onSaleOnly": {
            "title": "On-sale products only",
            "type": "boolean",
            "description": "Only emit products with an active discount (compare-at price higher than the current price).",
            "default": false
          },
          "minDiscountPercent": {
            "title": "Min discount %",
            "minimum": 0,
            "maximum": 99,
            "type": "integer",
            "description": "Only emit products discounted by at least this percentage."
          },
          "brandContains": {
            "title": "Brand contains",
            "type": "string",
            "description": "Only emit products whose brand name contains this substring (case-insensitive)."
          },
          "productTypeContains": {
            "title": "Product type contains",
            "type": "string",
            "description": "Only emit products whose Shopify product type contains this substring."
          },
          "productTypeEquals": {
            "title": "Product type (exact match)",
            "enum": [
              "",
              "Animated Props",
              "Apparel",
              "Arts & Crafts",
              "Awards, Medals, Trophies",
              "Backdrops & Scene Setters",
              "Bags",
              "Baking Supplies",
              "Balloons",
              "Banners & Signs",
              "Birthday Candles",
              "Bodysuit",
              "Bowls",
              "Cake Toppers & Picks",
              "Cakes & Cupcakes",
              "Candy & Lollipops",
              "Chocolates",
              "Cleaning & Disposal Supplies",
              "Confetti & Streamers",
              "Coolers & Beverage Tubs",
              "Costume Accessories",
              "Costumes",
              "Couples",
              "Cutlery",
              "Decorating Kits",
              "Decorations",
              "Desserts",
              "Drinkware",
              "Favor Bags & Containers",
              "Favor Kits",
              "Favors",
              "Fog & Bubble Machines",
              "Food Containers",
              "Games",
              "Gift Bags",
              "Gift Boxes",
              "Gift Tags & Labels",
              "Gift Wrap & Tissue Paper",
              "Gloves",
              "Glow Sticks & Accessories",
              "Guest Towels",
              "Hanging Decorations",
              "Hats",
              "Headband",
              "Home Decor",
              "Inflatable Decorations",
              "Invitations, Announcements, & Greeting Cards",
              "Keepsakes & Gifts",
              "Lights",
              "Makeup & Face Paint",
              "Napkins",
              "Outdoor Games",
              "Pantyhose",
              "Party Kits",
              "Party Supplies",
              "Pet Toys & Accessories",
              "Photo Booth Props",
              "Piñatas",
              "Plates",
              "Props & Standees",
              "Serveware",
              "Serving Trays & Bowls",
              "Serving Utensils",
              "Skirt",
              "Snacks & Treats",
              "Special Effects",
              "Straws",
              "T-Shirt",
              "Tablecovers",
              "Tabletop Decorations",
              "Toys",
              "Wigs",
              "Yard Decorations & Signs"
            ],
            "type": "string",
            "description": "Only emit products whose Shopify product type exactly matches this value. Covers every product type observed across Party City's full catalog. Leave as \"Any\" to disable, or use `productTypeContains` for a substring match instead.",
            "default": ""
          },
          "titleContains": {
            "title": "Title contains",
            "type": "string",
            "description": "Only emit products whose title contains this substring (case-insensitive)."
          },
          "tagAnyOf": {
            "title": "Tag allowlist (any of)",
            "type": "array",
            "description": "Only emit products whose tags contain at least one of these (case-insensitive substring match).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "tagNoneOf": {
            "title": "Tag blocklist",
            "type": "array",
            "description": "Drop products whose tags contain any of these substrings.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "skuContains": {
            "title": "SKU contains",
            "type": "string",
            "description": "Only emit products with a SKU containing this substring."
          },
          "includeUnavailable": {
            "title": "Include out-of-stock products",
            "type": "boolean",
            "description": "When false (default), drop products that are entirely out of stock.",
            "default": false
          },
          "useApifyProxy": {
            "title": "Use Apify proxy",
            "type": "boolean",
            "description": "Route requests through Apify proxy from the start. Party City usually works from datacenter IPs without proxy — the actor automatically falls back to Apify proxy on the first failure regardless of this setting.",
            "default": false
          },
          "requestDelaySecs": {
            "title": "Delay between page fetches (seconds)",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Pause between successive page fetches. Lower = faster, higher = more polite.",
            "default": 1
          },
          "productIds": {
            "title": "Product IDs (mode = byProductIds / relatedProducts)",
            "type": "array",
            "description": "Numeric Party City product IDs or full Shopify product GIDs. Batch lookup and deduplication are automatic.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "recommendationIntent": {
            "title": "Recommendation type (mode = relatedProducts)",
            "enum": [
              "RELATED",
              "COMPLEMENTARY"
            ],
            "type": "string",
            "description": "`RELATED` returns products in the same theme/category; `COMPLEMENTARY` returns products commonly bought together.",
            "default": "RELATED"
          },
          "includeRatings": {
            "title": "Include customer ratings",
            "type": "boolean",
            "description": "Add `rating` and `reviewCount` from Party City's public Yotpo review widget (one extra request per product). Off by default so large exports stay fast and cheap.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}