
Overview
All our services (SmartScraper, SearchScraper, and Markdownify) support custom headers and cookies to help you:- Bypass basic anti-bot protections
- Access authenticated content
- Maintain sessions
- Customize request behavior
Headers
Common Headers
You can set any of the following headers in your requests:Usage Examples
Cookies
Overview
Cookies are essential for:- Accessing authenticated content
- Maintaining user sessions
- Handling website preferences
- Bypassing certain security measures
- Personalizing user experience
- Managing shopping carts and user state
Setting Cookies
Cookies are set using theCookie
header as a semicolon-separated string of key-value pairs:
Examples
Common Use Cases
- Authentication
- Regional Settings
- User Preferences
Best Practices
-
User Agent Best Practices
- Use recent browser versions
- Match User-Agent with Sec-Ch-Ua headers
- Consider region-specific variations
-
Cookie Management
- Keep cookies up to date
- Include all required session cookies
- Remove unnecessary cookies
- Handle cookie expiration
-
Security Considerations
- Donβt share sensitive cookies
- Rotate User-Agents when appropriate
- Use HTTPS when sending sensitive data
Common Issues
Cookie Expiration
Cookie Expiration
Header Conflicts
Header Conflicts
Some headers may conflict. Common fixes:
- Remove conflicting headers
- Ensure header values match
- Check case sensitivity
Support
Cookie Examples
Complete cookie integration examples
API Reference
Detailed API documentation
Community
Join our Discord community
GitHub
Check out our open-source projects
Need Help?
Contact our support team for assistance with headers, cookies, or any other questions!