Skip to main content

Before You Build.

The first two pages covered the fundamentals. Now let’s show you what’s actually possible with Salamoonder, whether you’re a seasoned developer or just getting started. Below are sample projects meant to make a point, along with community examples. These are rhetorical use cases, not real world deployments. They exist to explain ideas and prompt discussion, not to act as live projects you can reference. If you’re ready to code, jump straight to the next section. But take a minute here first. You might discover something that sparks your next build. Here’s what you can do with Salamoonder.
Want to scale on Kick, Twitch, or Whatnot? You need automation, but every platform throws captchas at you immediately. Salamoonder handles it. Build tools that create accounts, boost followers, and drive revenue at real speed. This is how top streamers scale.
Monitoring Nike, Canada Goose, Footlocker? Kasada will kill your scrapers instantly. Salamoonder solves the protection layer so you can build price tracking that actually works. Get the data you need, consistently.
Arc’teryx just dropped. Nike’s releasing in 60 seconds. You need checkout automation or you’re getting nothing. Salamoonder handles every captcha instantly. Build bots that complete orders in seconds while others are still loading the page.

Ready to build?

Now that you see what’s possible, let’s build. Below are working examples to get you started fast. These use our Software Development Kit, so make sure it’s included in your project. If something breaks, let us know. We don’t monitor these actively, so your feedback keeps them running.

Kasada Standard Examples

from salamoonder import Salamoonder

client = Salamoonder("YOUR_KEY_HERE")

task_id = client.task.createTask(
    task_type="KasadaCaptchaSolver",
    pjs_url="https://www.whatnot.com/149e9513-01fa-4fb0-aad4-566afd725d1b/2d206a39-8ed7-437e-a3be-862e0f06eea3/p.js",
    cd_only="false"
)

result = client.task.getTaskResult(task_id)

print(result)

Kasada Payload Examples

import salamoonder

# Keep in mind not using the same USER-AGENT as displayed as our docs will result in bad responses.
# https://apidocs.salamoonder.com/tasks/kasada/payload

URL = "https://yourdomain.com/149e9513-01fa-4fb0-aad4-566afd725d1b/2d206a39-8ed7-437e-a3be-862e0f06eea3/fp?x-kpsdk-v=j-1.2.170"
USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36"
PROXY = "http://user:pass@ip:port"
API_KEY = "sr-YOUR-KEY"

# Initialize client
client = salamoonder.Salamoonder(API_KEY)
data = client.kasada.parse_kasada_script(url=URL, user_agent=USER_AGENT, proxy=PROXY)

task_id = client.task.createTask(
    task_type="KasadaPayloadSolver",
    url="https://yourdomain.com",
    script_url=data["script_url"],
    script_content=data["script_content"],
)

result = client.task.getTaskResult(task_id)

post_solution = client.kasada.post_payload(
    url="https://yourdomain.com",
    solution=result,
    user_agent=USER_AGENT,
    proxy=PROXY,
    mfc=False
)

print("Solve result:", post_solution)

Akamai Web Examples

from salamoonder import Salamoonder

client = Salamoonder("YOUR_KEY_HERE")
URL = "https://login.bol.com/wsp/login"
USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36"
PROXY = "http://user:pass@ip:port"

# Run once to grab the required data. 
data = client.akamai.fetch_and_extract(
    website_url=URL,
    user_agent=USER_AGENT,
    proxy=PROXY
)

if data:
    current_abck = data['abck']
    current_bmsz = data['bm_sz']
    RespData = ""
    
    # Post data 3 times (you are paying per loop, so in this case 3 times.)
    for i in range(3):
        task_id = client.task.createTask(
            task_type="AkamaiWebSensorSolver",
            url=data['base_url'],
            abck=current_abck,
            bmsz=current_bmsz,
            script=data['script_data'],
            sensor_url=data['akamai_url'],
            user_agent=USER_AGENT,
            count=i,
            data=RespData
        )
        
        result = client.task.getTaskResult(task_id)
        payload = result['payload']
        RespData = result['data']
        
        
        cookie = client.akamai.post_sensor(
            akamai_url=data['akamai_url'],
            sensor_data=payload,
            user_agent=USER_AGENT,
            website_url=URL,
            proxy=PROXY
        )
        
        if cookie:
            print(f"Returned cookie _abck: {cookie['abck'][:50]}...")
            current_abck = cookie['abck']
            current_bmsz = cookie.get('bm_sz', current_bmsz)
        else:
            print(f"Failed to post sensor {i + 1}")
            break

DataDome Examples

from salamoonder import Salamoonder
from curl_cffi import requests

client = Salamoonder("YOUR_KEY_HERE")
URL = "https://www.pokemoncenter.com/"
USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36"
PROXY = "http://username:password@ip:port"

r = requests.get(URL, headers={"User-Agent": USER_AGENT}, proxy=PROXY, impersonate="chrome133a")

captcha_url = client.datadome.parse_slider_url(
    html=r.text, 
    datadome_cookie=r.cookies.get("datadome"), 
    referer=URL
)

if captcha_url:
    task_id = client.task.createTask(
        task_type="DataDomeSliderSolver",
        captcha_url=captcha_url,
        user_agent=USER_AGENT,
        country_code="us"
    )

    result = client.task.getTaskResult(task_id)

    print(result)

    # Now you can set your cookies, adopt the proper header order. 

Incapsula Examples

from salamoonder import Salamoonder

client = Salamoonder("YOUR_KEY_HERE")

task_id = client.task.createTask(
    task_type="IncapsulaReese84Solver",
    website="https://www.pokemoncenter.com/",
    submit_payload=True
)

result = client.task.getTaskResult(task_id)

print(result)

Real world Examples

This repository includes practical examples for using the Salamoonder SDK, covering various bot detection and security challenges such as Akamai, Datadome, Incapsula, and Kasada. Each example comes with clear instructions and working code that you can adapt directly to your workflow. It’s a great resource whether you’re just getting started or looking for ways to handle specific cases more efficiently.

Github Examples

These examples have more real world examples which you can adopt in your workflow.