API reference
Interactive OpenAPI for Control API /v1 — auth, hosts, and Try It.
Live contract for the Control API (/v1). The interactive viewer below loads from /openapi.yaml.
Hosts
| Environment | Base URL |
|---|---|
| Public testnet | https://api.proxyhubb.com |
| Local | http://localhost:8080 |
Buyer traffic is not on this host — use proxy.proxyhubb.com:8090 (CONNECT / SOCKS5). See Buyer proxy.
Authentication
| Scheme | Header | Use for |
|---|---|---|
| Bearer JWT | Authorization: Bearer <access_token> | Session intents, marketplace, wallet UI flows |
| API key | X-API-Key: phub_… (or Bearer phub_… / pk_…) | Bulk pools, B2B orders:create |
| Gateway | X-Gateway-Auth | Edge → control-plane only (not for apps) |
Mint partner keys with a JWT via POST /v1/bulk/api-keys. Public login is wallet-first (/v1/auth/wallet/*).
Suggested first calls
GET /v1/auth/me— confirm JWTPOST /v1/sessions/intent— rotating Connect tokenGET /v1/orders/{id}/credentials— after marketplace activationPOST /v1/bulk/pools— API-key pool path
In Scalar, set Auth to Bearer JWT (or API key) before using Try Request. Default server should be https://api.proxyhubb.com.
Rate limits
- General: ~100 req/min per user/IP
orders:createkeys: default 20/min- Headers:
X-RateLimit-Limit,X-RateLimit-Remaining
Interactive viewer: