> For the complete documentation index, see [llms.txt](https://api-docs.espysys.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-docs.espysys.com/web-scraper.md).

# WEB Scraper

**Endpoint:** <mark style="color:yellow;">POST</mark> <https://irbis.espysys.com/api/developer/web_collection>

Below is a sample request to perform a lookup using the API:

```
{
  "key": "YOUR_API_KEY",
  "value": "SEARCH_VALUE",
  "lookupType": "LOOKUP_TYPE",
  "lookupId": "LOOKUPID_VALUE"
}
```

1. Replace YOUR\_API\_KEY in the "key" field with your actual API Key.
2. For the "value" field, insert with one of the aforementioned search values.
3. `LOOKUP_TYPE` can be one of the following values:
   1. SCREENSHOT
   2. WEB\_SCRAPE

values are of the following type for these searches:

SCREENSHOT - value is the url of the website you'd like to screenshot.

WEB\_SCRAPE - value is the url of the website you'd like to scrape.

The "lookupId" must be set to what is shown in table API lookups types at Developer page or at API lookup types page
