あなたの代わりにウェブを操作する AI エージェント
タスクと URL を送るだけ。実際の Chrome ブラウザがクリック・入力・フォーム入力・ログインを行い、回答と指定スキーマの構造化 JSON を返します。
リクエスト 1 つで 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
}AI エージェントに任せる
このプロンプトを 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>実際のウェブサイト向けに設計
エージェントの作業中に、各アクション、完了した各ステップ、ブラウザ画面をストリーミングで確認できます。コンソールでも API でも利用できます。
出力スキーマを渡すと、検証済みの JSON が data に返ります。値はエージェントが訪れたページからのみ取得し、実際のリンク URL も含みます。
書き込み専用のボールトシークレットは、許可したサイトでのみ入力されます。TOTP シードは 6 桁のコードに変換され、セッションを保存すれば以後の実行はサインイン済みで始まります。モデルが値を見ることはありません。
エージェントは質問したり、購入前に承認を待ったり、CAPTCHA ではライブビューで操作を引き渡したりできます。
ファイルは一度アップロードするだけ。各アップロード欄にエージェントが適切なファイルを選びます(確定申告書ではなく履歴書を)。
送信ボタンを押す前に、エージェントが各項目をタスクと照合し、誤った値や事前入力された値を修正します。
私たちがテストした中で最速のブラウザエージェント API
5 倍速く、コストはごく一部。 2026-10-10 に同じ 6 つの公開タスクをデフォルト設定で実行し、開始リクエストから結果取得までを計測しました。比較対象は Apify Store で最も利用されているステップ課金型ブラウザエージェントです。
| タスク | Lovely Router | 主要なブラウザエージェント | 速度差 |
|---|---|---|---|
| Hacker News のトップ記事 | 3.7s · $0.006 | 22.5s · $0.038 | 6.1× |
| 2 クリック先の商品ページ | 7.3s · $0.018 | 63.7s · $0.095 | 8.7× |
| 書籍の価格を調べる | 8.9s · $0.009 | 38.2s · $0.038 | 4.3× |
| Wikipedia で検索して読む | 9.9s · $0.018 | 79.5s · $0.114 | 8.0× |
| ログインしてページを読む | 12.1s · $0.033 | 52.7s · $0.105 | 4.4× |
| 3 ステップの保険見積もりフォーム(17 項目) | 21.3s · $0.126 | 199.6s · $0.988 | 9.4× |
料金
高精度モードは迷ったときにスクリーンショットも見て、読み取り専用のコードでデータを読み出せます。
- ✓ 実行料金・サブスクリプションなし
- ✓ AI モデル込み — LLM キー不要
- ✓ 構造化 JSON 出力込み
- ✓ 実行したステップ分のみ課金
- 各ステップに 1 分を含みます。それを超える時間(承認待ちなど)は 1 分あたり $0.005
- 当社の任意のモデルを選択可:トークンは通常価格 × 1.2
| タスク例 | ステップ | 高速 | 高精度 |
|---|---|---|---|
| ページから値を読む | 1–3 | $0.006–$0.018 | $0.012–$0.036 |
| サイトを検索して結果を読む | 2–6 | $0.012–$0.036 | $0.024–$0.072 |
| ログインしてアカウント情報を読む | 4–8 | $0.024–$0.048 | $0.048–$0.096 |
| 長い複数ステップのフォームを入力・送信 | 15–25 | $0.090–$0.150 | $0.180–$0.300 |
API リファレンス
Lovely Router の他のサービスと同じ API キーと残高を使います。ベース URL https://lovelyrouter.com
実行パラメーター
実行は succeeded・failed・timed_out・stopped のいずれかで終了し、途中で waiting_for_human として一時停止することがあります。結果には answer(テキスト)、data(JSON または null)、steps、charge_usd が含まれます。
よくある質問
コンソールで実行して各ステップを確認し、API 呼び出しをコピーしましょう。