> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anchorbrowser.io/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Anchor Browser is cloud browser infrastructure for AI agents and automation: browser sessions you control over CDP or REST, natural-language web tasks, versioned automation tasks, managed authentication into third-party web apps (identities with MFA), persistent volumes and profiles, recordings, live view, batch sessions, webhooks, and network options including residential proxies, extra stealth, and captcha solving for sites that block standard browsers. AI agents should start at https://docs.anchorbrowser.io/for-agents, then create an API key at https://app.anchorbrowser.io/api-keys. Read the for-agents page before authentication or API calls.

# API Quick Start

Our APIs can be used directly (See our [API Reference](https://docs.anchorbrowser.io/api-reference)) or through integrations to automation platforms. We've created modules for our most commonly used API routes in each of the supported platforms.

Pick your preferred platform to view a quick-start for its usage:

> [card] [Direct API Usage](https://docs.anchorbrowser.io/api-reference)
>
> Use the API directly as you like, See our [API Reference](https://docs.anchorbrowser.io/api-reference) for more details.

> [card] [OpenAPI Specification](https://docs.anchorbrowser.io/openapi.yaml)
>
> Download the raw OpenAPI spec for code generation or API client tooling.

> [card] [Browser-use Integration](https://docs.anchorbrowser.io/integrations/browseruse-deployment.md)
>
> Enhance Browser-Use capabilities with Anchor tools and cloud-based browser sessions

> [card] [Make Integration](https://docs.anchorbrowser.io/integrations/make.md)
>
> Integrate with Make (formerly Integromat) for no-code automation

> [card] [Zapier Integration](https://docs.anchorbrowser.io/integrations/zapier.md)
>
> Connect Anchor Browser to Zapier for no-code workflow automation

> [card] [CrewAI Integration](https://docs.anchorbrowser.io/agent-frameworks/crewai.md)
>
> Integrate with CrewAI to gain robust qualities of Anchor Browser implementing no-code automation.

> [card] [Langchain Integration](https://docs.anchorbrowser.io/agent-frameworks/langchain.md)
>
> Integrate with Langchain to leverage Anchor Browser's browser tools in your LLM workflows.

> [card] [Custom Integration](https://docs.anchorbrowser.io/agent-frameworks/custom-agent-framework.md)
>
> Integrate with your own platform to leverage Anchor Browser's in your automations.

## Quick API Examples

### Single Step Browser Tool Call

The easiest way to utilize Anchor Browser is through browser tools. Browser tools are API endpoints that wrap end-to-end browser functionality in a single API call.

```bash curl theme={null}
curl -X POST "https://api.anchorbrowser.io/v1/tools/perform-web-task" \
  -H "anchor-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "go to ycombinator hacker news and get top 10 news"
  }'
```

```javascript node.js theme={null}
const axios = require('axios');

const response = await axios.post('https://api.anchorbrowser.io/v1/tools/perform-web-task', {
  prompt: 'go to ycombinator hacker news and get top 10 news'
}, {
  headers: {
    'anchor-api-key': process.env.ANCHOR_API_KEY,
    'Content-Type': 'application/json'
  }
});

console.log(response.data);
```

```python python theme={null}
import os
import requests

response = requests.post('https://api.anchorbrowser.io/v1/tools/perform-web-task', 
  json={
    'prompt': 'go to ycombinator hacker news and get top 10 news'
  },
  headers={
    'anchor-api-key': os.getenv('ANCHOR_API_KEY'),
    'Content-Type': 'application/json'
  }
)

print(response.json())
```

### Multi-Step Browser Flow

For use cases where a custom browser configuration is required, or a multi-step browser flow is needed:

**1. Fetch API Key**

In [Anchor UI](https://app.anchorbrowser.io/api-key), copy your API key

**2. Create a session**

[Create a session](https://docs.anchorbrowser.io/api-reference/browser-sessions/start-browser-session.md) with the desired configuration

**3. Use tools on the created session**

Perform [browser tool calls](https://docs.anchorbrowser.io/api-reference/ai-tools/perform-web-task.md) while referencing the created session ID


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.