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:

Quickstart

List the categories, then read the ranking of one of them. Both calls work as is, with no key and no header.

Terminal
curl https://agentsco.re/api/v1/categories
Terminal
curl "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.

Terminal
curl https://agentsco.re/api/v1

GET /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:

GET /api/v1/tools

The scored tools, paginated. Query parameters:

ParameterMeaning
categoryOnly tools of this category. Use a slug from /api/v1/categories.
limitPage size, from 1 to 100. Default 25.
cursorThe next_cursor of the previous page. Absent on the first call.
fieldsComma-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:

Terminal
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:

Terminal
curl "https://agentsco.re/api/v1/tools?fields=id,name,category,surfaces"

An abridged response:

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.

Terminal
curl https://agentsco.re/api/v1/tools/stripe

GET /api/v1/rubric

The criteria, their weights and how each one is measured, for the current rubric version.

Terminal
curl https://agentsco.re/api/v1/rubric

GET /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.

Terminal
curl https://agentsco.re/tools/stripe.md

POST /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.

Terminal
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:

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.

CriterionWeightMethodQuestion
offload-value15judgedDoes 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-cost15measuredHow many tokens does it cost me just to TALK to this API to complete its category's canonical task?
error-recoverability15probedWhen I hallucinate a parameter, does the error let me correct myself on the next turn, or do I give up?
doc-legibility12measuredCan I read this documentation without running JavaScript, and without spending 80% of my tokens on markup?
auth-friction10measuredHow many steps between "I have a key" and "my first call succeeds"?
safety-reversibility10probedIf I retry after a timeout, do I charge the customer twice?
payload-efficiency8probedCan I ask for only the fields I need, or do I have to swallow 200 attributes to extract one?
task-atomicity6measuredHow many calls for a single business intent?
prior-knowledge-coverage5measuredDo I already know this API by heart, or will I confidently hallucinate an outdated version?
async-compatibility2probedIf the operation is asynchronous, can I get the result without hosting a web server?
tool-native2binaryDoes 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:

In Claude Code:

Terminal
claude mcp add --transport http agentscore https://agentsco.re/mcp

In any client that takes a JSON configuration:

JSON
{
  "mcpServers": {
    "agentscore": { "type": "http", "url": "https://agentsco.re/mcp" }
  }
}

To check the server by hand, list its tools:

Terminal
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.

Terminal
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.

Response · 400
{
  "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.