Agent-first API safety ratings — discovered, audited, publicly verifiable
APIntegrity rates API calls and MCP connectors so that humans and agents can trust them. A rating is never a guess: every tier is gated by what we actually verified, not by a score alone. We send a live, safety-constrained probe at each API, read its real documentation, and resolve who's behind it. The numeric score orders listings; the verification state decides the tier.
Machine-readable version of this page: /public/methodology.json
Each listing passes through four deterministic stages before it earns a tier.
We fetch the listing's documentation (including the raw README for repo-hosted connectors), extract real disclosure language, and check it against a required-disclosure checklist: retention, infrastructure logging, auth scope, rate limits, failure contract, and exit/deletion plan. Missing disclosures become caveats, not automatic failures — we never penalize a publisher for something our crawl simply couldn't reach.
We determine whether the listing has been claimed and domain-verified by
its publisher. Unclaimed listings carry an unverified_seller
note until the owner claims and documents them.
Claiming is self-serve and proof-based: the publisher proves they control
the thing the listing actually points at. For a repo-hosted listing that
means committing a challenge file to the default branch; for a hosted API
it means serving that challenge at
/.well-known/apintegrity-challenge.txt or
publishing it as a DNS TXT record. The token is bound to that one listing
and that one subject, so it cannot be replayed elsewhere, and nothing is
taken on trust — we read the proof ourselves before the note clears.
Claiming only clears the identity note; it never changes a documentation
or behavioural finding, and it can never raise a tier we did not already
measure. Claim a listing →
A sandboxed probe makes a real request under strict egress rules. It is SSRF-protected: any API that resolves to a private or reserved address is flagged critical and excluded. The probe confirms the endpoint is reachable, the served definition wasn't mutated, no hostile headers are injected, and TLS is intact. A clean, reachable probe is the primary gate to the top tier.
Behavioral danger, disclosure gaps, and provenance combine into a 0–100 score; the probe's verification state then sets the tier (below).
Every listing starts at 100. Penalties are evidence-weighted: demonstrated behavioral danger costs the most; undisclosed documentation costs little and is capped.
| Flag | Severity | Penalty | Meaning |
|---|---|---|---|
ssrf_reachable | critical | −60 | Endpoint resolves to a private/reserved address — never callable. |
sandbox_mismatch | critical | −45 | Live behavior doesn't match the documented contract. |
definition_mutated | critical | −40 | The served API definition was altered from what's published. |
tls_broken | high | −35 | TLS is missing or invalid. |
hostile_headers | high | −25 | Response injects dangerous or misleading headers. |
| Gap severity | Penalty each |
|---|---|
| high (e.g. undisclosed retention, no failure contract) | −8 |
| medium (e.g. opaque metering, overprivileged key) | −4 |
| low | −1 |
| info | 0 |
Total disclosure penalty is capped at −30 so missing paperwork can never outweigh a clean, verified live probe.
| Flag | Penalty | Meaning |
|---|---|---|
unverified_seller | −3 | Listing not yet claimed and domain-verified by its publisher. |
The tier is set by what we verified, then ordered by score.
| Tier | What it means | Gate |
|---|---|---|
| No Cap | Safe to call. Probe-verified reachable with no behavioral danger. | Passing live probe · no critical/high behavioral flag · score ≥ 55 |
| Sus | Call with caution. Verified but weakened by score or unresolved concerns. | Probe ran but score below the No Cap bar |
| Cap | Dangerous. Demonstrated behavioral danger. Excluded from all recommendations. | Any critical/high behavioral flag (SSRF, mutation, sandbox mismatch, broken TLS, hostile headers) |
| Unrated | Not yet verified. No usable probe result — we won't claim safety we didn't test. | Probe not attempted / unreachable |
Recommendations only ever surface No Cap listings. We would rather show nothing than recommend something we haven't verified.
Every flag carries a severity, a plain-English description, an agent action, and an evidence URL pointing to the probe result that produced it.
| Code | Severity | Agent action | Description |
|---|---|---|---|
ssrf_reachable | critical | do_not_call | Resolves to a private/reserved address. |
sandbox_mismatch | critical | do_not_call | Live behavior diverges from the documented contract. |
definition_mutated | critical | do_not_call | Served definition altered from what's published. |
tls_broken | high | do_not_call | TLS missing or invalid. |
hostile_headers | high | warn | Dangerous/misleading response headers. |
undisclosed_retention | high | do_not_send_confidential_data | Doesn't state what happens to caller data. |
no_failure_contract | high | warn | No documented error codes or failure behavior. |
infra_logging_risk | medium | warn | No disclosure of infrastructure-level logging. |
overprivileged_key | medium | warn | Auth scheme scope not clearly documented. |
opaque_metering | medium | warn | Rate limits / metering not disclosed. |
missing_exit_plan | medium | warn | No documented data deletion / exit plan. |
unverified_seller | medium | warn | Listing not yet claimed/verified by its publisher. |
probe_not_attempted | info | warn | No eligible endpoint to probe — leaves listing Unrated. |
probe_refused | info | warn | Endpoint unreachable (connection/DNS/timeout/5xx) — leaves listing Unrated. |
Probes run inside a sandbox under a strict egress allowlist and SSRF protection; we never call private or reserved hosts. Ratings describe observed behavior and documentation state at probe time — they are not legal advice and not a warranty. Pricing shown in recommendations is labeled with its provenance and never fabricated. Publishers can claim their listing, supply disclosures, and improve their rating through the claim & verify flow.
Scoring engine: evidence-weighted v2 · tiers gated by verification state.