
Kameleo API integration
Learn how to integrate Massive Proxies with Kameleo Anti-Detect Browser to manage multiple accounts and maintain anonymity while automating web tasks.
What is Kameleo?
Kameleo is an anti-detect browser that helps you bypass anti-bot systems like Cloudflare, DataDome, and PerimeterX. Unlike traditional headless browsers that can be detected through WebDriver automation framework or CDP leaks, Kameleo ensures your automated browsers remain undetectable, appearing as genuine user browsers even when controlled through automation tools like Selenium, Puppeteer, or Playwright.
Key Features
- Realistic browser fingerprint masking
- Canvas and WebGL manipulation to avoid detection
- Unlimited browser profiles
- Mobile app for mobile profile emulation.
- Custom secure browsers: Chroma and Junglefox
- Local API for smooth automation
- Multi-platform support: Windows and macOS
- No request rate limit
Step 1: Install Kameleo
- Create a Kameleo account at their registration page
- Select and purchase a suitable plan
- Download the installer from Kameleo's download page
- Follow the installation guide
Step 2: Setting Up Massive Proxies
Massive proxies improve Kameleo's functionality by providing 100% ethically sourced residential IPs from diverse global locations. Massive residential proxies offer:
- 99.84% success rate
- Response times of <0.8s
- Coverage across 195+ locations worldwide
Massive Proxy Setup Steps
- Visit joinmassive.com and sign up for a plan.
- After signing up, go to the Proxy Auth tab in your dashboard to retrieve your proxy credentials (username and password)

For detailed configuration options, refer to the Massive documentation
Step 3: Launch Kameleo.CLI
Windows:
cd C:\Users\<YOUR_USERNAME>\AppData\Local\Programs\Kameleo
Kameleo.CLI.exe email=<YOUR_EMAIL> password=<YOUR_PASSWORD>
macOS:
cd /Applications/Kameleo.app/Contents/Resources/CLI/
./Kameleo.CLI email=<YOUR_EMAIL> password=<YOUR_PASSWORD>
Replace <YOUR_EMAIL> and <YOUR_PASSWORD> with your Kameleo credentials.
The CLI will start a local REST API server at http://localhost:5050 as shown in the image below:

Step 4: Connect to Kameleo via Python
Install the Kameleo client library:
pip install kameleo.local-api-client
Initialize Kameleo Client:
from kameleo.local_api_client import KameleoLocalApiClient
from kameleo.local_api_client.builder_for_create_profile import BuilderForCreateProfile
from kameleo.local_api_client.models import Server
client = KameleoLocalApiClient(endpoint="http://localhost:5050")
Step 5: Create a Browser Profile with Massive Proxy
5.1 Find a Base Browser Profile
Kameleo uses base profiles (real browser fingerprints) to create virtual browser profiles. You can filter these profiles based on your requirements.
base_profiles = client.search_base_profiles(
device_type="desktop", browser_product="chrome", os_family="windows", language="en-us"
)
5.2 Configure Proxy Settings
Create a new browser profile with the selected base profile and configure it to use Massive Proxies.
# Replace with your Massive credentials
proxy_settings = Server(
host="network.joinmassive.com",
port=65534,
id="massive_username", # Proxy username
secret="massive_password", # Proxy password
)
create_profile_request = (
BuilderForCreateProfile.for_base_profile(base_profiles[0].id)
.set_name("Massive + Kameleo Profile")
.set_recommended_defaults()
.set_proxy("http", proxy_settings)
.build()
)
profile = client.create_profile(body=create_profile_request)
Replace massive_username and massive_password with your Massive Proxy credentials.
Step 6: Launch the Browser
Start/stop the browser profile using the following code:
# Start the profile
client.start_profile(profile.id)
# Keep the browser open for 30 seconds
time.sleep(30)
# Stop the profile
client.stop_profile(profile.id)
Combine All Code
Here’s the complete Python script to create and start a browser profile with Massive Proxies:
from kameleo.local_api_client import KameleoLocalApiClient
from kameleo.local_api_client.builder_for_create_profile import BuilderForCreateProfile
from kameleo.local_api_client.models import Server
import time
client = KameleoLocalApiClient(endpoint="http://localhost:5050")
base_profiles = client.search_base_profiles(
device_type="desktop", browser_product="chrome", os_family="macos", language="en-us"
)
# Replace with your Massive credentials
proxy_settings = Server(
host="network.joinmassive.com",
port=65534,
id="massive_username", # Proxy username
secret="massive_password", # Proxy password
)
create_profile_request = (
BuilderForCreateProfile.for_base_profile(base_profiles[0].id)
.set_name("Kameleo Massive Integration")
.set_recommended_defaults()
.set_proxy("http", proxy_settings)
.build()
)
profile = client.create_profile(body=create_profile_request)
# Start the profile
client.start_profile(profile.id)
# Keep the browser open for 30 seconds
time.sleep(30)
# Stop the profile
client.stop_profile(profile.id)
Automate the Browser
You can automate the browser using frameworks like Selenium, Puppeteer, or Playwright. Here’s an example using Playwright:
import time
from playwright.sync_api import sync_playwright
# After starting the profile...
browser_ws_endpoint = f"ws://localhost:5050/playwright/{profile.id}"
with sync_playwright() as playwright:
# Connect to the running profile
browser = playwright.chromium.connect_over_cdp(endpoint_url=browser_ws_endpoint)
context = browser.contexts[0]
page = context.new_page()
# Visit a website
page.goto("https://www.google.com/search?q=massive+residential+proxies")
print(page.title())
time.sleep(10)
# Close the browser
browser.close()
# Stop the profile
client.stop_profile(profile.id)
For more examples, refer to the Kameleo API Examples
Managing Profiles Through GUI
You can manage and monitor your browser profiles using the Kameleo GUI. Simply log in to the Kameleo application and navigate to the Profiles section.

Additional Resources
- Kameleo Help Center
- Kameleo Documentation
- Massive Proxies Documentation
- Massive Help Center:
- Massive Sales: sales@joinmassive.com
- Massive Support: support@joinmassive.com
- Submit a Ticket