/leads-scraper

Leads Scraper API is a powerful tool for extracting quality leads data. Utilized for advanced web scraping, data consolidation, and lead generation.

Primary LanguageJava

Leads Scraper API

Oxylabs promo code

Oxylabs’ Leads Scraper is a data gathering solution allowing you to extract real-time information from any website effortlessly. This brief guide explains how a Leads Scraper works and provides code examples to understand better how you can use it hassle-free.

How it works

You can get results by providing your own URLs to our service. We can return the HTML for any page you like.

Python code example

The example below illustrates how you can get HTML of a explorium.ai page.

import requests
from pprint import pprint

# Structure payload.
payload = {
    'source': 'universal',
    'url': 'https://www.explorium.ai/blog/business-data/b2b-leads-data/#'
}

# Get response.
response = requests.request(
    'POST',
    'https://realtime.oxylabs.io/v1/queries',
    auth=('user', 'pass1'),
    json=payload,
)

# Instead of response with job status and results url, this will return the
# JSON response with the result.
pprint(response.json())

Find code examples for other programming languages here

Output Example

{
  "results": [
    {
      "content": "<!doctype html>\n<html lang=\"en\">\n<head><meta charset=\"UTF-8\"><script>if(navigator.userAgent.match(/M ... </html>",
      "created_at": "2023-12-18 11:33:25",
      "updated_at": "2023-12-18 11:33:30",
      "page": 1,
      "url": "https://www.explorium.ai/blog/business-data/b2b-leads-data/#",
      "job_id": "7142476947208057857",
      "status_code": 200
    }
  ]
}

With our Leads Scraper, you can effectively gather public personalized data from any web page. Obtain the necessary client information, such as demographic data, contact details, or preference patterns, to understand your target audience and stay one step ahead of your competitors. If you need any help, get in touch with our support team through live chat or send us an email at hello@oxylabs.io.