{
  "openapi": "3.0.1",
  "info": {
    "title": "雅虎拍卖 Yahoo! Auctions 日本成交价 — 中位数·价格区间·出价数",
    "description": "输入日文关键词，即可查到该商品在雅虎拍卖（Yahoo! Auctions 日本）已结束拍卖中的实际成交价——日本代购、二手行情必备。返回成交价中位数、最低–最高价区间、平均值、出价次数、取样中成交的件数和找到的总件数，附日元与美元。每个关键词 $0.02，没有成交拍卖则不收费。Sold-price stats from Yahoo! Auctions Japan. Unofficial.",
    "version": "0.1",
    "x-build-id": "zCckayK6jyj5LXFIN"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/jpmarketdata~yahoo-auction-comps-cn/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-jpmarketdata-yahoo-auction-comps-cn",
        "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/jpmarketdata~yahoo-auction-comps-cn/runs": {
      "post": {
        "operationId": "runs-sync-jpmarketdata-yahoo-auction-comps-cn",
        "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/jpmarketdata~yahoo-auction-comps-cn/run-sync": {
      "post": {
        "operationId": "run-sync-jpmarketdata-yahoo-auction-comps-cn",
        "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",
        "required": [
          "keywords"
        ],
        "properties": {
          "keywords": {
            "title": "搜索关键词 Search keywords",
            "type": "array",
            "description": "要查询行情的关键词，可一次填多个（每个关键词计费 $0.02）。请尽量使用日文关键词：雅虎拍卖是日本站点，日文词覆盖率最高，例如「ポケモンカード リザードン psa10」（宝可梦卡 喷火龙 PSA10）、「ロレックス デイトナ」（劳力士 迪通拿）、「ガンダム プラモデル」（高达 模型）。国际品牌用英文也可以（如 'Leica M6'）。英文常用词同样能命中，雅虎会换成日文（2026-08-18 实测 'camera' 与 'カメラ' 都是 644,782 件）；中文常用词有时也能命中（'相机' → 641,318 件）但不保证。One or more search queries; English generic words work too because Yahoo maps them to Japanese, while Japanese spelling gives the tightest match.",
            "items": {
              "type": "string"
            }
          },
          "maxItemsPerKeyword": {
            "title": "每个关键词的取样件数 Max auctions per keyword",
            "minimum": 30,
            "maximum": 500,
            "type": "integer",
            "description": "每个关键词抽取多少件已结束拍卖来计算行情。50 = 一页搜索结果；件数越多统计越稳，但若开启「输出单件明细」费用也越高。How many closed auctions to sample per keyword.",
            "default": 100
          },
          "soldOnly": {
            "title": "单件明细只输出成交品 Individual results: sold only",
            "type": "boolean",
            "description": "默认开启：只有真正成交（出价 ≥1 次）的拍卖才会作为单件记录输出。无论此项如何设置，统计始终只用成交拍卖计算。If enabled (default), only auctions that actually sold are pushed as individual records.",
            "default": true
          },
          "includeIndividualItems": {
            "title": "输出单件明细 Include individual auctions",
            "type": "boolean",
            "description": "默认开启：除行情汇总外，还输出每一件取样拍卖（标题、成交价、出价次数、成色、结束时间、图片、链接），便于代购逐件核价，费用 +$0.002/件。只想要一条行情汇总（每关键词固定 $0.02）时请关闭。If enabled, every sampled auction is also pushed to the dataset.",
            "default": true
          },
          "convertToUsd": {
            "title": "换算美元 Convert prices to USD",
            "type": "boolean",
            "description": "在日元价格旁附上美元价格，使用实时汇率（open.er-api.com），方便和 eBay、闲鱼等海外行情对比。Adds USD prices next to JPY using the current exchange rate.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}