It is designed for developers who want to validate their setup quickly and see real results without diving into advanced configuration. By the end of this guide, you will:
- Verify your Unlocker API setup
- Send a live unlock request
- Receive clean HTML or JSON content from a target website
What you need before starting (1 minute)
Make sure you already have:- A Bright Data account
- An active Unlocker API zone
- An API key generated for that zone
Step 1: Choose a test website (30 seconds)
Select a public URL to test your first unlock request. Good examples: Make sure the URL:- Is publicly accessible
- Starts with
https://orhttp://
Step 2: Understand what you’re about to send (30 seconds)
The Unlocker API works through a single REST endpoint. You will send:- Your API key (for authentication)
- Your Unlocker API zone name
- The target URL you want to unlock
- Select the best proxy network
- Handle anti-bot protections
- Retry failed attempts if needed
Step 3: Send your first unlock request (2 minutes)
Replace the placeholders below with your actual values:- YOUR_API_KEY
- YOUR_ZONE_NAME
- YOUR_TARGET_URL
POST https://api.brightdata.com/request
Headers:
- Authorization:
Bearer YOUR_API_KEY - Content-Type:
application/json
Step 4: Review the response (30 seconds)
If the request is successful, you will receive:- HTTP status: 200 OK
- A response body containing unlocked content
- HTML or JSON, depending on the format you requested
Common issues and quick fixes (30 seconds)
-
401 Unauthorized
Authentication is missing or invalid
→ Verify the Authorization header and API key -
400 Bad Request
Request payload is invalid
→ Ensurezone,url, andformatare present -
Content looks incomplete
→ Try another public URL or review Configuration options
What you just accomplished
In under 5 minutes, you:- Authenticated with the Unlocker API
- Sent a real unlock request
- Retrieved clean, usable content from a website
Where to go next
Once your first request works, you can:- Enable geolocation for region-specific content
- Use asynchronous requests for large batches
- Configure premium domains for harder targets
- Explore Send Your First Request for advanced examples
- Review Troubleshooting if you encounter errors