Search Jobs

Web Data

Every Search request returns a unique job_id. You can use this ID to retrieve the details of a completed search job, or use the Search Jobs endpoint to find previous searches.

Search Job Workflow

The following diagram shows how the Search Job endpoints work together.

List Search Jobs

Use the Search Jobs endpoint to list search jobs for the authenticated user.

GET /v1/search/jobs

The endpoint supports optional filtering and pagination.

Example Request

curl "https://scraper.geonode.io/v1/search/jobs" \
  -H "X-Api-Key: YOUR_API_KEY"

Example Response

Example list response:

{
  "jobs": [
    {
      "job_id": "de63c96e-0db8-4709-aa05-a8cbfeb283e7",
      "query": "web scraping best practice",
      "status": "completed",
      "results_count": 9,
      "duration_ms": 1614,
      "block_reason": null,
      "error_code": null,
      "created_at": "2026-11-13T08:51:01.707769Z",
      "completed_at": "2026-11-13T08:51:03.348957Z"
    }
  ],
  "page": 1,
  "page_size": 2,
  "page_count": 75
}

The response contains:

FieldDescription
jobsSearch jobs on the current page.
pageCurrent page number.
page_sizeNumber of jobs returned per page.
page_countTotal number of pages available.

These fields are defined by the SearchJobsResponse schema.

Search Job Fields

Each item in the jobs array is a SearchListItemResponse.

The available fields are:

FieldDescription
job_idUnique job identifier.
querySearch query that was submitted.
statusJob status.
results_countNumber of results returned.
duration_msExecution time in milliseconds.
block_reasonUpstream block classification for failed jobs.
error_codeMachine-readable error code for failed jobs.
created_atTime when the search job was created.
completed_atTime when the search job finished.

The OpenAPI defines job_id, query, status, and created_at as required fields. The remaining fields can be absent or nullable according to the schema.

Filter Search Jobs

You can filter the jobs returned by GET /v1/search/jobs.

The available filters are:

ParameterDescription
queryFilter by search query using a partial match.
statusFilter by job status.
start_dateFilter jobs created on or after this date.
end_dateFilter jobs created on or before this date.

For example, to filter jobs by query:

curl "https://scraper.geonode.io/v1/search/jobs?query=web%20scraping" \
  -H "X-Api-Key: YOUR_API_KEY"

To filter by status:

curl "https://scraper.geonode.io/v1/search/jobs?status=completed" \
  -H "X-Api-Key: YOUR_API_KEY"

The OpenAPI defines these four filters for the Search Jobs endpoint.

Paginate Search Jobs

The Search Jobs endpoint supports pagination using:

  • page
  • page_size

page specifies the page number and defaults to 1.

page_size specifies the number of results per page. It must be between 1 and 100 and defaults to 10.

For example:

curl "https://scraper.geonode.io/v1/search/jobs?page=1&page_size=20" \
  -H "X-Api-Key: YOUR_API_KEY"

The response includes page, page_size, and page_count so you can determine the current page and the total number of available pages.

Maximum Page Size

The page_size parameter accepts values from 1 through 100.

Retrieve Search Job Details

Once you have a job_id, use the Search Job endpoint to retrieve the full details and results for a completed search job.

GET /v1/search/{job_id}

For example:

curl "https://scraper.geonode.io/v1/search/de63c96e-0db8-4709-aa05-a8cbfeb283e7" \
  -H "X-Api-Key: YOUR_API_KEY"

Example Response

Example job-details payload (results truncated). final_url is often an empty string when the upstream URL is not exposed.

{
  "job_id": "de63c96e-0db8-4709-aa05-a8cbfeb283e7",
  "query": "web scraping best practice",
  "locale": null,
  "page": 1,
  "safe": "off",
  "time_range": null,
  "status": "completed",
  "results": [
    {
      "position": 1,
      "title": "Web Scraping Best Practices and Tools 2026",
      "url": "https://www.zenrows.com/blog/web-scraping-best-practices",
      "snippet": "Top 10 Web Scraping Best Practices...",
      "thumbnail": null,
      "displayed_url": "https://www.zenrows.com › Blog",
      "source_host": null
    }
  ],
  "results_count": 9,
  "suggestions": [],
  "spelling_correction": null,
  "attempts": 1,
  "final_url": "",
  "duration_ms": 1614,
  "tokens_charged": 1,
  "block_reason": null,
  "error_code": null,
  "error_message": null,
  "created_at": "2026-11-13T08:51:01.707769Z",
  "completed_at": "2026-11-13T08:51:03.348957Z"
}

The GET /v1/search/{job_id} endpoint retrieves the full details and results for a completed search job.

Search Job Details

The detailed response contains the search configuration, status, results, and execution information.

FieldDescription
job_idUnique job identifier.
querySearch query that was submitted.
localeLocale requested for the search.
pageResult page that was requested.
safeSafe-search level requested.
time_rangeTime range filter, if requested.
statusJob status.
resultsSearch results.
results_countNumber of results returned.
suggestionsQuery suggestions returned by the engine.
spelling_correctionSpelling correction applied to the query.
attemptsNumber of upstream attempts made.
final_urlFinal upstream URL when exposed; may be "".
duration_msExecution time in milliseconds.
tokens_chargedTokens charged for the job.
block_reasonUpstream block classification for failed jobs.
error_codeMachine-readable error code.
error_messageHuman-readable error description.
created_atTime when the search job was created.
completed_atTime when the search job finished.

These fields are defined by SearchJobDetailResponse in the OpenAPI.

Job Status

Search jobs use the JobStatus schema.

The available statuses are:

queued
processing
completed
failed
cancelled

The Search Jobs response uses this status field for each listed search job.

Complete Search Job Workflow

What's Next?

You now know how to list Search jobs, filter and paginate the job list, and retrieve the details of a completed search job.

Continue with Search Errors to learn about the Search API error responses.

Was this page helpful?

On this page