Scraper Data Set History V4

GET www.hashscraper.com/v4/api/schedules/{schedule_id}/schedule_results

Returns the data set history of a single scraper, paginated.

Returns up to limit data sets per call (default 100, max 1000). Pass the response's next_cursor back as the cursor on the next call to fetch the next page.

Use sr_status to filter to data sets in a specific status.

schedule.latest_schedule_result_id is the most recent data set ID for this scraper, returned identically regardless of which page you're on.

Request Parameters

  • Authorization: Header
    HashScraper API key. Send it in the form Bearer <api_key>.
    Example Bearer YOUR_API_KEY
  • schedule_id: String (path)
    ID of the scraper to query. Passed as the {schedule_id} path segment. You can copy the Bot ID from Actions → Copy Bot ID on the scraper's detail page.
    Example 8f3a7c1e9b5d24f6
  • sorting: optional String
    Sort direction by data set ID. Do not change mid-pagination — the cursor direction flips with it.
    Default asc Allowed asc, desc
  • cursor: optional Integer
    Pass the response's next_cursor back to fetch the next page. Applied in the current sorting direction.
  • sr_status: optional String
    Filter to data sets in this status. One of canceling, canceled, finish, ready, retry, running, complete.
    Allowed canceling, canceled, finish, ready, retry, running, complete
  • limit: optional Integer
    Maximum data sets per page.
    Default 100 Allowed 1 ~ 1000

Response Fields

  • result: String
    Result of the request.
    Allowed success, error
  • version: String
    API version.
    Example v4
  • request_id: String
    Request trace ID.
    Example req_5a8c1f1c-...
  • elapsed_sec: Float
    Time the server took to produce the response, in seconds (Float).
    Example 0.0142
  • count: Integer
    Number of data sets in this response.
  • next_cursor: Integer | null
    Pass back as cursor on the next call. null means this is the last page.
  • schedule: Object
    Context of the queried scraper (returned identically across pages).
    • id: String
      Echo of the scraper ID.
    • name: String
      Scraper name.
    • latest_schedule_result_id: Integer | null
      Most recent data set ID for this scraper. null when the scraper has no data sets yet.
  • data: Array<Object>
    Array of data sets.
    • schedule_result_id: Integer
      Data set ID.
    • sr_status: String
      Collection status. Typically one of ready, running, retry, finish/complete, canceling (cancel in progress), canceled (cancel finished). Some legacy data sets may return locale-translated labels (e.g. Korean '완료'/'처리중'/'취소'/'중지' or English Complete/Processing/Cancel/Stop).
    • data_count: Integer
      Number of results collected in this data set. While the data set is in progress this is real-time and may increase between polls.
    • created_at: String (ISO 8601)
      Data set creation time (ISO 8601, Asia/Seoul).
    • updated_at: String (ISO 8601)
      Data set last update time (ISO 8601, Asia/Seoul). Updated frequently by the worker during collection, and typically stays constant after completion.
    • param_info: Object
      Snapshot of the parameters used for this data set. Keys are stable (param1~paramN) and each entry contains name (label) and value.
    • union: Boolean | null
      Whether union mode is enabled. Union mode reuses the scraper's last data set instead of creating a new one, accumulating results inside it. Reflects the union value recorded at the time this collection ran.

Error Responses

  • MISSING_API_KEY
    Missing or malformed Authorization header. Send as Authorization: Bearer <api_key>. (HTTP 401)
    {
      "result": "error",
      "version": "v4",
      "request_id": "req_5a8c1f1c-...",
      "code": "MISSING_API_KEY",
      "message": "API key is missing.",
      "elapsed_sec": 0.0008,
      "details": { "hint": "Send `Authorization: Bearer <api_key>` header." }
    }
  • INVALID_API_KEY
    No user matches the provided API key. (HTTP 401)
    {
      "result": "error",
      "version": "v4",
      "request_id": "req_5a8c1f1c-...",
      "code": "INVALID_API_KEY",
      "message": "API key is invalid.",
      "elapsed_sec": 0.0011
    }
  • SCHEDULE_NOT_FOUND
    No scraper matches the ID, or the caller does not have access. (HTTP 404)
    {
      "result": "error",
      "version": "v4",
      "request_id": "req_5a8c1f1c-...",
      "code": "SCHEDULE_NOT_FOUND",
      "message": "Schedule not found.",
      "elapsed_sec": 0.0021,
      "details": { "resource": "schedule", "id": "8f3a7c1e9b5d24f6" }
    }
  • INVALID_PARAM (sorting)
    sorting must be asc or desc. (HTTP 400)
    {
      "result": "error",
      "version": "v4",
      "request_id": "req_5a8c1f1c-...",
      "code": "INVALID_PARAM",
      "message": "Invalid sorting parameter.",
      "elapsed_sec": 0.0014,
      "details": { "param_name": "sorting", "allowed": ["asc","desc"] }
    }
  • INVALID_PARAM (sr_status)
    sr_status is not one of the allowed values. (HTTP 400)
    {
      "result": "error",
      "version": "v4",
      "request_id": "req_5a8c1f1c-...",
      "code": "INVALID_PARAM",
      "message": "Invalid sr_status parameter.",
      "elapsed_sec": 0.0014,
      "details": { "param_name": "sr_status", "value": "unknown", "allowed": ["canceling","canceled","finish","ready","retry","running","complete"] }
    }

Related Guides

Example Request
  • cURL
  • Ruby
  • Python
  • NodeJS
  • PHP
  • Java
Optional
Example Response 200
{
  "result": "success",
  "version": "v4",
  "request_id": "req_5a8c1f1c-9b2d-4e7c-9abf-3f7e0a4d1b21",
  "elapsed_sec": 0.0142,
  "count": 2,
  "next_cursor": null,
  "schedule": {
    "id": "8f3a7c1e9b5d24f6",
    "name": "네이버 뉴스 검색",
    "latest_schedule_result_id": 239758029
  },
  "data": [
    {
      "schedule_result_id": 239758028,
      "sr_status": "finish",
      "data_count": 100,
      "created_at": "2026-05-06T10:00:00+09:00",
      "updated_at": "2026-05-06T10:01:23+09:00",
      "param_info": {
        "param1": { "name": "키워드", "value": "키성장" },
        "param2": { "name": "정렬",   "value": "관련도순" }
      },
      "union": false
    },
    {
      "schedule_result_id": 239758029,
      "sr_status": "running",
      "data_count": 42,
      "created_at": "2026-05-07T09:00:00+09:00",
      "updated_at": "2026-05-07T09:00:14+09:00",
      "param_info": {
        "param1": { "name": "키워드", "value": "백엔드" },
        "param2": { "name": "정렬",   "value": "최신순" }
      },
      "union": false
    }
  ]
}