> ## 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 + Langflow

> Add live web search, scraping, answers, site maps and crawls to Langflow flows and agents with the Olostep bundle.

The Olostep bundle adds five web data components to [Langflow](https://www.langflow.org), the visual builder for AI agents and workflows. [Olostep](https://www.olostep.com) is web data infrastructure for AI agents and enterprise AI workflows. Its APIs provide live web search, scraping and crawling to extract, clean and structure data from the web.

The bundle is part of Langflow's official `lfx-bundles` package, starting with Langflow 1.14.0.

## Why Olostep

* Web data infrastructure for developers and enterprises
* Scales to hundreds of millions to billions of requests per customer per month
* The most performant, reliable and cost-effective API on the market
* Used by the fastest-growing AI companies

From extracting data from a handful of URLs to crawling hundreds of millions of pages, Olostep gives developers, AI companies and enterprises reliable and highly cost-effective access to clean, structured web data at scale.

## Components

| Component | What it does | Output |
| - | - | - |
| Olostep Search | Search the web and get each result's URL, title and description, optionally with the page content | Table, one row per result |
| Olostep Scrape | Scrape one page and return its main content as markdown, with JavaScript rendering | Data with `url`, `markdown_content` and `page_metadata` |
| Olostep Answer | Answer a question from live web pages, with the source URLs | Data with `answer` and `sources` |
| Olostep Map | List the URLs of a website | Table, one row per URL |
| Olostep Crawl | Crawl a website from a start URL and return each page as markdown | Table, one row per page |

When an agent uses Olostep Search as a tool, it can set the query and the domains to include or exclude.

## Setup

**1. Install the bundle**

The Olostep bundle is an opt-in extra of `lfx-bundles`:

```bash theme={null}
uv pip install "lfx-bundles[olostep]"
```

A full Langflow install with every bundle (`uv pip install "langflow[bundles]"`) already includes it.

**2. Add your API key**

Get a key from the [Olostep dashboard](https://www.olostep.com/dashboard/api-keys). Your first 500 credits are included.

Enter it in each component's **Olostep API Key** field, or store it in a Langflow [global variable](https://docs.langflow.org/configuration-global-variables) named `OLOSTEP_API_KEY`.

**3. Add a component to your flow**

In the Langflow sidebar, open **Bundles**, find **Olostep** and drag a component onto the canvas. To let an agent use it, turn on **Tool Mode** and connect its **Toolset** port to the agent's **Tools** port.

## Component parameters

> [accordion] Olostep Search
>
> | Parameter | Description |
> | - | - |
> | Search Query | The query to search the web for, in natural language |
> | Max Results | Results to return, from 1 to 25. Default: `5` |
> | Include Domains | Only return results from these domains, comma-separated |
> | Exclude Domains | Never return results from these domains, comma-separated |
> | Scrape Result Pages | Also return each result's content as markdown. Each scraped page uses extra credits. Default: off |
> | Timeout (seconds) | Default: `60` |

> [accordion] Olostep Scrape
>
> | Parameter | Description |
> | - | - |
> | URL | The `http://` or `https://` URL of the page to scrape |
> | Country | Load the page from this country, such as `US`, `GB` or `IN` |
> | Wait Before Scraping (ms) | Milliseconds to wait for the page to load before reading it. Default: `0` |
> | Timeout (seconds) | Default: `60` |

> [accordion] Olostep Answer
>
> | Parameter | Description |
> | - | - |
> | Question | The question to answer from the web |
> | Output Fields | Optional. A JSON object of the fields you want with empty values, such as `{"ceo": "", "founded": ""}`, or a plain description of the data you want |
> | Timeout (seconds) | Default: `120` |

> [accordion] Olostep Map
>
> | Parameter | Description |
> | - | - |
> | Website URL | The `http://` or `https://` URL of the website to map |
> | Search Query | Optional. Sort the URLs by how relevant they are to this query |
> | Top N | Optional. Return only this many URLs. `0` returns all of them |
> | Include Paths / Exclude Paths | Optional. Glob patterns, comma-separated, such as `/blog/**` |
> | Timeout (seconds) | Default: `120` |

> [accordion] Olostep Crawl
>
> | Parameter | Description |
> | - | - |
> | Start URL | The `http://` or `https://` URL to start crawling from |
> | Max Pages | The most pages to crawl. Default: `10` |
> | Include Paths / Exclude Paths | Optional. Glob patterns, comma-separated, such as `/docs/**` |
> | Max Depth | Optional. How many links deep to follow. `0` means no limit |
> | Max Wait (seconds) | How long to wait for the crawl to finish. Fetching the pages afterwards takes extra time. Default: `180` |
>
> The crawl is told to stop in time, so the component returns the pages crawled by then instead of failing.

## Example flows

* **Research agent:** an Agent with **Olostep Search** and **Olostep Scrape** as tools finds pages on a topic, reads them and answers with sources.
* **Knowledge base from a docs site:** **Olostep Crawl** feeds each page's markdown into a text splitter and a vector store for RAG.
* **Data enrichment:** **Olostep Answer** with Output Fields such as `{"ceo": "", "headquarters": ""}` fills in company details for each row of a table.

## Resources

> [card] [Langflow docs: Olostep bundle](https://docs.langflow.org/bundles-olostep)
>
> Langflow's reference page for the bundle

> [card] [Source on GitHub](https://github.com/langflow-ai/langflow/tree/release-1.14.0/src/bundles/lfx-bundles/src/lfx_bundles/olostep)
>
> The Olostep components in Langflow's repository

> [card] [Olostep API reference](https://docs.olostep.com/api-reference/scrapes/create.md)
>
> Every Olostep endpoint and field

> [card] [Support](mailto:info@olostep.com)
>
> [info@olostep.com](mailto:info@olostep.com)


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