Skip to main content

Querying an API Through a Proxy

An API request can be easily routed through a proxy. Supported proxy protocols include http, https, socks4, socks5 and pac.

Let's take a look at an example.


Full Query

api get
--proxy "socks5://"

Make an HTTP GET request to the REST API. The -proxy flag will forward the request to the specified socks5 proxy.

NOTE: You will need to provide your own proxy service.