{
  "openapi": "3.0.1",
  "info": {
    "title": "Xianyu Goofish Seller Shop Scraper 闲鱼 Idlefish: Items & Prices",
    "description": "Have Xianyu (Goofish, 闲鱼) item links from a search scraper or your browser? Paste them and get each seller's shop (store): up to 1,000 items with price, wants and photo, what the seller sold, and the seller card: followers, reviews, credit. Also full items and a price watch. No login.",
    "version": "0.1",
    "x-build-id": "bf8cylFsrexHxyAWC"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/maksim_lazouski~xianyu-goofish-item-seller-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-maksim_lazouski-xianyu-goofish-item-seller-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/maksim_lazouski~xianyu-goofish-item-seller-scraper/runs": {
      "post": {
        "operationId": "runs-sync-maksim_lazouski-xianyu-goofish-item-seller-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/maksim_lazouski~xianyu-goofish-item-seller-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-maksim_lazouski-xianyu-goofish-item-seller-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": {
          "items": {
            "title": "Item links or ids / 商品链接或ID",
            "type": "array",
            "description": "Xianyu items to read in full. Each line is a link such as https://www.goofish.com/item?id=777420130180 or just the number from it.<br>要完整读取的闲鱼商品。每行一个链接（如 https://www.goofish.com/item?id=777420130180）或其中的数字ID。",
            "items": {
              "type": "string"
            }
          },
          "sellers": {
            "title": "Seller links or ids / 卖家链接或ID",
            "type": "array",
            "description": "Sellers whose profile and item list to read. Each line is a link to the seller's page such as https://www.goofish.com/personal?userId=2214156880408, or just the number from it. A link to one of the seller's items works too: the actor finds the seller from it.<br>要读取主页和商品列表的卖家。每行一个卖家主页链接（如 https://www.goofish.com/personal?userId=2214156880408）或其中的数字ID。也可以填该卖家的任一商品链接，程序会据此找到卖家。",
            "items": {
              "type": "string"
            }
          },
          "maxItemsPerSeller": {
            "title": "Items per seller / 每个卖家的商品数",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "How many items of each seller's list to return, in the order the seller's page shows them: the items on sale first, then sold ones. 1,000 is the most, as Xianyu shows no more of a list. 0 returns only the seller's profile.<br>每个卖家返回多少件商品，顺序与卖家主页一致：先在售，后已售。最多1000件（闲鱼列表最多显示这么多）。0 表示只返回卖家资料。",
            "default": 60
          },
          "maxSoldPerSeller": {
            "title": "Sold items per seller / 每个卖家的已售商品数",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "How many items of each seller's sold tab (已售出) to return: title, the price it was listed at, photos and link. 1,000 is the most. An item already returned from the seller's list is not returned again. 0 (the default) reads no sold tab.<br>每个卖家“已售出”页返回多少件：标题、标价、图片和链接。最多1000件。已在卖家列表中返回过的商品不会重复返回。0（默认）不读取已售出页。",
            "default": 0
          },
          "sellerGroup": {
            "title": "Only this group of the shop / 只读店铺的这个分组",
            "type": "string",
            "description": "Read only one group (tab) of each seller's shop instead of all of it: a group's name as the shop shows it (a brand such as 佳能, say), its id, or on_sale / sold. A private seller has no groups: on_sale reads its items on sale, all its whole list, and any other group puts it in FAILED. The seller's card lists the shop's groups with their names, ids and item counts. A seller whose shop has no such group is written down in FAILED; its card, sold tab and reviews are still read.<br>只读取每个卖家店铺的一个分组，而不是全部：填店铺显示的分组名（如品牌“佳能”）、分组ID，或 on_sale（在售）/ sold（已售出）。个人卖家没有分组：on_sale 读取其在售商品，all 读取全部，其他分组会记入 FAILED。卖家资料行中列出了店铺的所有分组及其名称、ID和商品数。没有该分组的卖家会记入 FAILED，但其资料、已售出页和评价仍会读取。"
          },
          "minPrice": {
            "title": "Lowest price, yuan / 最低价格（元）",
            "minimum": 0,
            "type": "number",
            "description": "Keep only listed items that cost at least this much. Items a filter leaves out are not stored and not charged. Filters apply to items from sellers' lists, not to item links you give.<br>只保留价格不低于此金额的商品。被筛选掉的商品不保存、不收费。筛选只作用于卖家列表中的商品，不作用于你直接给的商品链接。"
          },
          "maxPrice": {
            "title": "Highest price, yuan / 最高价格（元）",
            "minimum": 0,
            "type": "number",
            "description": "Keep only listed items that cost at most this much.<br>只保留价格不高于此金额的商品。"
          },
          "freeShippingOnly": {
            "title": "Free shipping only / 仅包邮",
            "type": "boolean",
            "description": "Keep only listed items that ship for free (包邮).<br>只保留包邮的商品。",
            "default": false
          },
          "postedWithinDays": {
            "title": "Posted in the last N days / 最近N天内发布",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Keep only items posted within this many days. The posting date is on the item's page only, so with this filter the actor opens the seller's listed items one by one and stores full item rows (charged as items) for the ones it keeps, until \"Items per seller\" of them are kept or the list ends. Items left out are not stored and not charged.<br>只保留N天内发布的商品。发布时间只在商品详情页里，因此使用此筛选时会逐件打开卖家列表中的商品，为保留的商品保存完整商品行（按商品收费），直到保留的商品达到“每个卖家的商品数”或列表结束。被筛掉的商品不保存、不收费。"
          },
          "minCondition": {
            "title": "Lowest condition / 最低成色",
            "enum": [
              "new",
              "almost_new",
              "light_use",
              "visible_use"
            ],
            "type": "string",
            "description": "Keep only items in this condition or better, as the seller set it (成色). The condition is on the item's page only, so with this filter the actor opens the seller's listed items one by one and stores full item rows (charged as items) for the ones it keeps, until \"Items per seller\" of them are kept or the list ends. Items whose condition is not one of these words are left out.<br>只保留成色不低于此项的商品（按卖家填写的“成色”）。成色只在商品详情页里，因此使用此筛选时会逐件打开卖家列表中的商品，为保留的商品保存完整商品行（按商品收费），直到保留的商品达到“每个卖家的商品数”或列表结束。成色不属于以下几种的商品会被筛掉。"
          },
          "maxReviewsPerSeller": {
            "title": "Reviews per seller / 每个卖家的评价数",
            "minimum": 0,
            "maximum": 2000,
            "type": "integer",
            "description": "How many of each seller's reviews to return, newest first: rating, text, date, the reviewer's region and role (buyer or seller), tags, photos and follow-ups. 0 (the default) reads no reviews. Free until its price starts in December 2026.<br>每个卖家返回多少条评价，最新的在前：评价类型、内容、时间、评价人地区和身份（买家或卖家）、标签、图片和追评。0（默认）不读取评价。在2026年12月开始收费前免费。",
            "default": 0
          },
          "reviewTab": {
            "title": "Which reviews / 评价类型",
            "enum": [
              "all",
              "good",
              "bad",
              "with_photos",
              "from_buyers",
              "from_sellers"
            ],
            "type": "string",
            "description": "The seller page's tab to read the reviews from.<br>从卖家主页的哪个评价标签读取。",
            "default": "all"
          },
          "reviewsSince": {
            "title": "Reviews since / 评价起始日期",
            "type": "string",
            "description": "Only reviews from this date on: a date such as 2026-01-01, or a number of days back such as 90. Leave empty for all.<br>只要此日期之后的评价：填日期（如 2026-01-01）或往前的天数（如 90）。留空表示全部。"
          },
          "includeFoldedReviews": {
            "title": "Folded reviews too / 包括折叠的评价",
            "type": "boolean",
            "description": "Xianyu folds some reviews away on the seller's page (often short or old ones). On: they are returned too, after the others, marked folded.<br>闲鱼会在卖家主页折叠部分评价（多为简短或较早的评价）。开启后也会返回这些评价，排在其他评价之后，并标记为 folded。",
            "default": false
          },
          "scrapeDetails": {
            "title": "Open every listed item / 打开每件列表商品",
            "type": "boolean",
            "description": "Off: one short row per listed item (title, price, pictures, link). On: the actor opens every item of a seller's list and returns the full item row.<br>关闭：每件列表商品一行简要信息（标题、价格、图片、链接）。开启：打开卖家列表中的每件商品，返回完整商品行。",
            "default": false
          },
          "maxCommentsPerItem": {
            "title": "Comments per item / 每件商品的留言数",
            "minimum": 0,
            "maximum": 200,
            "type": "integer",
            "description": "How many comments (留言) of each item read in full to return, with the seller's answers under each. 200 is the most. 0 (the default) reads no comments. Free until its price starts in December 2026.<br>每件完整读取的商品返回多少条留言，每条留言下附卖家的回复。最多200条。0（默认）不读取留言。在2026年12月开始收费前免费。",
            "default": 0
          },
          "includeSimilar": {
            "title": "Similar items / 相似商品",
            "type": "boolean",
            "description": "For every item in \"Item links or ids\", also return the similar items Xianyu shows under it (up to 30 per item). Paused: since 23 Nov 2026 Xianyu shows them only to logged-in users, so they are left out, not charged, and the run says so.<br>为“商品链接或ID”中的每件商品，同时返回闲鱼在其下方显示的相似商品（每件最多30个）。已暂停：自2026年11月23日起闲鱼只向登录用户显示相似商品，因此会被跳过、不收费，运行结果中会说明。",
            "default": false
          },
          "translateToEnglish": {
            "title": "Add English (free until its price starts) / 添加英文翻译（开始收费前免费）",
            "type": "boolean",
            "description": "Adds English next to the Chinese: titles, categories, item properties, cities, tags, the seller's introduction, review and comment texts (fields ending in _en). The item's description stays in Chinese. Free until its price starts in December 2026, then charged per row that got English; Apify tells the users before that. Prices are in US dollars too in every row, free (price_usd).<br>在中文旁添加英文：标题、类目、商品属性、城市、标签、卖家简介、评价和留言内容（以 _en 结尾的字段）。商品描述保持中文。2026年12月开始收费前免费，之后按获得英文的行收费；Apify 会提前通知用户。每行都免费附带美元价格（price_usd）。",
            "default": false
          },
          "maxItems": {
            "title": "Stop after this many results / 结果数达到后停止",
            "minimum": 1,
            "type": "integer",
            "description": "The run stops once it has stored this many rows. Leave empty for no limit.<br>保存的行数达到此数后停止运行。留空表示不限。"
          },
          "maxConcurrency": {
            "title": "Read side by side / 同时读取数",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many items and sellers are read at the same time, each from its own address. More is faster; the default suits most jobs. Item pages are opened 2 at a time at most, as Xianyu checks visitors who open many at once.<br>同时读取多少个商品和卖家，每个使用独立地址。越多越快；默认值适合大多数任务。商品详情页最多同时打开2个，因为同时打开很多会触发闲鱼的验证。",
            "default": 10
          },
          "watchName": {
            "title": "Watch list name / 监控名称",
            "type": "string",
            "description": "For runs on a schedule. Give the same name every time: each run then stores only what is new or changed since the last run with that name, marked in the field change, and an item or listed item that is gone is stored once as removed, free. Reviews and comments: only new ones (and comments with new answers). Rows that did not change are not stored and not charged. Leave empty to get every row.<br>用于定时运行。每次填同一个名称：每次运行只保存自上次同名运行以来新增或变化的内容（在 change 字段中标明），已消失的商品会免费保存一次并标记为 removed。评价和留言只保存新的（以及有新回复的留言）。未变化的行不保存、不收费。留空则返回所有行。"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}