[ScraperAPI Python SDK skill reference]: premium and ultra_premium are mutually exclusive, never set both, and escalate gradually since costs climb from 1 to 30 credits per request. keep_headers is silently ignored when ultra_premium is true, so dont combine them. Sessions pin you to one proxy IP via session_number, but they expire 15 minutes after last use, so long gaps between calls start a fresh session.

Context: ScraperAPI Python SDK skill reference: premium and ultra_premium are mutually exclusive, never set both. Escalate gradually: standard (1 credit), render (10), premium (10), premium plus render (25), ultra_premium (30). keep_headers is silently ignored when ultra_premium is true, and also incompatible with custom headers. Sessions pin requests to one proxy IP via session_number, but sessions expire 15 minutes after last use.