Standalone Tools
Direct API access to web utilities without going through chat completions.
Standalone tools give you direct access to web utilities without needing a chat completion. Call them like any REST API when you need to scrape content, search the web, or discover URLs on a site.
Pricing
Each tool has its own pricing based on usage:
| Tool | Price |
|---|---|
| Web Scrape | $0.0038 per page |
| Web Search | $0.0076 per 10 results returned |
| Web Map | $0.0038 per call |
Some scraping options like JSON extraction or PDF parsing count as additional pages. See individual tool pages for details.
When to use standalone tools
Use standalone tools when you want to:
- Scrape content directly without involving an LLM
- Build pipelines that fetch web data before passing to a model
- Reduce costs by skipping token-based pricing for simple tasks
- Have full control over what gets fetched and when
If you want the model to decide when and how to fetch web content, use Built-in Tools instead.
Available tools
| Tool | What it does |
|---|---|
| Web Scrape | Extract content from any URL in markdown, HTML, or structured JSON |
| Web Search | Search the web and get results with optional content scraping |
| Web Map | Discover all URLs on a website |
Quick example
import OpenAI from 'openai';
const client = new OpenAI({
baseURL: 'https://api.aivene.com/v1',
apiKey: process.env.AIVENE_API_KEY
});
// Scrape a webpage
const result = await client.post('/v1/tools/web_scrape', {
body: {
url: 'https://example.com/article',
formats: ['markdown', 'links']
}
});
console.log(result.data.markdown);Common use cases
Content extraction for RAG
Fetch article content before embedding:
const article = await client.post('/v1/tools/web_scrape', {
body: {
url: articleUrl,
formats: ['markdown'],
only_main_content: true
}
});
// Now embed article.data.markdownResearch automation
Search and scrape in one call:
const results = await client.post('/v1/tools/web_search', {
body: {
query: 'latest AI research papers 2024',
limit: 5,
scrape_options: {
formats: ['markdown'],
only_main_content: true
}
}
});
// Each result in results.data.web includes the full page contentSite discovery
Map a site before bulk scraping:
const urls = await client.post('/v1/tools/web_map', {
body: {
url: 'https://docs.example.com',
limit: 100
}
});
// urls.links contains all discovered pages, as { url, title, description }