> ## Documentation Index
> Fetch the complete documentation index at: https://docs.olostep.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Olostep + Clay

> Add live web scraping, search, site maps and AI answers to any Clay table with Clay's HTTP API enrichment.

Use Olostep in [Clay](https://www.clay.com) to enrich every row of a table with live web data: scrape a company's website, find its pricing or careers page, search for recent news, or answer a research question with sources. Each recipe below is an **HTTP API** enrichment column you can copy into your table.

## Before you start

* **An Olostep API key:** [get one free](https://www.olostep.com/auth), no credit card required. New accounts get 500 credits.
* **A Clay table** with the column the recipe reads from, such as `Website` (a full URL like `https://stripe.com`) or `Company Name`.

## Save your API key once

Save the key as a Clay account so it isn't visible in the table and every Olostep column can reuse it.

**1. Add an HTTP API enrichment**

In your Clay table, click **Add enrichment**, search for **HTTP API**, and open the **Configure** tab.

**2. Create a header account**

Open **Select header account** → **+ Add account**, and fill in:

| Field | Value |
| - | - |
| Name your connection | `Olostep` |
| Allowed websites | `api.olostep.com` (press Enter to add it) |
| Header key | `Authorization` |
| Header value | `Bearer YOUR_OLOSTEP_API_KEY` |

Clay only sends the saved key to the allowed websites, so the key never goes anywhere but Olostep. You can manage the account later in **Settings → Connections**.

Every recipe below uses this account, **POST** as the method, and a JSON body. Clay sets `Content-Type: application/json` for you.

## Get the results into columns

Each recipe's cell shows the status (`Status Code: 200`) and holds Olostep's full JSON response. To turn a field into its own column:

1. Click a cell in the HTTP API column to open **Cell details**.
2. Expand the response, for example **Result** → **Markdown Content**.
3. Hover the field and click **Add to column**.

The new column fills in for every row. Each recipe lists the fields to add.

> [!NOTE]
>
> In the body, insert a column by typing `/` inside the quotes and **picking the column from Clay's list**, so it becomes a column tag: `"url_to_scrape": "/Website"`. Typing the name as plain text doesn't work: Clay then warns that the column "doesn't reference any other columns" and sends the text as is. To use a value made of several columns (for example a search query), build it in its own column first, then insert that column.

***

## Recipe 1: Scrape a company's website

Get the homepage as clean markdown, ready for a Clay AI column to summarize or classify.

| Setting | Value |
| - | - |
| Method | `POST` |
| Endpoint | `https://api.olostep.com/v1/scrapes` |
| Header account | `Olostep` |

```json Body theme={null}
{
  "url_to_scrape": "/Website",
  "formats": ["markdown"],
  "remove_css_selectors": "default"
}
```

**Use the result:** **Result** → **Markdown Content**

> [!WARNING]
>
> Clay limits text and formula columns to 8 KB per cell, and a full web page is often longer, so **Add to column** on Markdown Content can fail with *Cell data size exceeds limit*. The full page stays in the HTTP API cell, which holds up to 200 KB. Reference it from there in a Clay AI or Claygent column (for example, "Summarize this website: Markdown Content"), or keep the first 8,000 characters in a formula column if you need it as text.

`remove_css_selectors: "default"` drops navigation, footers and banners, so the content is mostly the page itself. Costs 1 credit per row.

## Recipe 2: Find pages about a topic on the site

List the URLs on each company's site that best match a topic, such as pricing, careers or integrations.

| Setting | Value |
| - | - |
| Method | `POST` |
| Endpoint | `https://api.olostep.com/v1/maps` |
| Header account | `Olostep` |

```json Body theme={null}
{
  "url": "/Website",
  "search_query": "pricing",
  "top_n": 3
}
```

**Add to column:** **Urls** (the most relevant URLs first)

Change `search_query` to any topic. Results are ranked by relevance, so check a few rows: a topic can match blog posts about it as well as the page itself. Costs 1 credit per row.

## Recipe 3: Search the web for each row

Find recent news, funding announcements or any pages about a company. First add a column, for example `Search Query`, that holds the full query for each row, such as *Stripe funding news 2026*.

| Setting | Value |
| - | - |
| Method | `POST` |
| Endpoint | `https://api.olostep.com/v1/searches` |
| Header account | `Olostep` |

```json Body theme={null}
{
  "query": "/Search Query",
  "limit": 5
}
```

**Add to column:** open **Result** → **Links** and add the fields you need from each link: **Url**, **Title** and **Published At**. Each **Description** is a long excerpt of the page, so the whole **Links** list can pass Clay's 8 KB column limit: add single fields rather than the full list.

Add `"include_domains": ["techcrunch.com", "businesswire.com"]` to limit the sources. Costs 15 credits per row.

## Recipe 4: Answer a research question with sources

Ask a question per row and get the answer with the URLs it came from. Put the question in a column, for example `Research Task`: *What is the pricing model of Stripe, and does it have a free tier?*

| Setting | Value |
| - | - |
| Method | `POST` |
| Endpoint | `https://api.olostep.com/v1/answers` |
| Header account | `Olostep` |

```json Body theme={null}
{
  "task": "/Research Task",
  "json_format": { "pricing_model": "pricing model", "has_free_tier": "yes or no" }
}
```

**Add to column:** **Result** → **Json Content** and **Result** → **Sources**

`json_format` sets the fields you get back: each key is a field, and its value briefly describes what to put there (`"yes or no"` gets you a clean yes or no). Don't leave the values empty: Clay drops empty values from the request, and the answer then comes back as one block of text instead of separate fields. `result.json_content` is a JSON string, for example `{"pricing_model":"usage-based","has_free_tier":"yes"}`. A field Olostep couldn't verify comes back empty or as `NOT_FOUND`. Answers take a few seconds each and cost 20 credits per row.

***

## Run it on your whole table

1. **Turn off Auto-run** on the table while you set up, then run the column on one row first and check its **Cell details** before running every row.
2. **Only run when the input exists:** add a conditional run such as "only run if `Website` is not empty", so empty rows don't spend credits.
3. **Set a request limit** that fits your Olostep plan's concurrency, for example **Request limit** `5`, **Duration (ms)** `1000` (5 requests per second). If you see `429` errors, lower it.

## Errors

| Status | Meaning | Fix |
| - | - | - |
| `401` | Missing or wrong API key | Check the `Olostep` header account: `Authorization: Bearer YOUR_OLOSTEP_API_KEY` |
| `402` | Out of credits | Top up or upgrade in the [Olostep dashboard](https://www.olostep.com/dashboard) |
| `429` | Too many requests at once | Lower the request limit on the column |

## Links

> [card] [Get API Key](https://www.olostep.com/auth)
>
> 500 free credits, no credit card

> [card] [Clay HTTP API docs](https://university.clay.com/docs/http-api-integration-overview)
>
> Clay's guide to the HTTP API enrichment

> [card] [Scrape endpoint](https://docs.olostep.com/features/scrapes.md)
>
> Formats, actions and options for scrapes

> [card] [Answers endpoint](https://docs.olostep.com/features/answers.md)
>
> Structured answers with sources


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.