More information can be found on GitHub here.
Building in Python? See LangChain (Python), which also includes a document loader for RAG pipelines.
Features
- Web scraping – scrape any URL and retrieve Markdown content
- Google Search – search Google and retrieve structured results
- Amazon Search – search Amazon and retrieve structured product data
- Full TypeScript support – complete type definitions for all parameters
- LangChain integration – seamless integration with LangChain’s tool system
Quick start
Prerequisites
- Node.js >= v20
- A Decodo Web Data API subscription
- Clone the repo and install dependencies
- Copy
.env.exampleto.envand fill inSCRAPER_API_KEY. On an older plan, fill inSCRAPER_API_USERNAMEandSCRAPER_API_PASSWORDinstead. The examples also readOPENAI_API_KEY.
- Run any of the sample agents
Available tools
Configuration
All tools accept aDecodoConfig object holding either an API key (recommended) or, for older plans, a username and password:
It is one or the other. Passing both throws
Decodo config accepts either apiKey or username and password, not both. Passing neither – or a username without a password – throws Decodo config requires either an apiKey or both a username and a password.Parameters
Every tool accepts the same input schema. Parameter names are camelCase –jsRender, not JsRender.
Values fixed by each tool
Each tool sets some parameters itself, after your input, so a value you pass for one of these is overwritten:
In other words,
decodo_universal_tool always returns Markdown, and the two search tools always return parsed results without JavaScript rendering.
For the full list of API parameters, see Parameters.
Related
- TypeScript SDK – The SDK these tools are built on.
- LangChain (Python) – The Python LangChain package.
- MCP Server – Connect AI agents and MCP-compatible tools to Decodo.
- CLI – Run Decodo scraping workflows from the command line.
- GitHub repository – View the source code, examples, and latest releases.
Support
Need help or just want to say hello? Our support is available 24/7.
You can also reach us anytime via email at support@decodo.com.
You can also reach us anytime via email at support@decodo.com.
Feedback
Can’t find what you’re looking for? Request an article!
Have feedback? Share your thoughts on how we can improve.
Have feedback? Share your thoughts on how we can improve.