Smart

This page will guide you on how to generate sticky and rotating proxies, Supported countries, other optional features, White labeling and FAQs regarding Smart APIs.

circle-info

How to generate sticky proxies:

const string = (length) => {
  let result = '';
  const characters = 'abcdefghijklmnopqrstuvwxyz1234567890';
  const charactersLength = characters.length;
  for (let i = 0; i < length; i++) {
    result += characters.charAt(Math.floor(Math.random() * charactersLength));
  }
  return result;
};

function proxyGenerationSticky(amount, country, username, password) {
  proxy = [];
  for (var i = 0; i < parseInt(amount); i++) {
    proxy.push(
      `smrt.x.proxiess.com:7000:${username}:${password}-cc-${country.toLowerCase()}-sessid-${string(8,
      )}-sesstime-30\n`,
    );
  }
  return proxy.join('');
}
circle-info

How to Generate Smart EU sticky proxies

How to generate rotating proxies:

circle-info

How to Generate Smart EU rotating proxies

Supported countries:

Other Optional Features:

Generate custom endpoints (proxies):

Generate custom back connect endpoints:

White labeling:

Use this method to brand your proxies with your own domain/company name

To brand the proxies under your domain follow these steps:

  1. Open the DNS configuration for your domain.

  2. Create a C Name Record pointing to the domain.

  3. Whatever you enter in the name/host will decide the domain which points to our API IP.

  4. Thus if your domain is API.comarrow-up-right and you enter the host premium pointing to the Smart Proxies domain, your proxies will be formatted premium.yourdomain.comarrow-up-right:port:user:pass

  5. An example on Godaddy is linked below:

FAQ

What is Authorization?

This is a header value you provide with every request. We are using the Bearer token so send in the header like this: "Authorization: Bearer <your API token>"

  • Im getting this error: {"message":"username cannot be null or undefined.","timestamp":1634146275996} how do I fix it?

Make sure you have this "Content-Type": "application/json" header present in your requests.

Headers

Please check on how to send requests with headers in whichever languages you are using.

POST Request:

GET Request:

Last updated