Use Cases

CAPTCHA Handling for Sneaker Bot Automation

Sneaker release sites protect checkout pages with CAPTCHAs to block bots. Sub-second solving is critical — a 3-second delay can mean the difference between a successful cop and an L. CaptchaAI provides the fast token delivery these workflows demand.


Common CAPTCHAs on Sneaker Sites

Site CAPTCHA Type When Triggered Difficulty
Nike SNKRS reCAPTCHA v3 Login, checkout High (score threshold ≥ 0.7)
Adidas Confirmed Cloudflare Turnstile Entry + checkout Medium
Footlocker reCAPTCHA v2 Add to cart, checkout Medium
Shopify (release stores) Cloudflare Turnstile Checkout page Medium
Supreme reCAPTCHA v2 Invisible Checkout High
YeezySupply Cloudflare Challenge Queue page High

Why Speed Matters

Drop timeline (limited release):
  00:00  — Drop goes live
  00:01  — 50,000 bots hit checkout
  00:03  — Sizes start selling out
  00:05  — Popular sizes gone
  00:10  — Most stock depleted
  00:30  — Fully sold out

Every second of CAPTCHA delay = lost inventory.

Pre-Solving Strategy

Submit CAPTCHA tasks before the drop. Tokens are valid for ~120 seconds — solve in advance and use at checkout.

import requests
import time
import threading
from queue import Queue

CAPTCHAAI_KEY = "YOUR_API_KEY"
CAPTCHAAI_URL = "https://ocr.captchaai.com"


class TokenBank:
    """Pre-solve and bank CAPTCHA tokens for instant use at checkout."""

    def __init__(self, sitekey, pageurl, captcha_method="userrecaptcha",
                 max_tokens=10, token_ttl=110):
        self.sitekey = sitekey
        self.pageurl = pageurl
        self.method = captcha_method
        self.max_tokens = max_tokens
        self.token_ttl = token_ttl
        self.tokens = Queue()
        self._running = False

    def start(self):
        self._running = True
        for _ in range(self.max_tokens):
            t = threading.Thread(target=self._solve_loop, daemon=True)
            t.start()

    def stop(self):
        self._running = False

    def get_token(self, timeout=30):
        """Get a pre-solved token instantly."""
        token, solved_at = self.tokens.get(timeout=timeout)
        age = time.time() - solved_at
        if age > self.token_ttl:
            # Token expired, get next one
            return self.get_token(timeout=timeout)
        return token

    def _solve_loop(self):
        while self._running:
            try:
                token = self._solve()
                self.tokens.put((token, time.time()))
            except Exception:
                time.sleep(2)

    def _solve(self):
        resp = requests.post(f"{CAPTCHAAI_URL}/in.php", data={
            "key": CAPTCHAAI_KEY,
            "method": self.method,
            "googlekey": self.sitekey,
            "pageurl": self.pageurl,
            "json": 1,
        })
        task_id = resp.json()["request"]

        for _ in range(60):
            time.sleep(3)
            result = requests.get(f"{CAPTCHAAI_URL}/res.php", params={
                "key": CAPTCHAAI_KEY, "action": "get",
                "id": task_id, "json": 1,
            })
            data = result.json()
            if data["request"] != "CAPCHA_NOT_READY":
                return data["request"]

        raise TimeoutError("Solve timeout")


# Pre-solve tokens before drop
bank = TokenBank(
    sitekey="6LcR_RsTAAAAAxxxxxxxx",
    pageurl="https://www.example-sneakers.com/checkout",
    max_tokens=5,
)
bank.start()

# Wait for drop, then instantly use tokens
time.sleep(10)  # Simulate waiting for drop
token = bank.get_token(timeout=5)
print(f"Token ready: {token[:40]}...")
bank.stop()

Checkout Flow Integration

import uuid

STICKY_PROXY = {
    "http": "http://user-session-{sid}:pass@proxy.example.com:5000",
    "https": "http://user-session-{sid}:pass@proxy.example.com:5000",
}


def checkout_flow(product_url, size, payment_profile, token_bank):
    """Complete checkout with pre-solved CAPTCHA token."""
    session = requests.Session()
    sid = uuid.uuid4().hex[:8]
    proxy = {k: v.format(sid=sid) for k, v in STICKY_PROXY.items()}
    session.proxies = proxy
    session.headers.update({
        "User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_5 like Mac OS X) "
        "AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 "
        "Mobile/15E148 Safari/604.1",
    })

    # Step 1: Add to cart
    resp = session.post(f"{product_url}/cart", json={
        "size": size,
        "quantity": 1,
    })

    if resp.status_code != 200:
        return {"success": False, "reason": "cart_failed"}

    # Step 2: Get pre-solved token
    token = token_bank.get_token(timeout=5)

    # Step 3: Submit checkout with token
    resp = session.post(f"{product_url}/checkout", json={
        "payment": payment_profile,
        "captcha_token": token,
    })

    return {
        "success": resp.status_code == 200,
        "order_id": resp.json().get("order_id"),
    }

Proxy Recommendations for Sneaker Sites

Proxy Type Success Rate Speed Recommendation
Mobile (4G/5G) 95%+ Slower Best for Nike SNKRS
ISP residential 90%+ Fast Best balance
Residential rotating 85% Medium Good for Shopify
Datacenter 30-50% Fastest Usually blocked

Nike and Adidas heavily fingerprint datacenter IPs. Use residential or mobile proxies.


reCAPTCHA v3 Score Optimization

Nike SNKRS uses reCAPTCHA v3 with a high score threshold. Maximize your score:

def solve_recaptcha_v3_high_score(sitekey, pageurl, action="checkout"):
    """Request minimum score of 0.7 for sneaker sites."""
    resp = requests.post(f"{CAPTCHAAI_URL}/in.php", data={
        "key": CAPTCHAAI_KEY,
        "method": "userrecaptcha",
        "version": "v3",
        "googlekey": sitekey,
        "pageurl": pageurl,
        "action": action,
        "min_score": "0.7",
        "json": 1,
    })
    task_id = resp.json()["request"]

    for _ in range(40):
        time.sleep(3)
        result = requests.get(f"{CAPTCHAAI_URL}/res.php", params={
            "key": CAPTCHAAI_KEY, "action": "get",
            "id": task_id, "json": 1,
        })
        data = result.json()
        if data["request"] != "CAPCHA_NOT_READY":
            return data["request"]

    raise TimeoutError("v3 solve timeout")

Troubleshooting

Issue Cause Fix
Token rejected at checkout Token expired (>120s) Reduce pre-solve buffer, fresher tokens
CAPTCHA on every request Datacenter IP detected Switch to residential/mobile proxy
Slow token delivery Peak demand on drop day Pre-solve tokens in advance
Cart emptied after CAPTCHA Session changed IP Use sticky proxy sessions
"Access Denied" before CAPTCHA Cloudflare blocking bot UA Match headers to real browser

FAQ

How fast does CaptchaAI solve reCAPTCHA for sneaker sites?

Average solve time is 5-15 seconds. Pre-solving tokens before the drop eliminates this delay from the checkout flow.

Which CAPTCHA type is hardest on sneaker sites?

reCAPTCHA v3 on Nike SNKRS, since it requires a high score (0.7+). CaptchaAI supports min_score to meet this threshold.

Should I use one token per checkout task?

Yes. Each CAPTCHA token is single-use. Pre-solve enough tokens for the number of checkout attempts you plan to run.

Is a mobile proxy really necessary?

For Nike and Adidas — yes. These sites aggressively block datacenter and lower-quality residential IPs.



Win drops with pre-solved CAPTCHAs — get your CaptchaAI key and start banking tokens before checkout.

Discussions (0)

No comments yet.

Related Posts

Reference CAPTCHA Token Injection Methods Reference
Complete reference for injecting solved CAPTCHA tokens into web pages.

Complete reference for injecting solved CAPTCHA tokens into web pages. Covers re CAPTCHA, Turnstile, and Cloud...

Automation Python reCAPTCHA v2
Apr 08, 2026
Reference Browser Session Persistence for CAPTCHA Workflows
Manage browser sessions, cookies, and storage across CAPTCHA-solving runs to reduce repeat challenges and maintain authenticated state.

Manage browser sessions, cookies, and storage across CAPTCHA-solving runs to reduce repeat challenges and main...

Automation Python reCAPTCHA v2
Feb 24, 2026
Use Cases CAPTCHA Solving in Ticket Purchase Automation
How to handle CAPTCHAs on ticketing platforms Ticketmaster, AXS, and event sites using Captcha AI for automated purchasing workflows.

How to handle CAPTCHAs on ticketing platforms Ticketmaster, AXS, and event sites using Captcha AI for automate...

Automation Python reCAPTCHA v2
Feb 25, 2026
Tutorials Caching CAPTCHA Tokens for Reuse
Cache and reuse CAPTCHA tokens with Captcha AI to reduce API calls and costs.

Cache and reuse CAPTCHA tokens with Captcha AI to reduce API calls and costs. Covers token lifetimes, cache st...

Automation Python reCAPTCHA v2
Feb 15, 2026
Use Cases Multi-Step Checkout Automation with CAPTCHA Solving
Automate multi-step e-commerce checkout flows that include CAPTCHA challenges at cart, payment, or confirmation stages using Captcha AI.

Automate multi-step e-commerce checkout flows that include CAPTCHA challenges at cart, payment, or confirmatio...

Automation Python reCAPTCHA v2
Mar 21, 2026
Comparisons Headless vs Headed Chrome for CAPTCHA Solving
Compare headless and headed Chrome for CAPTCHA automation — detection differences, performance trade-offs, and when to use each mode with Captcha AI.

Compare headless and headed Chrome for CAPTCHA automation — detection differences, performance trade-offs, and...

Automation Python reCAPTCHA v2
Mar 09, 2026
API Tutorials CaptchaAI API Latency Optimization: Faster Solves
Reduce CAPTCHA solve latency with Captcha AI by optimizing poll intervals, connection pooling, prefetching, and proxy selection.

Reduce CAPTCHA solve latency with Captcha AI by optimizing poll intervals, connection pooling, prefetching, an...

Automation Python reCAPTCHA v2
Feb 27, 2026
API Tutorials Building a Python Wrapper Library for CaptchaAI API
Build a reusable Python wrapper library for the Captcha AI API with type hints, retry logic, context managers, and support for CAPTCHA types.

Build a reusable Python wrapper library for the Captcha AI API with type hints, retry logic, context managers,...

Automation Python reCAPTCHA v2
Jan 31, 2026
Tutorials Pytest Fixtures for CaptchaAI API Testing
Build reusable pytest fixtures to test CAPTCHA-solving workflows with Captcha AI.

Build reusable pytest fixtures to test CAPTCHA-solving workflows with Captcha AI. Covers mocking, live integra...

Automation Python reCAPTCHA v2
Apr 08, 2026
Integrations Browser Profile Isolation + CaptchaAI Integration
Browser profile isolation tools create distinct browser environments with unique fingerprints per session.

Browser profile isolation tools create distinct browser environments with unique fingerprints per session. Com...

Automation Python reCAPTCHA v2
Feb 21, 2026
Use Cases Retail Site Data Collection with CAPTCHA Handling
Amazon uses image CAPTCHAs to block automated access.

Amazon uses image CAPTCHAs to block automated access. When you hit their anti-bot threshold, you'll see a page...

Web Scraping Image OCR
Apr 07, 2026
Use Cases Event Ticket Monitoring with CAPTCHA Handling
Build an event ticket availability monitor that handles CAPTCHAs using Captcha AI.

Build an event ticket availability monitor that handles CAPTCHAs using Captcha AI. Python workflow for checkin...

Automation Python reCAPTCHA v2
Jan 17, 2026
Use Cases Automated Form Submission with CAPTCHA Handling
Complete guide to automating web form submissions that include CAPTCHA challenges — re CAPTCHA, Turnstile, and image CAPTCHAs with Captcha AI.

Complete guide to automating web form submissions that include CAPTCHA challenges — re CAPTCHA, Turnstile, and...

Python reCAPTCHA v2 Cloudflare Turnstile
Mar 21, 2026