# OpenCageData Cursor API Evaluation

**Category:** Geocoding
**Score:** 90 (A)

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

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 90 |
| Grade | A |
| Eval score | 93 |
| Discovery score | 86 |
| Cost | $0.06 |
| Runtime | 38s |
| Tool calls | 11 |
| Errors | 0 |
| Tokens used | 163997 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | Not found |
| llms.txt | https://opencagedata.com/llms.txt |
| MCP server | https://github.com/OpenCageData/opencage-geocoding-mcp |
| Typed SDK | https://github.com/OpenCageData/jopencage |
| OpenAPI | https://opencagedata.com/openapi.yaml |
| Agent skills | https://github.com/OpenCageData/opencage-skills |
| CLI | https://github.com/OpenCageData/opencage-cli |

## Evaluation Prompt

````text

# Task
Using https://opencagedata.com/api, complete the following task:

Using the OpenCageData Python SDK, build me a script that performs geocoding operations:

1. Install the official OpenCageData Python SDK (pip install)
2. Forward geocode the address: "1600 Amphitheatre Parkway, Mountain View, CA"
3. Reverse geocode the coordinates: latitude 48.8584, longitude 2.2945 (Eiffel Tower)
4. Print both results as JSON with fields: query, latitude, longitude, formatted_address, confidence

You MUST use the official OpenCageData 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.06 (<$0.10, excellent) |
| Time | Yes | 0 | 1 | 38s (<60s, excellent) |
| Efficiency | Yes | 0 | 0 | 11 tool calls (≤15, good) |
| Found Docs | Yes | 0 | — | Touched docs at opencagedata.com: 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 | 14 |
| Tool call traces | 11 |
| Generated files | 1 |
| Exit code | 0 |
| Completed at | 2026-10-20T04:40:07.359029+00:00 |

### Generated Files

- /home/daytona/app/geocode.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/opencagedata
