# Diffbot Kilo Code API Evaluation

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

This is the agent-readable Devtool Arena evaluation page for Diffbot on Kilo Code API.

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 78 |
| Grade | B |
| Eval score | 82 |
| Discovery score | 71 |
| Cost | $0.08 |
| Runtime | 1m 26s |
| Tool calls | 11 |
| Errors | 2 |
| Tokens used | 283381 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | Not found |
| llms.txt | https://diffbot.com/llms.txt |
| MCP server | https://github.com/diffbot/diffbot-mcp |
| Typed SDK | https://pypi.org/pypi/diffbot/json |
| OpenAPI | Not found |
| Agent skills | https://github.com/diffbot/diffbot-python |
| CLI | https://github.com/diffbot/diffbot-python/blob/main/README.md |

## Evaluation Prompt

````text

# Task
Using https://github.com/diffbot/diffbot-python/blob/main/README.md, complete the following task:

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

1. Install the official Diffbot 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 Diffbot 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.08 (<$0.10, excellent) |
| Time | Yes | 0 | 1 | 86s (1–2min, great) |
| Efficiency | Yes | 0 | 0 | 11 tool calls (≤15, good) |
| Found Docs | Yes | 0 | — | Touched docs at github.com: yes (3 matching tool calls) |
| Zero Errors | No | 0 | — | Tool outputs with errors/tracebacks: 2 |
| Syntax Valid | Yes | 0 | — | Code compiles/parses correctly |
| Created Files | Yes | 0 | — | Generated files: 3 (need ≥1) |
| Full Execution | Yes | 0 | — | Method: full_execution, Exit: 0 |

## Run Artifacts

| Artifact | Value |
|----------|-------|
| Conversation turns | 12 |
| Tool call traces | 11 |
| Generated files | 3 |
| Exit code | 0 |
| Completed at | 2026-10-20T18:33:58.299647+00:00 |

### Generated Files

- /home/daytona/app/debug_hn.py
- /home/daytona/app/scrape_hn.py
- /home/daytona/app/opencode.json

## Related Pages

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

Canonical URL: https://devtoolarena.com/kilo/api/diffbot
