Understanding Search Results
Web DataThe Search API returns a SearchResponse containing the submitted query, the returned result page, search results, and additional search information.
Search Response
A successful Search request returns the following top-level fields:
| Field | Description |
|---|---|
job_id | Unique job identifier for this search. |
engine | Engine that actually served these results. |
query | Search query that was submitted. |
page | Result page that was returned. |
attempts | Number of upstream attempts made. |
results | Search results returned by the API. |
suggestions | Query suggestions returned by the engine. |
spelling_correction | Spelling correction applied to the query. |
The OpenAPI defines job_id, engine, query, page, attempts, results, and suggestions as required response fields. spelling_correction can be a string or null.
Example Response
Example sync response (results truncated):
{
"job_id": "de63c96e-0db8-4709-aa05-a8cbfeb283e7",
"engine": "search-api",
"query": "web scraping best practice",
"page": 1,
"attempts": 1,
"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
}
],
"suggestions": [],
"spelling_correction": null
}The response above uses the fields defined by the SearchResponse and SearchHitModel schemas.
Search Results
The results field is an array of SearchHitModel objects.
Each search result contains three required fields:
positiontitleurl
It can also contain:
snippetthumbnaildisplayed_urlsource_host
Result Fields
| Field | Required | Description |
|---|---|---|
position | Yes | 1-based rank of this result on the page. |
title | Yes | Result title. |
url | Yes | Result target URL. |
snippet | No | Result preview text. |
thumbnail | No | Thumbnail image URL, if available. |
displayed_url | No | Human-readable URL as shown by the engine. |
source_host | No | Hostname the result was served from. |
The OpenAPI defines position, title, and url as the required fields for each result. thumbnail, displayed_url, and source_host can be null.
Working With a Result
A result can be accessed from the results array.
For example, the first result in the response is:
{
"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
}The position identifies the result's 1-based rank on the returned page.
The title and url identify the result, while the remaining fields provide additional result information when available.
Suggestions
The suggestions field contains query suggestions returned by the engine.
In the example response, no suggestions were returned:
{
"suggestions": []
}The OpenAPI defines suggestions as an array of strings.
Spelling Correction
The spelling_correction field contains the spelling correction applied to the query.
It can contain a string or null.
In the example response:
{
"spelling_correction": null
}The OpenAPI defines this field as either a string or null.
Complete Response Structure
The Search response can be represented by the following structure:
SearchResponse
├── job_id
├── engine
├── query
├── page
├── attempts
├── results[]
│ ├── position
│ ├── title
│ ├── url
│ ├── snippet
│ ├── thumbnail
│ ├── displayed_url
│ └── source_host
├── suggestions[]
└── spelling_correctionThis structure follows the SearchResponse and SearchHitModel schemas defined in the OpenAPI specification.
What's Next?
You now understand the structure of a Search API response.
Continue with Pagination and Filters to learn how to work with result pages and the available Search request filters.
Was this page helpful?