Search Jobs
Web DataEvery 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/jobsThe 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:
| Field | Description |
|---|---|
jobs | Search jobs on the current page. |
page | Current page number. |
page_size | Number of jobs returned per page. |
page_count | Total 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:
| Field | Description |
|---|---|
job_id | Unique job identifier. |
query | Search query that was submitted. |
status | Job status. |
results_count | Number of results returned. |
duration_ms | Execution time in milliseconds. |
block_reason | Upstream block classification for failed jobs. |
error_code | Machine-readable error code for failed jobs. |
created_at | Time when the search job was created. |
completed_at | Time 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:
| Parameter | Description |
|---|---|
query | Filter by search query using a partial match. |
status | Filter by job status. |
start_date | Filter jobs created on or after this date. |
end_date | Filter 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:
pagepage_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.
| Field | Description |
|---|---|
job_id | Unique job identifier. |
query | Search query that was submitted. |
locale | Locale requested for the search. |
page | Result page that was requested. |
safe | Safe-search level requested. |
time_range | Time range filter, if requested. |
status | Job status. |
results | Search results. |
results_count | Number of results returned. |
suggestions | Query suggestions returned by the engine. |
spelling_correction | Spelling correction applied to the query. |
attempts | Number of upstream attempts made. |
final_url | Final upstream URL when exposed; may be "". |
duration_ms | Execution time in milliseconds. |
tokens_charged | Tokens charged for the job. |
block_reason | Upstream block classification for failed jobs. |
error_code | Machine-readable error code. |
error_message | Human-readable error description. |
created_at | Time when the search job was created. |
completed_at | Time 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
cancelledThe 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?