Add web tools to your Mastra agents
About
Olostep is the most reliable and cost-effective web data API that lets companies, developers and AI agents scrape, crawl, and search the web at scale — returning clean markdown, screenshot, structured JSON, or AI-powered answers from any URL.
Mastra is an open-source TypeScript framework for building AI agents and workflows. It provides a structured way to define tools, memory, and multi-step reasoning pipelines.
Capabilities
Olostep tools are registered as standard Mastra tools and can be attached to any agent or workflow step without custom wiring.
Search Google, scrape any URL, or extract all links from a site — giving your Mastra agents real-world context at runtime.
Define a JSON schema and let Olostep extract structured data from any web page — ready for your agent's reasoning pipeline.
Getting started
Add Olostep to Mastra with a single config.
npm install @mastra/core
# Set your API key
export OLOSTEP_API_KEY="your_api_key_here"Get your API key from the Olostep dashboard. Free tier includes 500 requests — no credit card required.
Use Cases
Build Mastra agents that receive a research question, search the web, fetch relevant pages, and synthesize structured answers — fully autonomously.
Have your agent crawl documentation sites or wikis, extract clean content, and populate a vector database for retrieval.
Create Mastra workflows that periodically check web pages for changes and trigger downstream actions when content updates.
FAQ
How does Olostep integrate with Mastra?
Olostep provides tools that are compatible with Mastra's tool interface. After installing the integration and setting your OLOSTEP_API_KEY, you can attach web scraping, search, and URL discovery tools to any Mastra agent or workflow step.
Can Mastra agents use Olostep to access authenticated pages?
For publicly accessible pages, yes — Olostep handles JS rendering and anti-bot measures automatically. For pages behind authentication, you can pass custom cookies or session context via Olostep's Context feature.
Does the Mastra integration support structured data extraction?
Yes. You can combine Olostep's scraping with Mastra's LLM capabilities to extract structured data from any web page by defining a JSON schema and having the agent parse the scraped content.
500 free credits to get started — no credit card required. Full documentation available in the Olostep docs.
← Back to all integrations