# Scrapfly Cursor API Evaluation

**Category:** Webscraping
**Score:** 79 (B)

This is the agent-readable Devtool Arena evaluation page for Scrapfly on Cursor API.

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 79 |
| Grade | B |
| Eval score | 83 |
| Discovery score | 71 |
| Cost | $0.12 |
| Runtime | 49s |
| Tool calls | 16 |
| Errors | 1 |
| Tokens used | 314483 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | Not found |
| llms.txt | https://scrapfly.io/llms.txt |
| MCP server | https://github.com/scrapfly/scrapfly-mcp |
| Typed SDK | https://github.com/scrapfly/typescript-scrapfly |
| OpenAPI | Not found |
| Agent skills | https://github.com/scrapfly/skills |
| CLI | https://github.com/scrapfly/scrapfly-cli |

## Evaluation Prompt

````text

# Task
Using https://scrapfly.io/docs, complete the following task:

Using the Scrapfly Python SDK, build me a script that scrapes web content:

1. Install the official Scrapfly Python SDK (pip install)
2. Scrape the page at "https://news.ycombinator.com"
3. Extract the top 5 story titles and their URLs
4. Print the results as JSON array with fields: rank, title, url

You MUST use the official Scrapfly Python SDK — do not make raw HTTP/REST 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.12 ($0.10–0.20, great) |
| Time | Yes | 0 | 1 | 49s (<60s, excellent) |
| Efficiency | Yes | 0 | 0 | 16 tool calls (≤20, acceptable) |
| Found Docs | Yes | 0 | — | Touched docs at scrapfly.io: yes (6 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 | 19 |
| Tool call traces | 16 |
| Generated files | 1 |
| Exit code | 0 |
| Completed at | 2026-10-20T06:55:26.593041+00:00 |

### Generated Files

- /home/daytona/app/scrape_hn.py

## Related Pages

- [Cursor API leaderboard](/cursor/api)
- [Compare Cursor API companies](/cursor/api/compare)
- [Agent Landscape](/discoverability)

Canonical URL: https://devtoolarena.com/cursor/api/scrapfly
