Explore Our API

An API That Is Tailored to Your Needs.

How to use the API

The Social Proxy provides APIs to manage your proxies.

To use the API, please create an account and generate a consumer key and a consumer secret using the dashboard and pass them in the API Request.


GET MY PROXIES

To get a list of your proxies you need to make a GET call to the following url:
https://thesocialproxy.com/wp-json/lmfwc/v2/licenses/customer/user-licenses


QUERY PARAMETERS

Field Type Description
consumer_key String Your consumer key
consumer_secret String Your consumer secret

ROTATE PROXY

To rotate a proxy you need to make a GET call to the following url :
https://thesocialproxy.com/wp-json/lmfwc/v2/licenses/rotate-proxy/{BASE64_ENCODED_LICENSE_STRING}


QUERY PARAMETERS

Field Type Description
consumer_key String Your consumer key
consumer_secret String Your consumer secret

VIEW PROXY LOGS

To view the logs for a proxy you need to make a GET call to the following url :
https://thesocialproxy.com/wp-json/lmfwc/v2/licenses/proxy-logs/{BASE64_ENCODED_LICENSE_STRING}


QUERY PARAMETERS

Field Type Description
consumer_key String Your consumer key
consumer_secret String Your consumer secret

CANCEL SUBSCRIPTION

To cancel the subscription for a proxy you need to make a GET call to the following url :
https://thesocialproxy.com/wp-json/lmfwc/v2/licenses/cancel-subscription/{BASE64_ENCODED_LICENSE_STRING}


QUERY PARAMETERS

Field Type Description
consumer_key String Your consumer key
consumer_secret String Your consumer secret

SET ROTATION INTERVAL

To set a rotation interval for a proxy you need to make a POST call to the following url :
https://thesocialproxy.com/wp-json/lmfwc/v2/licenses/rotation-interval/{BASE64_ENCODED_LICENSE_STRING}


QUERY PARAMETERS

Field Type Description
consumer_key String Your consumer key
consumer_secret String Your consumer secret

BODY

Field Type Description
reboot_interval Integer Value for reboot interval to be updated for a proxy

SAMPLE BODY

{
    "reboot_interval": 2
}