Skip to content

About

Zenrows® SDK for effective scraping in the Go programming language

Topics

Resources

Code of conduct

Contributing

Stars

5 stars

Watchers

2 watching

Forks

Repository files navigation

ZenRows Logo

Documentation  ·  Pricing


ZenRows Go SDK

ZenRows® provides a powerful web scraping toolkit to help you collect, process, and manage web data effortlessly. Whether you need scalable data extraction, a robust browser solution for dynamic websites or residential proxies to access geo-targeted content, we have the right tools for your specific use cases.

Table of Contents

Overview

This repository hosts the official Go SDKs for integrating with different ZenRows services. Each SDK is located in its respective subdirectory and includes comprehensive documentation, installation instructions, and usage examples.

SDKs

Fetch Service

ZenRows®’ Fetch API enables fast, efficient, and hassle-free data extraction from web pages by providing versatile scraping modes. Whether you’re new to scraping or already experienced, ZenRows adapts to your needs, making it easy to collect data from the web while overcoming the common challenges posed by modern websites, including CAPTCHAs and anti-bot mechanisms.

Directory: service/api

The service/api SDK is a Go client for the ZenRows Fetch API, allowing developers to send HTTP requests to scrape websites with support for various configurations like JavaScript rendering, custom headers, retries, and more. It also wraps Extract: client.Extract() returns a page as structured JSON instead of raw HTML, on any prepared domain (you can prepare one yourself with POST /v1/extract/prepared-domains). To prepare a domain, pass 1 to 5 example URLs. One works; we recommend 3 or more of the same page type (e.g. 3 product pages), because Extract compares pages of one type to check the fields it found and fill in fields one page is missing.

Batch API Service

The Batch API runs many URLs asynchronously as a job: submit once, and it tracks progress and serves results back to you. A job can stay open to accept tasks over time, or run as a one-shot batch with every task known upfront.

Directory: service/batch

Crawl API Service

The Crawl API (new) takes one start URL, follows the links behind it, and returns the URLs it keeps — optionally with each page's HTML. A crawl runs asynchronously: start it, wait for it to end, then read its results.

Directory: service/crawl

Other Languages

Contributing

Contributions to the SDKs are welcome! See CONTRIBUTING.md for more information on how to contribute to the repository.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Zenrows® SDK for effective scraping in the Go programming language

Topics

Resources

Code of conduct

Contributing

Stars

5 stars

Watchers

2 watching

Forks

Releases

Used by

Contributors

Languages