ИИ-агент, который работает в вебе за вас
Отправьте задачу и URL. Настоящий браузер Chrome кликает, вводит текст, заполняет формы, входит в аккаунты и возвращает ответ плюс структурированный JSON по вашей схеме.
Один запрос на входе, JSON на выходе
curl https://lovelyrouter.com/v1/browser/runs \
-H "Authorization: Bearer $LOVELY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"goal": "Get the top 3 stories on the front page",
"start_url": "https://news.ycombinator.com/",
"output_schema": { "stories": [{ "title": "string", "url": "string", "points": "integer" }] }
}'{
"id": "brun_8f3c…",
"status": "succeeded",
"steps": 1,
"answer": "The top 3 stories are …",
"data": {
"stories": [
{ "title": "Bitwarden Dual License Model", "url": "https://community.bitwarden.com/…", "points": 95 },
{ "title": "Talorys – A self-hosted personal AI agent…", "url": "https://github.com/rociiu/talorys", "points": 57 },
{ "title": "REA Reverse – Engineer Anything", "url": "https://rea.tools/", "points": 498 }
]
},
"charge_usd": 0.006
}Передайте это своему ИИ-агенту
Скопируйте этот промпт в Claude Code, Cursor, Codex или любой кодинг-агент. Он подскажет агенту, где документация и как использовать ваш API-ключ.
Use the Lovely Router browser agent API: a real browser that clicks, types, fills forms and logs in for a task, and returns an answer plus JSON in a schema I choose.
- Docs (read first): https://lovelyrouter.com/docs/browser-agent.md and https://lovelyrouter.com/docs/api/browser.md
- Start a run: POST https://lovelyrouter.com/v1/browser/runs with `{"goal": "...", "start_url": "https://...", "output_schema": {...}}`. Put every value the task needs in the goal. It returns 202 at once; poll the `poll` path (or stream `events`) until the run ends, then read `answer` and `data`.
- Billed per step (fast mode by default). Set `max_steps` to cap a run. For unattended runs send `"human": false`; by default the agent pauses before purchases, sending or deleting (`approve`).
- If you support MCP, you can instead connect the server https://lovelyrouter.com/mcp (Streamable HTTP, same key; https://lovelyrouter.com/docs/tools/mcp.md) and use suggest_tools, get_tool and run_tool.
- Auth: read my API key from the LOVELY_API_KEY environment variable and send it as `Authorization: Bearer $LOVELY_API_KEY`. Never print or commit the key. If it is not set, ask me to create one at https://lovelyrouter.com/app/keys.
- Billing is prepaid: every call is charged to my balance, so test with a small request before running anything large.
- Every docs page is plain Markdown; the full index is https://lovelyrouter.com/llms.txt.
My task: <describe the site and what the agent should do or extract>Создан для настоящих сайтов
Stream each action, every finished step and the browser screen while the agent works, in the console or over the API.
Pass an output schema and get validated JSON in data, taken only from the pages the agent visited — including real link URLs.
Write-only vault secrets, typed only on the sites you allow. TOTP seeds become 6-digit codes; save the session so later runs start signed in. The model never sees a value.
The agent can ask you a question, wait for your approval before a purchase, or hand you a Live View for a CAPTCHA.
Upload your files once; the agent picks the right one for each upload field (your CV, not your tax return).
Before it clicks submit, the agent compares every field with your task and fixes wrong or pre-filled values.
Самый быстрый API браузерного агента из всех, что мы тестировали
В 5 раз быстрее и намного дешевле. Те же шесть публичных задач 2026-10-10, время замерено от стартового запроса до результата, с настройками по умолчанию. Другой агент — самый популярный браузерный агент с оплатой за шаг в Apify Store.
| Задача | Lovely Router | Ведущий браузерный агент | Быстрее на |
|---|---|---|---|
| Hacker News top story | 3.7s · $0.006 | 22.5s · $0.038 | 6.1× |
| Product page two clicks deep | 7.3s · $0.018 | 63.7s · $0.095 | 8.7× |
| Book price lookup | 8.9s · $0.009 | 38.2s · $0.038 | 4.3× |
| Wikipedia search and read | 9.9s · $0.018 | 79.5s · $0.114 | 8.0× |
| Log in, then read the page | 12.1s · $0.033 | 52.7s · $0.105 | 4.4× |
| 3-step insurance quote form (17 fields) | 21.3s · $0.126 | 199.6s · $0.988 | 9.4× |
Цены
Точный режим также смотрит скриншоты, если не уверен, и может запускать код только для чтения, чтобы получать данные.
- ✓ Без платы за запуск, без подписки
- ✓ Модели ИИ включены — ключ LLM не нужен
- ✓ Структурированный вывод JSON включён
- ✓ Платите только за сделанные шаги
- Каждый шаг включает 1 минуту; время сверх этого (например, ожидание вашего подтверждения) стоит $0.005/мин
- Выберите любую нашу модель: её токены по обычной цене × 1,2
| Пример задачи | Шаги | Быстро | Точный |
|---|---|---|---|
| Read a value from a page | 1–3 | $0.006–$0.018 | $0.012–$0.036 |
| Search a site and read a result | 2–6 | $0.012–$0.036 | $0.024–$0.072 |
| Log in and read account data | 4–8 | $0.024–$0.048 | $0.048–$0.096 |
| Fill and submit a long multi-step form | 15–25 | $0.090–$0.150 | $0.180–$0.300 |
Справочник API
Те же API-ключи и баланс, что и в остальном Lovely Router. Базовый URL https://lovelyrouter.com
Параметры запуска
Запуск завершается как succeeded, failed, timed_out или stopped и может быть приостановлен как waiting_for_human. Результат содержит answer (текст), data (JSON или null), steps и charge_usd.
FAQ
Запустите в консоли, следите за каждым шагом, затем скопируйте вызов API.