{
  "openapi": "3.0.1",
  "info": {
    "title": "Depop Real Time Data Scraper",
    "description": "Scrape live Depop data: search results, full listings, seller shops, profiles, trending items, or any URL. Get rich fields including prices, brands, sizes, sold history, shipping details, and seller signals.",
    "version": "0.0",
    "x-build-id": "YByvFxyb00swLtYKg"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/b2b_leads~Depop-Real-Time-Data/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-b2b_leads-Depop-Real-Time-Data",
        "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/b2b_leads~Depop-Real-Time-Data/runs": {
      "post": {
        "operationId": "runs-sync-b2b_leads-Depop-Real-Time-Data",
        "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/b2b_leads~Depop-Real-Time-Data/run-sync": {
      "post": {
        "operationId": "run-sync-b2b_leads-Depop-Real-Time-Data",
        "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": {
          "country": {
            "title": "Region",
            "enum": [
              "US",
              "UK",
              "AU"
            ],
            "type": "string",
            "description": "Marketplace region. Affects language, currency preference, and recommended proxy country.",
            "default": "US"
          },
          "enableListingSearch": {
            "title": "Listing Search",
            "type": "boolean",
            "description": "Search Depop by keyword and optional filters. On by default — prefilled so you can click Start immediately.",
            "default": true
          },
          "searchKeywords": {
            "title": "Search keywords",
            "type": "array",
            "description": "One or more search terms (e.g. vintage jeans, nike dunk, carhartt). Required when Listing Search is on.",
            "default": [
              "vintage jeans",
              "nike dunk"
            ],
            "items": {
              "type": "string"
            }
          },
          "searchMaxResults": {
            "title": "Max results per keyword",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Maximum listings to return for each keyword (1–200).",
            "default": 20
          },
          "searchSort": {
            "title": "Sort order",
            "enum": [
              "relevance",
              "newest",
              "price-low",
              "price-high"
            ],
            "type": "string",
            "description": "How to order search results.",
            "default": "newest"
          },
          "searchBrand": {
            "title": "Brand filter (optional)",
            "type": "string",
            "description": "Limit results to a brand name (e.g. Nike, Levi's, Carhartt).",
            "default": ""
          },
          "searchSize": {
            "title": "Size filter (optional)",
            "type": "string",
            "description": "e.g. M, L, 8, 10, 32\".",
            "default": ""
          },
          "searchCondition": {
            "title": "Condition filter",
            "enum": [
              "",
              "brand_new",
              "used_like_new",
              "used_good",
              "used_fair"
            ],
            "type": "string",
            "description": "Filter by item condition.",
            "default": ""
          },
          "searchMinPrice": {
            "title": "Min price (optional)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Minimum price in the selected region currency."
          },
          "searchMaxPrice": {
            "title": "Max price (optional)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum price in the selected region currency."
          },
          "searchOnSale": {
            "title": "On sale only",
            "type": "boolean",
            "description": "Prefer discounted / reduced-price listings when available.",
            "default": false
          },
          "searchCategory": {
            "title": "Category hint (optional)",
            "type": "string",
            "description": "Optional category words to refine the search (e.g. jeans, tops, shoes).",
            "default": ""
          },
          "searchFetchFullDetails": {
            "title": "Fetch full listing details for search results",
            "type": "boolean",
            "description": "When on, each search result is one row with full product fields merged in (description, gallery, shipping, condition, likes, seller). Still featureType listing_search — not a second row. Uses Max results per keyword as the volume limit. Extra requests — richer output.",
            "default": false
          },
          "enableListingDetails": {
            "title": "Listing Details",
            "type": "boolean",
            "description": "Fetch full product data for specific listing IDs, slugs, or URLs.",
            "default": false
          },
          "listingSlugs": {
            "title": "Listing slugs / IDs",
            "type": "array",
            "description": "Product slugs or numeric IDs. Example: username-item-title-abcd",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "listingUrls": {
            "title": "Listing URLs",
            "type": "array",
            "description": "Full Depop product URLs (https://www.depop.com/products/…).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "enableSellerListings": {
            "title": "Seller Listings (Shop)",
            "type": "boolean",
            "description": "Collect shop listings for one or more sellers.",
            "default": false
          },
          "sellerUsernames": {
            "title": "Seller usernames",
            "type": "array",
            "description": "Depop usernames without @. Shared by Seller Listings, Seller Profile, and Sold History.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "sellerMaxListings": {
            "title": "Max listings per seller",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum active listings to collect per seller (1–500).",
            "default": 30
          },
          "enableSellerProfile": {
            "title": "Seller Profile",
            "type": "boolean",
            "description": "Fetch seller bio, verification, website, and contact signals from the bio.",
            "default": false
          },
          "enableSoldHistory": {
            "title": "Sold Item History",
            "type": "boolean",
            "description": "Collect sold / completed listings for comps and sell-through research.",
            "default": false
          },
          "soldMaxItems": {
            "title": "Max sold items per seller",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Maximum sold listings to collect per seller (1–200).",
            "default": 30
          },
          "enableScrapeByUrl": {
            "title": "Scrape By URL",
            "type": "boolean",
            "description": "Paste any Depop URL — product, search, shop, brand, or category.",
            "default": false
          },
          "scrapeUrls": {
            "title": "Depop URLs",
            "type": "array",
            "description": "Any Depop search, product, shop, brand, or category URL.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "scrapeMaxPages": {
            "title": "Max pages per URL",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Pagination depth for search/shop URLs (1–20).",
            "default": 3
          },
          "enableTrending": {
            "title": "Trending / Category",
            "type": "boolean",
            "description": "Pull a discovery feed for a niche or category keyword.",
            "default": false
          },
          "trendingCategory": {
            "title": "Category or trend",
            "type": "string",
            "description": "e.g. streetwear, vintage, footwear, womens, mens, y2k, jeans",
            "default": "streetwear"
          },
          "trendingMaxItems": {
            "title": "Max trending items",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Maximum trending listings to collect (1–200).",
            "default": 30
          },
          "extractSellerContacts": {
            "title": "Extract seller contact signals",
            "type": "boolean",
            "description": "Parse emails, phones, Instagram, and WhatsApp cues from seller bios.",
            "default": true
          },
          "includeSoldHistory": {
            "title": "Include sold flags on listings",
            "type": "boolean",
            "description": "When available, mark sold status on listing rows (in addition to the Sold History feature).",
            "default": true
          },
          "includeShippingDetails": {
            "title": "Include shipping details",
            "type": "boolean",
            "description": "Include shipping cost, method, and origin when present.",
            "default": true
          },
          "includeRaw": {
            "title": "Include raw data",
            "type": "boolean",
            "description": "Attach extended raw payload on each record. Larger output — for advanced pipelines only.",
            "default": false
          },
          "maxItems": {
            "title": "Global max items (optional)",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Hard cap across all features for this run. Leave empty for no global cap."
          },
          "webhookUrl": {
            "title": "Webhook URL",
            "type": "string",
            "description": "Optional. Every record is always saved to the run dataset — this webhook is an ADDITIONAL real-time push. Each new row is also POSTed to this URL (CRM, Slack, Zapier, Make, n8n, custom backend).",
            "default": ""
          },
          "webhookFormat": {
            "title": "Webhook format",
            "enum": [
              "json",
              "slack"
            ],
            "type": "string",
            "description": "json = full record object; slack = Slack-friendly message payload.",
            "default": "json"
          },
          "proxyConfiguration": {
            "title": "Proxy settings",
            "type": "object",
            "description": "Residential proxy recommended. Match country to the Region above (US / GB / AU).",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "US"
            }
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}