Getting Started with Search

Web Data

In this guide, you'll make your first Search API request and see how the API returns search results.

Before You Begin

Before making a Search request, make sure you have:

  • A Geonode API key
  • The Scraper API base URL

If you haven't completed the initial setup, see Quick Start Guide.

Create a search by sending a POST request to the Search endpoint.

POST /v1/search

For your first search, you only need to provide a search query.

Example Request

curl -X POST "https://scraper.geonode.io/v1/search" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "web scraping best practice"
  }'

You can also send the request body as JSON:

{
  "query": "web scraping best practice"
}

Example Response

A successful request returns the search results together with a unique job ID. Results truncated to one hit.

{
  "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 contains:

FieldDescription
job_idUnique identifier for the search job.
engineEngine that actually served these results.
queryThe search query submitted to the API.
pageThe result page returned by the search.
attemptsNumber of attempts made for the search.
resultsSearch results returned for the query.
suggestionsSearch suggestions returned by the API.
spelling_correctionSpelling correction information, when available.

The results array contains the webpages returned for the search query. An empty results array on 200 means the engine answered and found nothing; that search is not charged.

You can learn more about the individual result fields in Understanding Search Results.

What Happens Next?

Your first Search request is now complete.

The next guides explain how to customize and work with Search:

Was this page helpful?

On this page