{
  "openapi": "3.0.1",
  "info": {
    "title": "JD.com Distressed Asset Scraper - NPL Debt & Collateral Data",
    "description": "Extract distressed asset and non-performing loan listings from JD.com 京东招商项目: principal, interest, total claim, collateral schedule, debtor and guarantor detail. Filter by category, province, and insolvency route. 120,000+ listings from Chinese AMCs and banks. Export JSON, CSV, Excel.",
    "version": "0.0",
    "x-build-id": "o6P8adh1dejBFnMvQ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/zen-studio~jd-com-distressed-asset-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-zen-studio-jd-com-distressed-asset-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/zen-studio~jd-com-distressed-asset-scraper/runs": {
      "post": {
        "operationId": "runs-sync-zen-studio-jd-com-distressed-asset-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/zen-studio~jd-com-distressed-asset-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-zen-studio-jd-com-distressed-asset-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": {
          "searchKeyword": {
            "title": "关键词 Keyword",
            "type": "string",
            "description": "Optional keyword.<br><br>Examples:<br>• <code>债权</code> debt claim<br>• <code>长城</code> a disposing institution<br>• <code>重整</code> restructuring<br><br>Leave blank to return everything in the selected filters."
          },
          "mode": {
            "title": "运行模式 Mode",
            "enum": [
              "search",
              "incremental"
            ],
            "type": "string",
            "description": "<b>Search</b> returns listings matching your filters. <b>New listings only</b> returns just what appeared since your last run of this Actor, so a scheduled run never re-delivers what you already have.",
            "default": "search"
          },
          "category": {
            "title": "标的分类 Category",
            "enum": [
              "all",
              "debt",
              "residential",
              "commercial_property",
              "industrial_property",
              "other_property",
              "real_estate",
              "land",
              "equity",
              "machinery",
              "intangible_assets",
              "intellectual_property",
              "vehicles",
              "vessels",
              "mineral_rights",
              "luxury"
            ],
            "type": "string",
            "description": "Asset category. <b>Debt 债权</b> is by far the largest here. Property, land and equity also appear; this marketplace carries no consumer goods, so those categories are not offered.",
            "default": "all"
          },
          "investmentType": {
            "title": "投资类型 Investment type",
            "type": "array",
            "description": "Optional. Restrict to insolvency routes such as <b>restructuring 重整</b> or <b>bankruptcy liquidation 破产清算</b>. Pick several to combine them.",
            "items": {
              "type": "string",
              "enum": [
                "restructuring",
                "common_benefit_debt",
                "bankruptcy_liquidation",
                "forced_liquidation",
                "pre_restructuring"
              ],
              "enumTitles": [
                "Restructuring 重整",
                "Common benefit debt 共益债",
                "Bankruptcy liquidation 破产清算",
                "Forced liquidation 强制清算",
                "Pre-restructuring 预重整"
              ]
            },
            "default": []
          },
          "province": {
            "title": "省份 Province",
            "enum": [
              "",
              "北京",
              "上海",
              "天津",
              "重庆",
              "河北",
              "山西",
              "河南",
              "辽宁",
              "吉林",
              "黑龙江",
              "内蒙古",
              "江苏",
              "山东",
              "安徽",
              "浙江",
              "福建",
              "湖北",
              "湖南",
              "广东",
              "广西",
              "江西",
              "四川",
              "海南",
              "贵州",
              "云南",
              "西藏",
              "陕西",
              "甘肃",
              "青海",
              "宁夏",
              "新疆",
              "台湾",
              "港澳"
            ],
            "type": "string",
            "description": "Optional province to narrow by location, for example <code>广东</code>, <code>山东</code>, <code>浙江</code>. Combine with city and district to narrow further.",
            "default": ""
          },
          "city": {
            "title": "城市 City",
            "enum": [
              "",
              "72",
              "2800",
              "2801",
              "2802",
              "2805",
              "2806",
              "2807",
              "2808",
              "2809",
              "2810",
              "2812",
              "2814",
              "2816",
              "2901",
              "2953",
              "3065",
              "78",
              "2813",
              "2815",
              "2817",
              "2822",
              "2823",
              "2824",
              "2825",
              "2826",
              "2830",
              "2833",
              "2834",
              "2835",
              "2837",
              "2841",
              "2919",
              "51035",
              "51036",
              "51037",
              "51038",
              "51039",
              "51040",
              "51041",
              "51042",
              "51043",
              "51044",
              "51045",
              "51046",
              "51047",
              "51048",
              "51049",
              "51050",
              "51051",
              "51052",
              "113",
              "114",
              "115",
              "119",
              "123",
              "126",
              "128",
              "129",
              "130",
              "131",
              "132",
              "133",
              "134",
              "135",
              "136",
              "137",
              "138",
              "139",
              "140",
              "141",
              "4164",
              "48131",
              "48132",
              "48133",
              "48201",
              "48202",
              "48203",
              "48204",
              "48205",
              "48206",
              "48207",
              "50950",
              "50951",
              "50952",
              "50953",
              "50954",
              "50995",
              "51026",
              "629403",
              "142",
              "148",
              "164",
              "199",
              "224",
              "239",
              "248",
              "258",
              "264",
              "274",
              "275",
              "146760",
              "303",
              "309",
              "318",
              "325",
              "330",
              "336",
              "350",
              "368",
              "379",
              "398",
              "3074",
              "412",
              "420",
              "427",
              "438",
              "446",
              "454",
              "458",
              "468",
              "475",
              "482",
              "489",
              "495",
              "502",
              "517",
              "527",
              "538",
              "549",
              "2780",
              "560",
              "573",
              "579",
              "584",
              "589",
              "593",
              "598",
              "604",
              "609",
              "613",
              "617",
              "621",
              "632",
              "6858",
              "639",
              "644",
              "651",
              "657",
              "664",
              "674",
              "681",
              "687",
              "2992",
              "698",
              "712",
              "727",
              "731",
              "737",
              "742",
              "753",
              "757",
              "765",
              "773",
              "776",
              "782",
              "793",
              "799",
              "805",
              "810",
              "812",
              "823",
              "835",
              "848",
              "870",
              "880",
              "891",
              "895",
              "902",
              "904",
              "911",
              "919",
              "925",
              "933",
              "939",
              "951",
              "959",
              "965",
              "972",
              "978",
              "984",
              "988",
              "1000",
              "1007",
              "1016",
              "1022",
              "1025",
              "1032",
              "1042",
              "1053",
              "1060",
              "1072",
              "1081",
              "1090",
              "1099",
              "1108",
              "1112",
              "2900",
              "1114",
              "1116",
              "1121",
              "1124",
              "1127",
              "1132",
              "1137",
              "1140",
              "1151",
              "1159",
              "1167",
              "1174",
              "1180",
              "1201",
              "1206",
              "2971",
              "1158",
              "1213",
              "1233",
              "1243",
              "1250",
              "1255",
              "1262",
              "1273",
              "1280",
              "1290",
              "1298",
              "1303",
              "1315",
              "1317",
              "1329",
              "1332",
              "1341",
              "1352",
              "1362",
              "1370",
              "1381",
              "1387",
              "1396",
              "1405",
              "1413",
              "1421",
              "1432",
              "1441",
              "1458",
              "1466",
              "1475",
              "1477",
              "1479",
              "2922",
              "2980",
              "2983",
              "3154",
              "1482",
              "1488",
              "1495",
              "1501",
              "1511",
              "1522",
              "1530",
              "1540",
              "1544",
              "1555",
              "1560",
              "1574",
              "1586",
              "1592",
              "1601",
              "1607",
              "1609",
              "1611",
              "1617",
              "1627",
              "1634",
              "1643",
              "1650",
              "1655",
              "1657",
              "1659",
              "1666",
              "1672",
              "1677",
              "1684",
              "1690",
              "1698",
              "1704",
              "1705",
              "1709",
              "1715",
              "1720",
              "1726",
              "1740",
              "1746",
              "1749",
              "1753",
              "1757",
              "1761",
              "1792",
              "1806",
              "1818",
              "3044",
              "3168",
              "1827",
              "1832",
              "1836",
              "1842",
              "1845",
              "1857",
              "1861",
              "1874",
              "1885",
              "1898",
              "1911",
              "1930",
              "1946",
              "1950",
              "1954",
              "1960",
              "1962",
              "1977",
              "1983",
              "1988",
              "1993",
              "2005",
              "2016",
              "2022",
              "2033",
              "2042",
              "2047",
              "2058",
              "2065",
              "2070",
              "2084",
              "2103",
              "2121",
              "3034",
              "3115",
              "3137",
              "3173",
              "3690",
              "3698",
              "3699",
              "3701",
              "3702",
              "3703",
              "3704",
              "3705",
              "3706",
              "3707",
              "3708",
              "3709",
              "3710",
              "3711",
              "2144",
              "2150",
              "2155",
              "2169",
              "2180",
              "2189",
              "2196",
              "2205",
              "2222",
              "2235",
              "2247",
              "2258",
              "2270",
              "2281",
              "2291",
              "2298",
              "2304",
              "2309",
              "2318",
              "2332",
              "2336",
              "2347",
              "2360",
              "2366",
              "4108",
              "2951",
              "3107",
              "3129",
              "3138",
              "3144",
              "3970",
              "3971",
              "2376",
              "2386",
              "2390",
              "2402",
              "2416",
              "2428",
              "2442",
              "2454",
              "2468",
              "2476",
              "2487",
              "2492",
              "2495",
              "2501",
              "2509",
              "2518",
              "2525",
              "2534",
              "2544",
              "2549",
              "2556",
              "2564",
              "2573",
              "3080",
              "2580",
              "2585",
              "2592",
              "2597",
              "2603",
              "2605",
              "2612",
              "2620",
              "2628",
              "2632",
              "2637",
              "2644",
              "3071",
              "2652",
              "2654",
              "2656",
              "2658",
              "2662",
              "2666",
              "2675",
              "2686",
              "2699",
              "2704",
              "2714",
              "2723",
              "2727",
              "2736",
              "2744",
              "4110",
              "15945",
              "15946",
              "53090",
              "53668",
              "129142",
              "145492",
              "146206",
              "629552",
              "629554",
              "2768",
              "52994",
              "52995"
            ],
            "type": "string",
            "description": "Pick a city (or a district for the municipalities 北京/上海/天津/重庆). Type the pinyin name to filter, for example <code>Shenzhen</code> or <code>Chaoyang</code>. When set, this narrows past Province on its own.",
            "default": ""
          },
          "sort": {
            "title": "排序 Sort",
            "enum": [
              "default",
              "newest_published",
              "oldest_published",
              "most_interest",
              "least_interest",
              "reference_value_desc",
              "reference_value_asc"
            ],
            "type": "string",
            "description": "Order the results. Note that promoted listings appear first regardless of the sort you choose, so sort your export on <code>publishTime</code> if exact ordering matters.",
            "default": "default"
          },
          "enrichDetail": {
            "title": "详情 Detail enrichment",
            "type": "boolean",
            "description": "Fetch the full record for each listing: debtor and guarantor detail, the collateral schedule, the full project description, and available financing terms. Billed per listing enriched.",
            "default": true
          },
          "downloadAttachments": {
            "title": "附件下载 Save documents",
            "type": "boolean",
            "description": "Save attached documents (loan schedules 债权清单, announcements, court papers) into this run's storage and return their keys. Roughly 1 listing in 20 has one. Billed per file saved.",
            "default": false
          },
          "includeTestRows": {
            "title": "包含测试数据 Include placeholder listings",
            "type": "boolean",
            "description": "A small number of placeholder listings sit in the live data. They are excluded by default; the run log reports how many were skipped.",
            "default": false
          },
          "sinceId": {
            "title": "起始编号 Start after listing",
            "minimum": 0,
            "type": "integer",
            "description": "Advanced, for <b>New listings only</b> mode. Return listings newer than this listing number instead of the automatically stored position. Leave blank for normal use."
          },
          "maxItems": {
            "title": "数量 Max listings",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum listings to return.",
            "default": 20
          },
          "maxPages": {
            "title": "最大页数 Max pages",
            "minimum": 0,
            "type": "integer",
            "description": "Optional hard stop on pages fetched. Leave blank for automatic."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}