Acquire
  • Home link-arrow
  • Using Web Scraper API link-arrow
  • How can I authenticate using Web Scraper API?

How can I authenticate using Web Scraper API?


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"}'


default-user

Related Articles