All Collections
Scraper APIs
Web Scraper API
How can I authenticate using Web Scraper API?
How can I authenticate using Web Scraper API?
Josh avatar
Written by Josh
Updated over a week ago

Web Scraper API employs basic HTTP authentication which requires username and password. This is the easiest way to get started with the tool. The code example below shows how you can send a GET request to https://ip.oxylabs.io using the Realtime delivery method:

curl --user

"USERNAME:PASSWORD"'https://realtime.oxylabs.io/v1/queries' -H

"Content-Type: application/json" -d '{"source": "universal", "url": "https://ip.oxylabs.io"}'

Did this answer your question?