Request Multiple Data Collections V2
Trigger collections on multiple scrapers in a single call.
For each entry in the schedules array, this endpoint performs the same action as collect. Each entry can carry its own schedule_id and param1~param10.
Processing happens in two phases. The validation phase checks every entry's schedule_id and required parameters; if any entry fails, no collection is started and the call returns an error immediately. The execution phase enqueues the validated entries one by one — if a later entry fails here, the earlier entries that already enqueued are still running and the remaining ones are skipped.
For each entry, param1~param10 values are persisted on that scraper and become defaults for the next execution. Any parameter not included is overwritten with an empty value, so include every parameter currently in use even if you only intend to change a few.
Requests are rejected when the service ticket has expired or available credits are exhausted. In that case the response uses error_message instead of message. The same error_message key is used when schedules is not an array.
Request Parameters
-
api_key: StringHashScraper API key
-
schedules: Array<Object>Array of collection request entries. Each entry can carry
schedule_idandparam1~param10.-
schedule_id: StringID of the scraper to run.
-
param1: optional StringFirst scraper parameter. Required when enabled in the scraper configuration; if disabled, it is skipped during input validation.
-
param2: optional StringSecond scraper parameter. Same rules apply.
-
param3: optional StringThird scraper parameter. Same rules apply.
-
param4: optional StringFourth scraper parameter. Same rules apply.
-
param5: optional StringFifth scraper parameter. Same rules apply.
-
paramN (6 ≤ N ≤ 10): optional StringAdditional parameter slots used only by certain scrapers. These keys are not labelled and appear in
param_infoas-is (e.g.param6).
-
Response Fields
-
result: StringRequest outcome.
-
version: StringAPI version.
-
collect_info: Array<Object>Array of per-entry collection results, in the same order as the input
schedules.-
schedule_result_id: IntegerID of the dataset created by this entry. Use it as input to subsequent status/result lookups.
-
schedule_id: StringScraper ID echoed from the input entry.
-
param_info: ObjectParameters used for this collection. For
param1~param5, keys include the parameter labels (e.g.param1(keyword)). When the scraper has no label configured, the label slot may be empty (param1()) or a placeholder (param1(param1)). Forparam6~param10, keys are exposed without labels.
-
-
elapsed_time: FloatServer-side processing time (seconds, as a numeric value).
Error Responses
-
schedules missing
{ "result": "error", "version": "v2", "message": "`schedules` parameter is required" } -
Invalid schedules format
{ "result": "error", "version": "v2", "error_message": "Array 형식의 데이터를 입력해주세요. schedules: ...(data_type: ...)" } -
Schedule not found
{ "result": "error", "version": "v2", "message": "schedule(id: YOUR_SCHEDULE_ID) not found" } -
Required params missing
{ "result": "error", "version": "v2", "message": "[ID: YOUR_SCHEDULE_ID] 사용되는 파라미터를 모두 입력해주세요. 사용되는 파라미터: [\"param1(검색어)\"]" } -
Service ticket expired
{ "result": "error", "version": "v2", "error_message": "서비스 이용권의 기간이 만료되었습니다." } -
Credit exhausted
{ "result": "error", "version": "v2", "error_message": "보유하신 크레딧을 모두 사용하셨습니다." } -
Schedule execution blocked
{ "result": "error", "version": "v2", "message": "Schedule execution blocked: ... (schedule_id: YOUR_SCHEDULE_ID)" }
Related Guides
{
"result": "success",
"version": "v2",
"collect_info": [
{
"schedule_result_id": 13229289,
"schedule_id": "사람인_채용공고_수집_1697441449957",
"param_info": {
"param1(검색할 키워드)": "검색어A"
}
},
{
"schedule_result_id": 13229290,
"schedule_id": "네이버_뉴스_수집_1687856320079",
"param_info": {
"param1(검색할 키워드)": "검색어B"
}
}
],
"elapsed_time": 0.7843
}