Skip to content

Test

Status: NEEDS-ACCOUNT

Classification: NEEDS-ACCOUNT (cloud API) Install method: npm (npm install anchorbrowser) or pip (pip install anchorbrowser) for the SDK client Cost tier: Paid plans; check anchorbrowser.io for current pricing What is required: An account at anchorbrowser.io and a valid API key. No self-hosted option.

No npm or pip package was found under obvious names during environment scan. The SDK may require an account to access the package registry or the package name may differ. Verify the install command against the current anchorbrowser.io docs before running.


Smoke test: SDK version check

Verify the package installs and is importable.

Node.js

bash
npm install anchorbrowser
node -e "const a = require('anchorbrowser'); console.log('anchorbrowser loaded:', typeof a.default || typeof a)"

Expected success output:

anchorbrowser loaded: function

Python

bash
pip install anchorbrowser
python -c "import anchorbrowser; print('anchorbrowser version:', anchorbrowser.__version__)"

Expected success output:

anchorbrowser version: <version string, e.g. 0.x.y>

If the import fails with ModuleNotFoundError, the install did not complete successfully.


Live API smoke test (requires API key)

Run the minimal task example from the Usage page. A valid API key and active account are required.

Node.js

bash
node -e "
import AnchorClient from 'anchorbrowser';
const c = new AnchorClient({ apiKey: process.env.ANCHOR_API_KEY });
c.agent.task('go to example.com and return the page title').then(r => console.log('Result:', r));
" --input-type=module

Expected success output:

Result: { ... "output": "Example Domain", ... }

The response is a JSON object containing an output field with the extracted text. A successful call confirms your API key is valid and Anchor Browser can reach the target URL.


Error signals

ErrorLikely cause
401 UnauthorizedAPI key is missing or invalid
429 Too Many RequestsConcurrency or rate limit exceeded for your plan
timeoutThe target page took too long; retry or increase timeout
credits exhaustedMonthly credit limit reached; upgrade plan or wait for reset

Interactive playground

No code required. Go to https://app.anchorbrowser.io/playground, enter any natural-language task, and run it live against a real cloud browser session.