urllib only) and uses synchronous HTTP; every tool function exposes all upstream parameters in its signature.dataify_sdk (note the underscore, not a hyphen).DataifyClient constructor parameters:| Parameter | Description | Default |
|---|---|---|
token | Dataify API token | Required (or set via the DATAIFY_API_TOKEN environment variable) |
base_url | Upstream base URL | https://scraperapi.dataify.com |
timeout | Request timeout (seconds) | 120 |
DataifyClient is synchronous (zero dependencies, no async client). Each tool is a standalone function whose signature already carries default values, with a docstring that lists every upstream parameter:If you omit client=, the process-level default client is used (you must setDATAIFY_API_TOKENin the environment first):result = google_images(q="noise cancelling headphones").
dataify_sdk.tools.<module>.For the full list of SERP engines (including google_maps,google_trends,google_finance,duckduckgo,yandex, and more), see the tool names indocs/api_reference.md.
spider_id with hyphens turned into underscores (for example, amazon_product_by_asin, linkedin_company_information_by_url). The sections below are grouped by platform.docs/api_reference.md in the repository.client.ai_web.| Method | Upstream endpoint | Description |
|---|---|---|
client.ai_web.search(...) | POST /search | Search news, shopping, or academic results, with optional content extraction |
client.ai_web.extract(...) | POST /extract | Extract Markdown, HTML, or links |
client.ai_web.map(...) | POST /map | Discover the URLs, titles, and descriptions of a site's pages |
X-Request-Id response header is exposed as result.request_id.None outputs value is returned as [].client.ai_web.execute_raw(...) when you need to keep the raw upstream structure.request_serp uses the search channel, request_scraper uses the scraper channel):request_serp / request_scraper and all tool functions return a parsed dict; the HTTP status code is only carried by an exception, and only on error.dataify_sdk.errors.DataifyError:| Exception | Meaning |
|---|---|
DataifyAPIError(message, status_code, body) | The upstream returned an error (status_code is the HTTP status code, body is the response body) |
DataifyConnectionError | The network is unreachable |
DataifyTimeoutError | The request timed out |
DATAIFY_API_TOKEN environment variable instead.dataify_sdk → Dataify APIs.def google_images(q: str = 'pizza', client: DataifyClient | None = None));docs/api_reference.md.| Resource | Description | Link |
|---|---|---|
| 📘 GitHub repository | Browse the source, try the examples, and contribute | GitHub |
| 📦 PyPI page | Package listing and release history | dataify-sdk |