{
  "openapi": "3.0.1",
  "info": {
    "title": "Komorebi Ichi — Japanese Public Auctions",
    "description": "KSI・国税庁の公的売却品を共通DBから取得。趣味、価格、地域、配送で絞り込み、公式URL・期限・ローカルAIの特徴と根拠・価格比較例を返します。APIキー必須。全国網羅ではありません。",
    "version": "0.0",
    "x-build-id": "4vvENuFEJOXvmDvrW"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/vasty_quoll~my-actor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-vasty_quoll-my-actor",
        "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/vasty_quoll~my-actor/runs": {
      "post": {
        "operationId": "runs-sync-vasty_quoll-my-actor",
        "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/vasty_quoll~my-actor/run-sync": {
      "post": {
        "operationId": "run-sync-vasty_quoll-my-actor",
        "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": [
          "apiToken"
        ],
        "properties": {
          "q": {
            "title": "検索語",
            "type": "string",
            "description": "商品名・見た目",
            "default": ""
          },
          "mood": {
            "title": "雰囲気",
            "enum": [
              "土の表情",
              "喫茶の時間",
              "和のしつらえ",
              "木のぬくもり"
            ],
            "type": "string",
            "description": "写真・説明から付与した雰囲気で絞り込みます。"
          },
          "budget": {
            "title": "上限予算（円）",
            "minimum": 0,
            "type": "integer",
            "description": "出品単位全体の掲載価格の上限。送料等は含みません。"
          },
          "pickup": {
            "title": "受取方法",
            "enum": [
              "collection",
              "shipping"
            ],
            "type": "string",
            "description": "collection は現地引取、shipping は配送可能な商品です。"
          },
          "maxResults": {
            "title": "結果数上限",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "1回に取得する商品の最大件数（1〜100）。",
            "default": 10
          },
          "apiToken": {
            "title": "こもれび市 APIキー",
            "type": "string",
            "description": "運営者発行のキー。出力には含めません。"
          },
          "source": {
            "title": "情報源（nta / ksi）",
            "type": "string",
            "description": "nta は国税庁、ksi はKSI官公庁オークション。"
          },
          "category": {
            "title": "商品カテゴリ",
            "type": "string",
            "description": "商品カテゴリ名で絞り込みます。"
          },
          "community": {
            "title": "趣味ID",
            "type": "string",
            "description": "趣味コミュニティID。APIのcategoriesで確認できます。"
          },
          "brand": {
            "title": "ブランド（公式記載）",
            "type": "string",
            "description": "原文で確認できるブランド名で絞り込みます。"
          },
          "region": {
            "title": "地域",
            "type": "string",
            "description": "出品元の地域名で絞り込みます。"
          },
          "lot": {
            "title": "単品 / まとめ売り（single / bulk）",
            "type": "string",
            "description": "single は単品、bulk はまとめ売り。"
          },
          "status": {
            "title": "時期（upcoming / ended）",
            "type": "string",
            "description": "upcoming は予定商品、ended は終了アーカイブ。"
          },
          "minMatch": {
            "title": "最低Match（趣味ID必須）",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "指定した趣味コミュニティとの一致度の下限（0〜100）。"
          },
          "minOpportunity": {
            "title": "最低Opportunity",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "十分な成約比較根拠がある商品の価格評価下限。不明な商品は含みません。"
          },
          "minNovelty": {
            "title": "最低Novelty",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "珍しさ・話題性スコアの下限（0〜100）。"
          },
          "minConfidence": {
            "title": "最低Confidence",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "AIによる商品理解の信頼度の下限（0〜100）。"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}