> For the complete documentation index, see [llms.txt](https://docs.9proxy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.9proxy.com/developers/sdk.md).

# SDK

- [SDK NodeJS](https://docs.9proxy.com/developers/sdk/sdk-nodejs.md)
- [Functions](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions.md)
- [initialize(path)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/initialize-path.md)
- [sdkGetLastError()](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/sdkgetlasterror.md)
- [createWithId(...args)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/createwithid-...args.md)
- [createProxyByPortConfigs(...args)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/createproxybyportconfigs-...args.md)
- [quickCreateProxies(...args)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/quickcreateproxies-...args.md)
- [quickCreateAtPort(...args)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/quickcreateatport-...args.md)
- [createWithConfigure(...args)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/createwithconfigure-...args.md)
- [getPorts()](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/getports.md)
- [getPortsFreeWithLimit(limit)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/getportsfreewithlimit-limit.md)
- [getPortsWithLimit(limit)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/getportswithlimit-limit.md)
- [getPortsWithStartLimit(...args)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/getportswithstartlimit-...args.md)
- [removePort(port)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/removeport-port.md)
- [isRunningPort(port)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/isrunningport-port.md)
- [testPort(port)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/testport-port.md)
- [checkPortAvailable(port)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/checkportavailable-port.md)
- [getConfigsJSON()](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/getconfigsjson.md)
- [getConfigJSON(port)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/getconfigjson-port.md)
- [setRangePort(...args)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/setrangeport-...args.md)
- [restoreData()](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/restoredata.md)
- [cleanData()](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/cleandata.md)
- [stopCommunicate()](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/stopcommunicate.md)
- [startCommunicate(...args)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/startcommunicate-...args.md)
- [stopProxy()](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/stopproxy.md)
- [stopHttpApi()](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/stophttpapi.md)
- [startHttpApi(port)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/starthttpapi-port.md)
- [setUserCountryCode(code)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/setusercountrycode-code.md)
- [setEnableProxyAuthen(enable)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/setenableproxyauthen-enable.md)
- [setProxyAuth(...args)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/setproxyauth-...args.md)
- [setSaveDataPath(path)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/setsavedatapath-path.md)
- [updateIpFormatAndPorts(...args)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/updateipformatandports-...args.md)
- [runAsync()](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/runasync.md)
- [run()](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/run.md)
- [enableDebug()](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/enabledebug.md)
- [setProtocol(proto)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/setprotocol-proto.md)
- [closeTokenChan()](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/closetokenchan.md)
- [setHeader(key, value)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/setheader-key-value.md)
- [setQuery(key, value)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/setquery-key-value.md)
- [setAPIHost(host)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/setapihost-host.md)
- [getAPIHost()](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/getapihost.md)
- [putConfigPort(...args)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/putconfigport-...args.md)
- [setConfigPorts(...args)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/setconfigports-...args.md)
- [enableAutoRotation(enable)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/enableautorotation-enable.md)
- [setAutoRotationSetting(...args)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/setautorotationsetting-...args.md)
- [enableAutoRenew(enable)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/enableautorenew-enable.md)
- [setRenewSetting(...args)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/setrenewsetting-...args.md)
- [getEnableAutoRenew()](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/getenableautorenew.md)
- [getAutoRefreshProxyRateLimit()](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/getautorefreshproxyratelimit.md)
- [getAutoRefreshProxyCountLimit()](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/getautorefreshproxycountlimit.md)
- [getPortsAvailable(...args)](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/getportsavailable-...args.md)
- [cleanHistory()](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/cleanhistory.md)
- [shutdown()](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/shutdown.md)
- [getVersionInfo()](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/getversioninfo.md)
- [getVersionName()](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/getversionname.md)
- [getVersionCode()](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/getversioncode.md)
- [getSha1Ver()](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/getsha1ver.md)
- [getBuildTime()](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/getbuildtime.md)
- [SDK Native C](https://docs.9proxy.com/developers/sdk/sdk-native-c.md)
- [Functions](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions.md)
- [SDKGetLastError](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/sdkgetlasterror.md)
- [FreeBuf](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/freebuf.md)
- [CreateWithId](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/createwithid.md)
- [CreateProxyByPortConfigs](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/createproxybyportconfigs.md)
- [QuickCreateProxies](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/quickcreateproxies.md)
- [QuickCreateAtPort](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/quickcreateatport.md)
- [CreateWithConfigure](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/createwithconfigure.md)
- [GetPortsFreeWithLimit](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/getportsfreewithlimit.md)
- [GetPorts](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/getports.md)
- [GetPortsWithLimit](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/getportswithlimit.md)
- [GetPortsWithStartLimit](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/getportswithstartlimit.md)
- [RemovePort](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/removeport.md)
- [IsRunningPort](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/isrunningport.md)
- [TestPort](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/testport.md)
- [CheckPortAvailable](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/checkportavailable.md)
- [GetConfigsJSON](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/getconfigsjson.md)
- [GetConfigJSON](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/getconfigjson.md)
- [SetRangePort](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/setrangeport.md)
- [RestoreData](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/restoredata.md)
- [CleanData](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/cleandata.md)
- [StopCommunicate](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/stopcommunicate.md)
- [StartCommunicate](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/startcommunicate.md)
- [StopProxy](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/stopproxy.md)
- [StopHttpApi](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/stophttpapi.md)
- [StartHttpApi](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/starthttpapi.md)
- [SetUserCountryCode](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/setusercountrycode.md)
- [SetEnableProxyAuth](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/setenableproxyauth.md)
- [SetProxyAuth](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/setproxyauth.md)
- [SetSaveDataPath](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/setsavedatapath.md)
- [UpdateIPFormatAndPorts](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/updateipformatandports.md)
- [SafeExit](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/safeexit.md)
- [RunAsync](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/runasync.md)
- [Run](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/run.md)
- [EnableDebug](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/enabledebug.md)
- [SetProtocol](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/setprotocol.md)
- [CloseTokenChan](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/closetokenchan.md)
- [SetHeader](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/setheader.md)
- [SetQuery](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/setquery.md)
- [SetAPIHost](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/setapihost.md)
- [GetAPIHost](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/getapihost.md)
- [PutConfigPort](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/putconfigport.md)
- [SetConfigPorts](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/setconfigports.md)
- [EnableAutoRotation](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/enableautorotation.md)
- [SetAutoRotationSetting](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/setautorotationsetting.md)
- [EnableAutoRenew](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/enableautorenew.md)
- [SetRenewSetting](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/setrenewsetting.md)
- [GetEnableAutoRenew](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/getenableautorenew.md)
- [GetAutoRefreshProxyRateLimit](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/getautorefreshproxyratelimit.md)
- [GetAutoRefreshProxyCountLimit](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/getautorefreshproxycountlimit.md)
- [GetPortsAvailable](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/getportsavailable.md)
- [CleanHistory](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/cleanhistory.md)
- [GetVersionInfo](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/getversioninfo.md)
- [GetVersionName](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/getversionname.md)
- [GetVersionCode](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/getversioncode.md)
- [GetSHA1Version](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/getsha1version.md)
- [GetBuildTime](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/getbuildtime.md)
- [SDK WebSocket Event](https://docs.9proxy.com/developers/sdk/sdk-websocket-event.md)
