{
  "openapi": "3.0.1",
  "info": {
    "title": "GOAT Sneaker Price Scraper - Asks, Sizes & Last Sold",
    "description": "Scrape GOAT sneaker and streetwear prices: lowest ask, Instant Ship price, retail price and, per size and condition, lowest ask, last sold price and stock. Search by name, brand, category, gender, color, year or price, or paste product URLs. Great for resellers and arbitrage.",
    "version": "0.1",
    "x-build-id": "BLq28dTiDAD1ELsdf"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fanndev~goat-sneaker-price-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fanndev-goat-sneaker-price-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~goat-sneaker-price-scraper/runs": {
      "post": {
        "operationId": "runs-sync-fanndev-goat-sneaker-price-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~goat-sneaker-price-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-fanndev-goat-sneaker-price-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": {
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "Sneaker or product names, e.g. 'jordan 1 chicago', 'yeezy 350', 'dunk low panda'. One search per query. Leave empty and use the filters to browse.",
            "items": {
              "type": "string"
            }
          },
          "brands": {
            "title": "Brands",
            "type": "array",
            "description": "Brand names spelled as on GOAT, e.g. 'Air Jordan', 'Nike', 'adidas', 'New Balance', 'Yeezy', 'Fear of God Essentials', 'Supreme'.",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Product categories.",
            "items": {
              "type": "string",
              "enum": [
                "footwear",
                "apparel",
                "accessories",
                "bags"
              ],
              "enumTitles": [
                "Footwear",
                "Apparel",
                "Accessories",
                "Bags"
              ]
            }
          },
          "genders": {
            "title": "Gender",
            "type": "array",
            "description": "Size range / gender.",
            "items": {
              "type": "string",
              "enum": [
                "men",
                "women",
                "youth",
                "infant"
              ],
              "enumTitles": [
                "Men",
                "Women",
                "Youth (GS)",
                "Infant / Toddler"
              ]
            }
          },
          "conditions": {
            "title": "Condition",
            "type": "array",
            "description": "Only products with offers in this condition.",
            "items": {
              "type": "string",
              "enum": [
                "new_no_defects",
                "new_with_defects",
                "used"
              ],
              "enumTitles": [
                "New",
                "New with defects",
                "Used"
              ]
            }
          },
          "colors": {
            "title": "Colors",
            "type": "array",
            "description": "Colors, e.g. 'black', 'white', 'red'.",
            "items": {
              "type": "string"
            }
          },
          "releaseYears": {
            "title": "Release years",
            "type": "array",
            "description": "Four-digit release years, e.g. 2024.",
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Min price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest ask at least this much."
          },
          "maxPrice": {
            "title": "Max price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest ask at most this much."
          },
          "onlyInStock": {
            "title": "Only available now",
            "type": "boolean",
            "description": "Only products that have at least one offer.",
            "default": false
          },
          "onlyUnderRetail": {
            "title": "Only under retail",
            "type": "boolean",
            "description": "Only products currently selling below their retail price.",
            "default": false
          },
          "onlyInstantShip": {
            "title": "Only instant ship",
            "type": "boolean",
            "description": "Only products with an Instant Ship offer.",
            "default": false
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "popular",
              "newest-release",
              "price-low",
              "price-high",
              "trending",
              "biggest-discount",
              "oldest-release",
              "newly-added"
            ],
            "type": "string",
            "description": "Order of search results.",
            "default": "popular"
          },
          "productUrls": {
            "title": "Product URLs",
            "type": "array",
            "description": "GOAT product pages (https://www.goat.com/sneakers/<slug>), slugs, or product ids.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Max products per search",
            "minimum": 0,
            "type": "integer",
            "description": "0 = as many as GOAT serves (up to 10,000 per search; add filters to reach more).",
            "default": 100
          },
          "includeSizePrices": {
            "title": "Include prices per size",
            "type": "boolean",
            "description": "Adds every size x condition with lowest ask, Instant Ship ask, last sold price and stock status, plus a summary (cheapest new size, sizes in stock). One extra request per product.",
            "default": false
          },
          "countryCode": {
            "title": "Country for size prices",
            "type": "string",
            "description": "Two-letter country code GOAT prices the size offers for (shipping region), e.g. US, GB, DE, JP.",
            "default": "US"
          },
          "includeDetails": {
            "title": "Include product details",
            "type": "boolean",
            "description": "Adds SKU, colorway, designer, story, materials, size range, new/used offer counts and more. One extra request per product.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 25,
            "type": "integer",
            "description": "Products enriched in parallel.",
            "default": 8
          },
          "maxRetries": {
            "title": "Max retries",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Retries per request.",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy. Keep Residential: GOAT refuses requests from datacenter addresses.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}