{
  "openapi": "3.0.1",
  "info": {
    "title": "Poshmark Scraper: Deals, Price Drops, Resale Prices & Alerts",
    "description": "Poshmark's available listings by brand or category, with the filters Poshmark keeps from guests: keywords, price, condition, size, % off retail and price drops. Each listing's first and current price, retail and offers; each page's asking prices by condition, size and brand; new-listing alerts.",
    "version": "0.1",
    "x-build-id": "JTBu2RNnyEShZTalc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/pikoulas~poshmark-listings/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-pikoulas-poshmark-listings",
        "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/pikoulas~poshmark-listings/runs": {
      "post": {
        "operationId": "runs-sync-pikoulas-poshmark-listings",
        "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/pikoulas~poshmark-listings/run-sync": {
      "post": {
        "operationId": "run-sync-pikoulas-poshmark-listings",
        "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": {
          "brands": {
            "title": "Brands",
            "type": "array",
            "description": "Brand names as Poshmark writes them, such as Coach, Louis Vuitton or Free People: each brand's page is read on its own, newest first.",
            "items": {
              "type": "string"
            }
          },
          "listUrls": {
            "title": "Category or brand pages",
            "type": "array",
            "description": "Poshmark pages whose listings are read, each on its own, newest first or sorted as the link says (?sort_by=price_asc): a category (https://poshmark.com/category/Women-Bags), a brand (https://poshmark.com/brand/Coach) or a brand in a category (https://poshmark.com/brand/Coach-Women-Bags). Available listings only: Poshmark doesn't show sold ones to guests.",
            "items": {
              "type": "string"
            }
          },
          "maxListingsPerPage": {
            "title": "Most listings per page",
            "minimum": 0,
            "type": "integer",
            "description": "The most listings each brand or page gives, after the filters; 0 for all of them, up to the 5,000 Poshmark shows for one page.",
            "default": 100
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Keep only listings whose title, brand or description holds any of these words or phrases, as whole words, such as Tabby or dust bag. Poshmark doesn't filter for guests, so every filter here is applied to the listings read.",
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Leave out keywords",
            "type": "array",
            "description": "Leave out listings whose title, brand or description holds any of these, such as replica, damaged or for parts.",
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Lowest price",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only listings asking at least this much."
          },
          "maxPrice": {
            "title": "Highest price",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only listings asking at most this much."
          },
          "conditions": {
            "title": "Conditions",
            "type": "array",
            "description": "Keep only listings in these conditions, as the seller gave them. Empty keeps all, those without a condition too.",
            "items": {
              "type": "string",
              "enum": [
                "New With Tags",
                "Like New",
                "Good",
                "Fair",
                "Not New With Tags"
              ]
            }
          },
          "sizes": {
            "title": "Sizes",
            "type": "array",
            "description": "Keep only listings in these sizes, as Poshmark shows them: M, 8, 32, One Size.",
            "items": {
              "type": "string"
            }
          },
          "minPercentOffRetail": {
            "title": "Least % off retail",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Keep only listings asking at least this much below the retail price the seller gave, such as 70: the deals to resell. Listings without a retail price are left out."
          },
          "onlyPriceDrops": {
            "title": "Only price drops",
            "type": "boolean",
            "description": "Keep only listings now asking less than when they were first listed: sellers ready to deal.",
            "default": false
          },
          "onlyNew": {
            "title": "Only new listings (alerts)",
            "type": "boolean",
            "description": "Give only listings no earlier run with the same memory name read, and stop each newest-first page where the last run read. Save the input as a task with a schedule, such as every hour, and each run gives only what was listed since: a sourcing alert, to email, Slack or a webhook through Apify's integrations.",
            "default": false
          },
          "memory": {
            "title": "Memory name",
            "type": "string",
            "description": "Runs with the same memory name share the listings they've read. Use another name for each alert. The memory is a key-value store named poshmark-listings-memory in your account.",
            "default": "default"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}