Download the PHP package cryptohopper/sdk without Composer
On this page you can find all versions of the php package cryptohopper/sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cryptohopper/sdk
More information about cryptohopper/sdk
Files in cryptohopper/sdk
Package sdk
Short Description Official PHP SDK for the Cryptohopper API. Typed exceptions, auto-retry on 429, full coverage of all 18 public API domains.
License MIT
Homepage https://www.cryptohopper.com
Informations about the package sdk
Cryptohopper PHP SDK
Official PHP SDK for the Cryptohopper API — synchronous client, typed exceptions, auto-retry on 429, full coverage of all 18 public API domains.
Deeper docs: Rate Limits
Requirements
- PHP 8.1+
guzzlehttp/guzzle7.8+ (installed as a dependency)
Install
Quick start
Authentication
Every request (except endpoints explicitly marked security: [] in the OpenAPI spec) requires a bearer token, which you issue through the Cryptohopper developer dashboard.
The optional appKey attaches your OAuth client_id to every request so Cryptohopper can attribute per-app rate limits.
Configuration
Pass maxRetries: 0 to opt out of the automatic 429 backoff.
Resources
| Resource | Example call |
|---|---|
$client->user |
$client->user->get() |
$client->hoppers |
$client->hoppers->list() |
$client->exchange |
$client->exchange->ticker(exchange: 'binance', market: 'BTC/USDT') |
$client->strategy |
$client->strategy->list() |
$client->backtest |
$client->backtest->create($data) |
$client->market |
$client->market->signals() |
$client->signals |
$client->signals->chartData() |
$client->arbitrage |
$client->arbitrage->history() |
$client->marketmaker |
$client->marketmaker->get() |
$client->template |
$client->template->list() |
$client->ai |
$client->ai->availableModels() |
$client->platform |
$client->platform->countries() |
$client->chart |
$client->chart->list() |
$client->subscription |
$client->subscription->plans() |
$client->social |
$client->social->getFeed() |
$client->tournaments |
$client->tournaments->active() |
$client->webhooks |
$client->webhooks->create($data) |
$client->app |
$client->app->receipt($data) |
Errors
Every non-2xx response (and every network/timeout failure) raises Cryptohopper\Sdk\Exceptions\CryptohopperException:
Error codes are stable across every official Cryptohopper SDK (Node, Python, Go, Ruby, Rust, PHP).
Rate limits
On HTTP 429 the client sleeps for Retry-After seconds (or an exponential-backoff fallback) and retries up to maxRetries times. The final failure — whether retries were exhausted or maxRetries was zero — surfaces as CryptohopperException with code = RATE_LIMITED and retryAfterMs populated.
Versioning
Semantic versioning. While on 0.x, minor releases can ship breaking changes — we call them out in versioning policy for the full SDK-wide policy.
Official SDKs and CLI
| Language | Install | Repository |
|---|---|---|
| Node.js / TypeScript | npm i @cryptohopper/sdk |
cryptohopper-node-sdk |
| Python | pip install cryptohopper |
cryptohopper-python-sdk |
| Go | go get github.com/cryptohopper/cryptohopper-go-sdk |
cryptohopper-go-sdk |
| Ruby | gem install cryptohopper --pre |
cryptohopper-ruby-sdk |
| Rust | cargo add cryptohopper |
cryptohopper-rust-sdk |
| PHP | composer require cryptohopper/sdk |
cryptohopper-php-sdk |
| CLI | npm i -g @cryptohopper/cli or binaries |
cryptohopper-cli |
License
MIT — see LICENSE.