# Browserbase Claude Code API Evaluation

**Category:** Browser
**Score:** 82 (B)

This is the agent-readable Devtool Arena evaluation page for Browserbase on Claude Code API.

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 82 |
| Grade | B |
| Eval score | 81 |
| Discovery score | 86 |
| Cost | $0.18 |
| Runtime | 1m 14s |
| Tool calls | 10 |
| Errors | 1 |
| Tokens used | 200955 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | Not found |
| llms.txt | https://docs.browserbase.com/llms.txt |
| MCP server | https://github.com/browserbase/mcp-server-browserbase |
| Typed SDK | https://github.com/browserbase/sdk-node |
| OpenAPI | https://docs.browserbase.com/reference/api/openapi.v1.yaml |
| Agent skills | https://www.browserbase.com/SKILL.md |
| CLI | https://github.com/browserbase/stagehand-cli |

## Evaluation Prompt

````text

# Task
Using https://docs.browserbase.com/reference/introduction, complete the following task:

Using Browserbase, build me a Python script that:

1. Install the Browserbase Python package
2. Open a browser session
3. Navigate to "https://example.com"
4. Extract the page title and the main heading (h1) text
5. Take a screenshot and save as "screenshot.png" (if supported)
6. Close the session
7. Print results as JSON: {"url": "...", "title": "...", "heading_text": "...", "screenshot_saved": true/false}

Use the official Browserbase Python library — not raw HTTP calls. 

## Execution
After creating the script, run it to verify it works:
```bash
cd /home/daytona/app && python <your_script>.py
```

The script should print output to stdout. If there are errors, debug and fix them until it runs successfully.

````

## Grader Results

| Check | Passed | Weight | Score | Details |
|-------|--------|--------|-------|---------|
| Cost | Yes | 0 | 1 | $0.18 ($0.10–0.20, great) |
| Time | Yes | 0 | 1 | 74s (1–2min, great) |
| Efficiency | Yes | 0 | 1 | 10 tool calls (≤10, great) |
| Found Docs | Yes | 0 | — | Touched docs at docs.browserbase.com: yes (4 matching tool calls) |
| Zero Errors | No | 0 | — | Tool outputs with errors/tracebacks: 1 |
| Syntax Valid | Yes | 0 | — | Code compiles/parses correctly |
| Created Files | Yes | 0 | — | Generated files: 1 (need ≥1) |
| Full Execution | Yes | 0 | — | Method: full_execution, Exit: 0 |

## Run Artifacts

| Artifact | Value |
|----------|-------|
| Conversation turns | 14 |
| Tool call traces | 10 |
| Generated files | 1 |
| Exit code | 0 |
| Completed at | 2026-09-26T13:45:34.579374+00:00 |

### Generated Files

- /home/daytona/app/browserbase_script.py

## Related Pages

- [Claude Code API leaderboard](/leaderboard/claudecode/api)
- [Compare Claude Code API companies](/leaderboard/claudecode/api/compare)
- [Agent Landscape](/leaderboard/discoverability)

Canonical URL: https://devtoolarena.com/claudecode/api/browserbase
