Request a Data Collection V2
Trigger a new data collection job on a given scraper.
Creates a new dataset immediately and starts collection in the background. Use the returned schedule_result_id to query progress and results later.
You must supply every param1~param5 that is enabled in the scraper's parameter configuration; disabled ones are ignored. Use get_param_info to check which parameters are required.
The param1~param5 values you send are not only used for this run — they are also persisted on the scraper itself and become the defaults for the next execution. Any parameter not included in the request 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.
Request Parameters
-
api_key: StringHashScraper API key
-
schedule_id: StringID of the scraper to run.
-
param1: optional StringFirst scraper parameter. Required if enabled in the scraper configuration; if disabled, it is skipped during input validation. Any value you send is still echoed back in
param_infoand persisted on the scraper. -
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: ObjectDetails about the triggered collection job.
-
schedule_result_id: IntegerID of the dataset created by this request. Use it as input to subsequent status/result lookups.
-
schedule_id: StringScraper ID echoed from the request.
-
param_info: ObjectParameters used for this collection. For
param1~param5, keys include the scraper's parameter labels (e.g.param1(keyword)).
-
-
elapsed_time: FloatServer-side processing time (seconds, as a numeric value).
Error Responses
-
schedule_id missing
{ "result": "error", "version": "v2", "message": "`schedule_id` parameter is required" } -
Schedule not found
{ "result": "error", "version": "v2", "message": "schedule(id: YOUR_SCHEDULE_ID) not found" } -
Required params missing
{ "result": "error", "version": "v2", "message": "사용되는 파라미터를 모두 입력해주세요. 사용되는 파라미터: [\"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: ..." }
Related Guides
{
"result": "success",
"version": "v2",
"collect_info": {
"schedule_result_id": 13229287,
"schedule_id": "사람인_채용공고_수집_1697441449957",
"param_info": {
"param1(검색할 키워드)": "개발자",
"param2(최대 수집 개수)": "10"
}
},
"elapsed_time": 0.6725
}