Scan your whole stack
From OX Research Newsroom
Are you using raspbytes?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v1.1.0
raspbytes was last scanned on 27 Nov 2026 at version 1.1.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.1.0 LATEST | 27 Nov 2026 | No rules fired |
Findings for v1.1.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 1.1.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
The official Python SDK for Raspbytes provides synchronous and asynchronous clients for Proxies, Browser API, Web Unblocker, and Scraper API. It includes typed requests, structured API errors, and helpers for polling long-running operations.
Requires Python 3.11 or later.
python -m pip install raspbytes
Create an API key in the Raspbytes dashboard and set RASPBYTES_API_KEY in your environment.
export RASPBYTES_API_KEY='rb_live_your_key_here'
Both clients read RASPBYTES_API_KEY automatically. You can also pass api_key= when
creating a client.
Fetch a page with Web Unblocker. The client context manager closes the HTTP connection pool.
from raspbytes import Raspbytes, UnblockRequest
with Raspbytes() as client:
page = client.unblocker.retrieve(UnblockRequest(url="https://example.com"))
print(page["status"], page["http_status"])
from raspbytes import ProxyConnectionParams, Raspbytes
with Raspbytes() as client:
connection = client.proxies.create(
ProxyConnectionParams(
proxy_type="residential",
country="US",
protocol="http",
)
)
proxy_url = connection["proxy_url"]
Pass proxy_url directly to your HTTP client's proxy setting. The URL contains credentials.
Use proxies.options() to discover available locations and protocols for your account.
For a sticky connection, provide session_type="sticky" and a session_id. Use
release_sticky_session(session_id) to end the session early.
from raspbytes import BrowserProxy, BrowserSessionParams, Raspbytes
with Raspbytes() as client:
created = client.browser.create_session(
BrowserSessionParams(
browser="chromium",
proxy=BrowserProxy(type="datacenter", country="GB"),
session_timeout_seconds=900,
)
)
try:
session = client.browser.wait_until_ready(created["id"])
browser_url = session["connection"]["url"]
# Use browser_url with Playwright's chromium.connect_over_cdp().
finally:
client.browser.terminate_session(created["id"])
Keep the browser WebSocket URL private. Use browser.proxy_options() to discover available
proxy options for your account.
Use retrieve() to fetch a page in one request. To submit the request and collect the result
later, use create_request() and wait_for_request().
from raspbytes import Raspbytes, UnblockRequest
with Raspbytes() as client:
queued = client.unblocker.create_request(UnblockRequest(url="https://example.com"))
completed = client.unblocker.wait_for_request(queued["id"], timeout=120)
Google, Bing, and DuckDuckGo are managed scrapers under client.scraper. The managed catalog
exports a typed input dictionary and a revision-pinned handle for each scraper.
from uuid import uuid4
from raspbytes import Raspbytes
from raspbytes.managed_scrapers import GOOGLE_SEARCH, GoogleSearchInputs
with Raspbytes() as client:
scraper = client.scraper
inputs = GoogleSearchInputs(
query="coffee shops in London",
country="gb",
language="en",
device="desktop",
)
run = scraper.hub.run_managed(
GOOGLE_SEARCH,
inputs,
idempotency_key=str(uuid4()),
)
completed = scraper.runs.wait(run["id"], timeout=90)
print(completed.get("result"))
Use hub.list() and hub.get() to discover available scrapers, revisions, and input and
output schemas. For private or newly discovered scrapers, pass the Hub ID and inputs to
hub.run() or hub.run_and_wait(). Use the scraper's output schema to validate the result
field for your application.
Use runs.iterate() to stream run history across pages and runs.cancel(run_id) to cancel a
server-side run. Cancelling an asyncio task stops the local wait. An idempotency key enables
response retries for a submission when the service marks the failure retryable. Use a new key
for each logical run and reuse it when retrying that run.
COUNTRIES provides ISO country codes and display names. For managed search scrapers, the
country input selects the search market and configuration.country sets the execution origin.
Use scraper.tasks to save Hub inputs, create revisions, and run a saved task. Use
scraper.schedules to run a task on a cadence or submit an immediate run.
from raspbytes import Raspbytes
from raspbytes.managed_scrapers import GOOGLE_SEARCH
from raspbytes.scraper_types import CreateScrapingTaskParams
task_request = CreateScrapingTaskParams(
scraper=GOOGLE_SEARCH.id,
revision=GOOGLE_SEARCH.revision,
name="London coffee shops",
configuration={
"inputs": {
"query": "coffee shops in London",
"country": "gb",
"language": "en",
"device": "desktop",
}
},
)
with Raspbytes() as client:
task = client.scraper.tasks.create(task_request)
schedule = client.scraper.schedules.create(
{
"task": task["id"],
"name": "Weekday refresh",
"frequency": "custom",
"weekdays": [1, 2, 3, 4, 5],
"timezone": "Europe/London",
"time_of_day": "09:00:00",
}
)
run = client.scraper.schedules.run_now(schedule["id"])
finished = client.scraper.runs.wait(run["id"], timeout=90)
artifacts = client.scraper.storage.list_for_run(finished["id"])
storage.iterate() streams retained outputs. create_download_link() returns a short-lived
URL that should be treated as a secret.monitoring.get(scope_type="task", scope_id=task_id, window="24h") reads task metrics.
list_scopes() discovers available scopes. Policy methods read, patch, or evaluate alerts.builder manages account-owned scrapers, immutable revisions, access shares, and publication.schedules.pause() and schedules.resume() set an explicit enabled state. Use
toggle_pause() when you want the API to flip the current state.Request and response types are available from raspbytes.scraper_types. With
AsyncRaspbytes, await the same methods and use async for with storage.iterate().
Replace client.serp with client.scraper. Choose GOOGLE_SEARCH, BING_SEARCH, or
DUCKDUCKGO_SEARCH in place of the old engine argument, and consult that scraper's input schema.
Read the output from the completed run's result field. Move SerpConfig to
RaspbytesConfig(scraper=ScraperConfig(...)).
The async client exposes the same resource and method names:
import asyncio
from raspbytes import AsyncRaspbytes
async def main() -> None:
async with AsyncRaspbytes() as client:
result = await client.scraper.hub.list(scope="raspbytes")
print(result)
asyncio.run(main())
Use RaspbytesConfig to share defaults across products, then configure individual products
with ProxyConfig, BrowserConfig, UnblockerConfig, or ScraperConfig. Both clients
accept the same configuration objects.
from raspbytes import BrowserConfig, Raspbytes, RaspbytesConfig
config = RaspbytesConfig(
timeout=30,
max_retries=2,
browser=BrowserConfig(timeout=120, poll_timeout=90, poll_interval=0.5),
)
with Raspbytes(config=config) as client:
options = client.browser.proxy_options()
Product settings override constructor arguments for that product. Constructor arguments override
values in RaspbytesConfig. A polling argument such as timeout= on scraper.runs.wait()
applies to that call. The default API root is https://api.raspbytes.com/api/v1/.
from raspbytes import APIError, Raspbytes, RateLimitError, ScraperRunError
try:
with Raspbytes() as client:
client.scraper.runs.wait("run_id_from_submission", timeout=30)
except ScraperRunError as exc:
print(exc.request_id, exc.status, exc.code, exc.retryable)
except RateLimitError as exc:
print(exc.status_code, exc.code, exc.request_id)
except APIError as exc:
print(exc.status_code, exc.message, exc.body)
APIError exposes the HTTP status, message, and response body. The SDK raises more specific
exceptions for common failures such as rate limits. It retries connection establishment failures
and API responses marked as retryable, subject to the configured retry limit.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.