Documentation
Everything you need to build AI agents that browse and interact with any website.
WebUplink Documentation
WebUplink is an API that lets AI agents browse and interact with any website through structured, typed tool definitions. Instead of parsing raw HTML or managing browser automation, your agent calls a single endpoint and gets back a clear picture of what's on the page and what it can do.
How It Works
Every interaction follows a simple loop:
- Browse — Open a URL or resume a session
- Observe — Get a summary, available tools, and optional page content
- Act — Execute a tool with parameters
- Repeat — See the result, decide what to do next
import { WebUplink } from 'webuplink';
const client = new WebUplink({
apiKey: process.env.WEBUPLINK_API_KEY!,
baseUrl: 'https://api.webuplink.ai',
});
// 1. Browse a page
const page = await client.browse('https://booking.com');
console.log(page.summary); // "Booking.com search form..."
console.log(page.tools); // [{ name: "search_hotels", ... }]
// 2. Execute a tool
const result = await client.browse({
session_id: page.session_id,
tool: 'search_hotels',
params: { destination: 'Barcelona', check_in: '2026-07-01' },
});
// 3. Clean up
await client.closeSession(page.session_id);