Official SDKs
Scrapio ships official SDKs for six languages. All are generated from the OpenAPI spec and published to their respective package registries.| Language | Package | Registry |
|---|---|---|
| TypeScript / Node.js | @scrapio/api | npm |
| Python | scrapio-py | PyPI |
| Go | github.com/xsronhou/scrapio-go | pkg.go.dev |
| Ruby | scrapio | RubyGems |
| PHP | scrapio/scrapio | Packagist |
| Java | dev.scrapio:scrapio-java | Maven Central |
TypeScript SDK
Install
Initialize
| Option | Type | Default | Description |
|---|---|---|---|
apiKey | string | required | Your API key |
baseUrl | string | https://api.scrapio.dev | Override for local/staging |
timeoutMs | number | 30000 | Per-request timeout |
maxRetries | number | 3 | Max retries on 429/503 |
Usage
Error handling
Python SDK
Install
httpx for HTTP and pydantic v2 for types.
Initialize (sync)
Initialize (async)
| Option | Type | Default | Description |
|---|---|---|---|
api_key | str | required | Your API key |
base_url | str | https://api.scrapio.dev | Override for local/staging |
timeout | float | 30.0 | Per-request timeout (seconds) |
max_retries | int | 3 | Max retries on 429/503 |
Usage (sync)
Usage (async)
Error handling
Go SDK
Install
Initialize
Usage
Ruby SDK
Install
Initialize
Usage
PHP SDK
Install
Initialize
Usage
Java SDK
Install
Add to yourpom.xml:
Initialize
Usage
Changelog
Each SDK maintains aCHANGELOG.md in its package directory, updated on every release.