Browse the documentation
API documentation
AgentScore API
AgentScore benchmarks APIs from the point of view of an AI agent. A coding agent gets only the public documentation, a test account and a real task, and we score what happens: how much it costs, how often it fails, how well errors help it recover. This page explains how to read those scores from your own code or from an agent.
Free, no account, no key. Every endpoint below answers anonymous requests from any origin.
There are four ways in:
- the REST API at
https://agentsco.re/api/v1, JSON over HTTPS; - the MCP server at
https://agentsco.re/mcp, for agents that speak the Model Context Protocol; - /llms.txt and /llms-full.txt, a plain-text index and a full dump of the catalogue;
- /openapi.json, the OpenAPI description, generated from the same schemas the API validates with.
Quickstart
List the categories, then read the ranking of one of them. Both calls work as is, with no key and no header.
curl https://agentsco.re/api/v1/categoriescurl "https://agentsco.re/api/v1/tools?category=transactional-email&limit=3"Every tool carries one or more surfaces (a REST API, an SDK, an MCP server). Scores belong to surfaces, not to tools: Stripe's REST API and Stripe's SDK are scored separately. A surface's category_rank is its position inside its category; it is null when the surface has no overall score.
Endpoints
GET /api/v1
The discovery document: the list of routes, the meaning of each score status, and the conventions below. It is the first thing an agent should read, and often the only one.
curl https://agentsco.re/api/v1GET /api/v1/categories
Categories, the number of products in each, and whether they are comparable. A score is only comparable with other scores of the same category. The categories ranked today are:
backend-database: Backend databases reachable over HTTPpayments: Payment APIstransactional-email: Transactional emailvector-database: Vector databasesweb-search: Web search APIs built for agents
GET /api/v1/tools
The scored tools, paginated. Query parameters:
| Parameter | Meaning |
|---|---|
category | Only tools of this category. Use a slug from /api/v1/categories. |
limit | Page size, from 1 to 100. Default 25. |
cursor | The next_cursor of the previous page. Absent on the first call. |
fields | Comma-separated list of top-level fields to keep, to shrink the response. An unknown field is an error that lists the valid ones. |
Read every page by following next_cursor until has_more is false:
curl "https://agentsco.re/api/v1/tools?category=payments&limit=2"
curl "https://agentsco.re/api/v1/tools?category=payments&limit=2&cursor=paddle"Keep only what you need:
curl "https://agentsco.re/api/v1/tools?fields=id,name,category,surfaces"An abridged response:
{
"data": [
{
"id": "postmark",
"name": "Postmark",
"category": "transactional-email",
"surfaces": [
{
"id": "postmark-rest-v1",
"kind": "rest",
"docs_url": "https://postmarkapp.com/developer/api/overview",
"score": {
"status": "scored",
"overall": 59.0,
"coverage": 0.98,
"rubric_version": "0.2.0",
"measured_at": "2026-10-05T08:26:55.208Z",
"criteria": { "error-recoverability": 39, "doc-legibility": 50 }
},
"category_rank": 2
}
]
}
],
"next_cursor": "postmark",
"has_more": true
}GET /api/v1/tools/{id}
One tool and all its surfaces, with the score of each criterion. An unknown identifier returns a 404 that suggests the closest identifiers.
curl https://agentsco.re/api/v1/tools/stripeGET /api/v1/rubric
The criteria, their weights and how each one is measured, for the current rubric version.
curl https://agentsco.re/api/v1/rubricGET /tools/{id}.md
The Markdown twin of a tool's page, lighter than HTML for a model's context. The HTML page /tools/{id} also answers in Markdown when you send Accept: text/markdown.
curl https://agentsco.re/tools/stripe.mdPOST /api/v1/audit
Runs the first stage of the benchmark on any public documentation URL: how much of the page is readable text, whether it serves an llms.txt, an OpenAPI spec, runnable examples or an MCP server. It returns a partial assessment: one criterion out of eleven can be measured without credentials. Limited to 5 calls per minute per IP.
curl -X POST https://agentsco.re/api/v1/audit \
-H "content-type: application/json" \
-d '{"url": "https://docs.stripe.com"}'Reading a score
Scores go from 0 to 100 and are always oriented higher-is-better, costs included. The overall score is a weighted average of the criteria that apply to the surface. Two rules matter more than any number:
A missing criterion is not a zero. It means not measured, or not applicable. It is excluded and the remaining weights are renormalised.
Compare within a category only, and only between scores of the same rubric version. Cost criteria are normalised against the best surface of the category.
Each score has a status:
not_yet_scored: Surface catalogued, benchmark not run.overallis null: this is an ABSENCE OF MEASUREMENT, never a score of zero. Do not rank this surface last.partial: Partial benchmark: coverage is below the publication threshold, so no overall score is computed. The criteria present incriteriaare valid and usable individually.scored: Complete benchmark.overallis a weighted average of the applicable criteria, comparable to other surfaces in the same category and the same rubric version.
coverage is the share of the rubric's weight that was actually measured, from 0 to 1. Below 70%, no overall score is published. measured_at is the date of the oldest measurement still counted in the score, never the date of the last recomputation.
The criteria
Rubric version 0.2.0. The weights add up to 100.
| Criterion | Weight | Method | Question |
|---|---|---|---|
offload-value | 15 | judged | Does the service let the agent hand off work that would be expensive to do itself through inference, or is it just CRUD in disguise? |
interaction-cost | 15 | measured | How many tokens does it cost me just to TALK to this API to complete its category's canonical task? |
error-recoverability | 15 | probed | When I hallucinate a parameter, does the error let me correct myself on the next turn, or do I give up? |
doc-legibility | 12 | measured | Can I read this documentation without running JavaScript, and without spending 80% of my tokens on markup? |
auth-friction | 10 | measured | How many steps between "I have a key" and "my first call succeeds"? |
safety-reversibility | 10 | probed | If I retry after a timeout, do I charge the customer twice? |
payload-efficiency | 8 | probed | Can I ask for only the fields I need, or do I have to swallow 200 attributes to extract one? |
task-atomicity | 6 | measured | How many calls for a single business intent? |
prior-knowledge-coverage | 5 | measured | Do I already know this API by heart, or will I confidently hallucinate an outdated version? |
async-compatibility | 2 | probed | If the operation is asynchronous, can I get the result without hosting a web server? |
tool-native | 2 | binary | Does the vendor publish an official, maintained MCP server? |
How each method works, and why, is on the methodology page.
MCP server
Agents that speak the Model Context Protocol can query the benchmark directly, without writing HTTP calls. The server uses the Streamable HTTP transport at https://agentsco.re/mcp. It needs no authentication and exposes five read-only tools:
list_categories: the ranked categories and how many products each holds;get_category_ranking: every surface of one category, best first;get_tool: one tool with the score of every criterion;compare_tools: two to five tools side by side;search_tools: find tools by name, category or description keyword.
In Claude Code:
claude mcp add --transport http agentscore https://agentsco.re/mcpIn any client that takes a JSON configuration:
{
"mcpServers": {
"agentscore": { "type": "http", "url": "https://agentsco.re/mcp" }
}
}To check the server by hand, list its tools:
curl -X POST https://agentsco.re/mcp \
-H "content-type: application/json" \
-H "accept: application/json, text/event-stream" \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/list"}'Conventions
Authentication
No key is required today. An Authorization: Bearer <key> header is already accepted and ignored; it will be required beyond the free tier, so you can wire it in now without breaking anything.
Rate limits
The free tier allows 10,000 requests per hour. Every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset. A 429 always carries a Retry-After you can wait on.
Caching
Every 200 response has an ETag. Send it back in If-None-Match and you get an empty 304 when nothing changed. Scores are refreshed once a week, on Mondays.
curl -i https://agentsco.re/api/v1/categories -H 'If-None-Match: "<etag from a previous call>"'CORS
The API, llms.txt and openapi.json answer any origin, so a browser-based agent can call them directly.
Errors
Errors follow RFC 9457 (application/problem+json). Every error says which parameter is wrong in field, what it received, and, when the set is finite, the valid values in allowed_values. The type and docs links point to the matching section below.
{
"type": "https://agentsco.re/docs/errors/unknown-field",
"title": "Unknown field in `fields`",
"status": 400,
"detail": "`fields` asks for `overall`, which does not exist on this resource. Remove it or use a value from `allowed_values`.",
"field": "query.fields",
"allowed_values": ["id", "name", "category", "vendor", "surfaces"]
}invalid-parameter400
A query or body parameter has the wrong type or value. The response names the parameter in field, echoes what it received, and says what was expected. Fix the value and call the same URL again.
unknown-field400
fields asks for a field that does not exist on the resource. allowed_values lists every valid field name.
invalid-body400
The request body is not valid JSON. Send content-type: application/json with a JSON object.
resource-not-found404
No tool has this identifier. When we can guess what you meant, allowed_values carries the closest identifiers.
method-not-allowed405
The route exists but not with this HTTP method. The Allow header lists the accepted methods.
unsafe-target400
Audit only: the URL does not point to a public resource on the internet.
robots-disallow422
Audit only: the robots.txt of the target domain disallows the page. We respect it and produce no score.
rate-limited429
You exceeded the quota. Wait for the number of seconds in Retry-After, then send the exact same request again.
audit-busy503
Audit only: too many audits are running at once. Retry after the Retry-After delay.
database-unavailable503
Our database did not answer. Retry after the Retry-After delay; your request is not the cause.
internal-error500
Something failed on our side. Retry once after Retry-After; if it persists, your request is not the cause.