# Firecrawl Claude Code API Evaluation

**Category:** Search
**Score:** 81 (B)

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

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 81 |
| Grade | B |
| Eval score | 74 |
| Discovery score | 100 |
| Cost | $0.44 |
| Runtime | 2m 51s |
| Tool calls | 18 |
| Errors | 0 |
| Tokens used | 554296 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | https://context7.com/mendableai/firecrawl |
| llms.txt | https://docs.firecrawl.dev/llms.txt |
| MCP server | https://github.com/mendableai/firecrawl-mcp-server |
| Typed SDK | https://github.com/mendableai/firecrawl/tree/main/apps/js-sdk/firecrawl |
| OpenAPI | https://raw.githubusercontent.com/mendableai/firecrawl/main/apps/api/openapi.json |
| Agent skills | https://github.com/firecrawl/skills |
| CLI | https://docs.firecrawl.dev/sdks/cli |

## Evaluation Prompt

````text

# Task
Using https://docs.firecrawl.dev, complete the following task:

Using Firecrawl, build me a script that runs a small web research workflow:

1. Run TWO related searches:
   a. A broad query: "grid-scale battery storage advances"
   b. A more specific, recency-focused query: "grid-scale battery storage breakthroughs 2025"
2. Merge the results from both searches, deduplicate by URL, and select the top 5 most relevant results
3. If Firecrawl supports fetching/extracting page content, retrieve the full content of the single most relevant result and write a 2-3 sentence summary grounded in that fetched content (not just the snippet)
4. Print the output as JSON with two keys:
   - "results": the top 5 deduplicated results, each with title, url, and snippet (or description)
   - "summary": your grounded 2-3 sentence summary of the top result (include the source url) 

## 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 | No | 0 | 0 | $0.44 ($0.40–0.70, expensive) |
| Time | Yes | 0 | 0 | 171s (2–3min, good) |
| Efficiency | Yes | 0 | 0 | 18 tool calls (≤20, acceptable) |
| Found Docs | Yes | 0 | — | Touched docs at docs.firecrawl.dev: yes (4 matching tool calls) |
| Zero Errors | Yes | 0 | — | No errors in tool outputs |
| 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 | 23 |
| Tool call traces | 18 |
| Generated files | 1 |
| Exit code | 0 |
| Completed at | 2026-09-29T09:27:54.020646+00:00 |

### Generated Files

- /home/daytona/app/research.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/firecrawl
