CLI
A command-line tool for sending requests, managing your escrow balance, and inspecting on-chain state.
Install
pip install spacerouterspacerouter --versionEnvironment
Variable
Used by
request — send proxy requests
request — send proxy requestsspacerouter request get https://httpbin.org/ip --pay --region US --ip-type residential
spacerouter request post https://api.example.com/v1/items --pay \
-H "Content-Type: application/json" \
--data '{"name":"widget"}'Common flags
Flag
Purpose
escrow — manage your on-chain balance
escrow — manage your on-chain balanceRead commands
Write commands (need --private-key or SR_ESCROW_PRIVATE_KEY)
--private-key or SR_ESCROW_PRIVATE_KEY)receipts — inspect on-chain receipt state
receipts — inspect on-chain receipt stateExamples
Top up and use SPACE for a session
Last updated
Was this helpful?