Clay Chrome extension
Extract structured data from any webpage with the Clay Chrome Extension.
The Clay Chrome Extension allows you to extract structured data from webpages, either from lists within a single page or across multiple pages. Once extracted, the data can be exported directly to your Clay table, downloaded as a CSV, or copied to your clipboard for further use.
Utilize extension's autodetected lists
The Chrome extension automatically detects and scrapes items on your page that resemble a list. It then organizes these items into a table with various columns for you to explore and use.
You can view the table within the extension and scroll through the automatically detected fields it identifies.
With this autodetected list, you can:
- Export the list
- Download it as a CSV file or copy it directly to your clipboard.
- Add the list to your Clay workspace
- Open the list in a new window and directly add this table to your Clay workspace.
Build your own recipe
You are able to build two kinds of recipes: scraping from individual pages with detected lists (“Select a List”) and scraping from multiple individual pages (“Select a Single Attribute”).
- Pages with lists: Use this to extract multiple items from a structured list (e.g., directories or tables) on a single page.
- Individual pages: Extract unique details from single-item pages (e.g., profiles or product pages) across multiple pages. By using URL patterns to replace unique parts of a URL (e.g., :company_name), these recipes can automatically apply to similar pages in a directory.
Scrape data from pages with lists
Pages with lists display multiple items in a structured format, such as tables, grids, or directories (e.g., company directories, product catalogs, or event schedules). Recipes for these pages allow you to extract data from multiple items simultaneously by identifying patterns across similar elements.
To create a recipe that scrapes data from a list within a page:
- Open the Clay Chrome Extension on the page with a list.
- Click Select Data to Add from Page.
- Choose Select a List, then click on the first few items to help auto-detect patterns.
- Add Attributes for each item:
- For images: Select the Image Attribute (e.g., logos).
- For text: Select the Text Attribute (e.g., company name, location).
- Repeat for all desired attributes. The extension will apply the mapping to every item in the list.
- Name and Save your recipe.
Scrape data from individual pages
Individual pages focus on detailed information about a single item, such as a company profile or product page. Recipes for these pages let you extract specific attributes and apply the same recipe across similar pages by using URL patterns.
For example, by replacing a unique part of the URL (e.g., /biz/:businessName), the recipe can automatically match and scrape data from pages with the same structure, like /biz/lilia-brooklyn
and /biz/bakeri-brooklyn
.
To create a recipe that scrapes data across individual pages:
- Open the Clay Chrome Extension on the page you want to scrape.
- Click Select Data to Add from Page, then choose Select a Single Attribute.
- Map the attributes you want to extract, such as:
- Company or product name
- Website
- Social profiles (LinkedIn, Twitter, Crunchbase)
- Adjust the URL Matching to apply the recipe across similar pages:
- Replace specific parts of the URL with a variable (e.g., :company_name) to generalize the recipe.
- Name and Save your recipe.