Skip to content

Latest commit

 

History

History
55 lines (44 loc) · 2.26 KB

README.md

File metadata and controls

55 lines (44 loc) · 2.26 KB

Digikey Scraper API

Oxylabs promo code

Oxylabs' Digikey Scraper is a data gathering solution allowing you to extract real-time information from an Digikey website effortlessly. This brief guide showcases how Digikey Scraper works, along with code examples to help you better understand how to use it hassle-free.

How it works

You can get Digikey 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 Digikey page.

import requests
from pprint import pprint

# Structure payload.
payload = {
    'source': 'universal',
    'url': 'https://www.digikey.de/en/products/filter/industrial-automation-accessories/800'
}

# 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><html lang=\"en-de\" dir=\"ltr\"><head><meta charSet=\"utf-8\"/><meta name=\"viewport\" conte ... </html>",
      "created_at": "2024-02-20 12:16:45",
      "updated_at": "2024-02-20 12:16:49",
      "page": 1,
      "url": "https://www.digikey.de/en/products/filter/industrial-automation-accessories/800",
      "job_id": "7165680679466858497",
      "status_code": 200
    }
  ]
}

With our Digikey Scraper tool, you are empowered to seamlessly pull out public data from any Digikey pages. Gather pertinent product specs, such as circuit type, power rating, or manufacturer, to gather market insights and outmaneuver the competition. For any inquiries, reach out to our dedicated support team through live chat or email us at hello@oxylabs.io.