Empirical Study 05 · N=26 Live B2B OpenAPI Specs · Snapshot 2026-11-27

2026 B2B OpenAPI Security & MCP Token Readiness Benchmark (N=26)

We fetched and audited 26 live commercial B2B OpenAPI specifications (4,598 total operations across 10 OpenAPI 3.1, 14 OpenAPI 3.0.x & 2 Swagger 2.0) on 2026-11-26. Median/mean SpecDiff hygiene is 68.5/100, 5/26 (19.2%) overflow a 128k context window (up to 293,349 tokens), and 95.5% of detailed specs omit additionalProperties: false.

Median / Mean Hygiene
68.5 / 68.5
N=26 specs · Range 47–88 · 4/26 (15.4%) Grade A
AI / MCP Token Footprint
32,658 / 162,853
Median / P90 · 5/26 (19.2%) >128k · Max 293,349
Monthly Uncached Spend
$2,204.39/mo
P90 $10,992.58/mo · Max $19,801.06/mo @ $4.50/1M, 500/day
OWASP & Prose Waste (n=22)
95.5% / 100%
Mass Assign / Unbounded Arrays · 103,638 savable desc tok
Methodology & Scope Notice: Informational engineering telemetry measured from publicly published OpenAPI / Swagger specs on 2026-11-26 (UTC run 2026-11-26T22:22:44.782222+00:00; 213 prior hosts excluded via deduplication; 0 scan errors). Zero private credentials or prospect emails are included.

1. Methodology, Spec Standards & SpecDiff Scoring Rubric (N=26)

Every specification in this cohort is an active, public B2B API contract fetched directly from the vendor's production API documentation endpoint. Across N=26 specs totaling 4,598 REST operations (median 132, mean 176.8, P90 374.5, max 572), SpecDiff scores each contract 0–100 across four deterministic pillars while estimating AI/MCP tool-schema context consumption against a 128,000-token context window at 500 calls/day (15,000/mo, $4.50/1M uncached input tokens).

  • Denominator Transparency (N=26 vs. n=22): All N=26 specs carry full aggregate scores, letter grades, spec versions, operation counts, AI/MCP tool-schema token estimates, 128k context overflow ratios, and monthly cost projections. Detailed check-level telemetry (pillar sub-scores, schema-level defect ratios, and savable description token estimates) was archived for n=22 specs while 4 specs (Qdrant, Neon, Notion, Jina AI) store summary telemetry only; denominators are labeled explicitly throughout.
  • Spec Format Adoption (N=26): 10/26 (38.5%) publish OpenAPI 3.1.0, 14/26 (53.8%) remain on OpenAPI 3.0.x, and 2/26 (7.7%) still serve legacy Swagger 2.0 (Weaviate & Netlify).

Hygiene Grade Distribution (N=26)

Grade A (80–100)
4 (15.4%)
Grade B (65–79)
14 (53.8%)
Grade C (45–64)
8 (30.8%)
Grade D (30–44)
0 (0%)
Grade F (<30)
0 (0%)

Overall score (N=26): Min 47 · P25 60.5 · Median 68.5 · Mean 68.5 · P75 74.8 · Max 88.

OpenAPI Standard Breakdown (N=26)

Spec Version Specs Med / Mean Score Med Tokens Med Ops
OpenAPI 3.1.0 10 (38.5%) 74 / 73.1 17,251 62
OpenAPI 3.0.x 14 (53.8%) 68 / 65.9 44,579 196
Swagger 2.0 (Legacy) 2 (7.7%) 64 / 64 40,751 160

4-Pillar SpecDiff Scoring Rubric Breakdown (n=22 Detailed Cohort)

Rubric Pillar Max Points Min P25 Median Mean P75 Max What It Evaluates
Contract Completeness 30 18 25.3 27 26.5 (88.2%) 28.5 30 Valid $ref resolution, operationId uniqueness, error response completeness & typed 2xx payloads
OWASP API Security 30 10 21.3 22.5 23.3 (77.7%) 26.8 30 securitySchemes, HTTPS servers[], write auth coverage, 401/403, 429 rate limits & x-sunset
Schema Rigor 20 7 8 9.5 9.8 (49.1%) 11.8 15 additionalProperties: false on input objects, array maxItems & string length/pattern bounds
AI / MCP Agent Readiness 20 1 4 7 7.5 (37.7%) 10 17 Tool-schema token efficiency, concise descriptions (≤400 chars) & HTML-free prompt hygiene

2. OWASP API Top 10 & Schema Hygiene Defect Prevalence (n=22 Detailed Payloads)

While 21/22 specs declare authentication schemes (ElevenLabs omits securitySchemes entirely across 355 mutating operations), nearly every spec fails schema-level input constraints and AI prompt hygiene. Only 1 of 22 specs (Hookdeck) locked down all request body schemas with additionalProperties: false, and 0 of 22 bounded all input arrays with maxItems.

Rule / Standard OWASP / AI Defect Class Affected Specs (n=22) Count Share Bar
OAD-SCH-MASS-ASSIGNMENT
OWASP API3:2023
Mass Assignment Risk (Request objects omitting additionalProperties: false)
5,087 / 6,750 (75.4%) request body object schemas lack additionalProperties: false.
95.5% 21 / 22
OAD-SCH-UNBOUNDED-ARRAY
OWASP API4:2023
Unbounded Arrays (Input array schemas omitting maxItems)
3,214 / 3,528 (91.1%) input arrays lack maxItems DoS bounds.
100% 22 / 22
OAD-AI-VERBOSE-DESC
MCP Context Bloat
Verbose Descriptions (>400 chars inflating AI/MCP tool schemas)
626 oversized descriptions generate 103,638 directly savable tokens across n=22.
100% 22 / 22
OAD-OWASP-MISSING-401-403
OWASP API1 / API2
Missing 401 / 403 Error Contracts on Protected Operations
1,517 operations omit explicit 401 Unauthorized or 403 Forbidden response schemas.
72.7% 16 / 22
OAD-OWASP-DEPRECATED-NO-SUNSET
OWASP API9:2023
Deprecated Operations Missing x-sunset / Sunset Header Guidance
195 deprecated operations lack retirement timelines or Sunset metadata.
59.1% 13 / 22
OAD-SCH-WILDCARD-RESPONSE
Contract Rigor
Wildcard / Untyped 2xx Object Responses
58 2xx success responses return untyped object schemas without explicit properties.
59.1% 13 / 22
OAD-OWASP-NO-RATELIMIT
OWASP API4:2023
Missing HTTP 429 & RateLimit / Retry-After Contracts
No HTTP 429 response or RateLimit/Retry-After header documented anywhere in the spec.
40.9% 9 / 22
OAD-OWASP-UNAUTH-WRITE
OWASP API2 / API5
Unauthenticated Mutating Writes (POST/PUT/PATCH/DELETE)
446 mutating write operations resolve with zero declared security requirement.
31.8% 7 / 22
OAD-AI-HTML-DESC
MCP Prompt Hygiene
Raw HTML Tags Embedded Inside Descriptions
155 descriptions embed raw HTML markup that wastes tokens and pollutes LLM tool prompts.
18.2% 4 / 22
Additional Structural & Auth Signals (n=22): 22/22 (100%) specs omit maxLength/enum/pattern/format on 17,351 / 27,477 (63.1%) input strings · 3/22 (13.6%) omit HTTPS servers[] (ElevenLabs, Grafana, Meilisearch) · 3/22 (13.6%) omit operationId on 78 ops · 2/22 (9.1%) permit API keys in URL query strings · 2/22 (9.1%) use legacy OAuth2 flows · 1/22 (4.5%) omit securitySchemes · 1/22 (4.5%) contain broken $ref pointers.

3. AI / MCP Tool-Schema Token Footprint & 128k Context Overflow (N=26)

Auto-converting an OpenAPI spec into AI / MCP tool definitions turns documentation size into an immediate per-turn latency and billing tax. Across all N=26 APIs (1,657,365 combined tool-schema tokens), median pre-prompt footprint is 32,658 tokens (2,204.39$ / month at 500 calls/day), P90 hits 162,853 tokens ($10,992.58/mo), and 5/26 (19.2%) exceed an entire 128,000-token context window before a single user prompt is sent.

Cohort Percentile (N=26) AI / MCP Schema Tokens % of 128k Context Monthly Uncached ($4.50/1M · 500/day) 90% Prompt-Cached
Min 1,118 0.9% $75.47/mo $7.55/mo
P25 19,296 15.1% $1,302.50/mo $130.25/mo
Median (P50) 32,657.5 25.5% $2,204.39/mo $220.44/mo
Mean 63,745 49.8% $4,302.78/mo $430.28/mo
P75 74,219 58.0% $5,009.80/mo $500.98/mo
P90 162,853 127.2% $10,992.58/mo $1,099.26/mo
Max 293,349 229.2% $19,801.06/mo $1,980.11/mo
128k Context Overflow & 103,638 Savable Prose Tokens: Five APIs break a 128k context window outright: ElevenLabs (177,154 tok · 138.4%), Square (293,349 tok · 229.2%), LaunchDarkly (152,952 tok · 119.5%), PagerDuty (172,754 tok · 135%), Adyen (134,952 tok · 105.4%). Across the n=22 detailed specs, trimming verbose >400-char descriptions and HTML tags reclaims 103,638 tokens immediately (6.6% of 1,573,814 tokens) with zero endpoint removal—led by LaunchDarkly (46,018 savable tokens, enough to pull it back under 128k), PagerDuty (18,221), and Square (9,275).

4. Interactive 26-API OpenAPI Security & MCP Token Explorer (N=26)

Search, filter, and sort all 26 live-scanned commercial B2B OpenAPI specs locally in your browser (strict connect-src 'none', zero network calls). Audit your own spec privately on SpecDiff → or ship a full OpenAPI 3.1 + OWASP + MCP cleanup PR via the $49 Done-For-You Remediation PR →.

Showing 26 of 26 live-scanned B2B API specs

Company & Spec Hygiene / Pain Operations MCP Tokens & Cost OWASP & Schema Gaps Audit / Fix
ElevenLabs (elevenlabs.io)
Voice Synthesis & Conversational AI API · OpenAPI 3.1.0 ↗
47/100 (C)
Pain 238
572 ops
openapi-3.1
177,154 tok
138.4% 128k · $11,957.90/mo · -3,357 trim
>128k ContextUnauth Write (355)No 429 DocsNo x-sunset (27)
Weaviate (weaviate.io)
Vector Database API · Swagger 2.0 ↗
59/100 (C)
Pain 191
131 ops
swagger-2.0
58,634 tok
45.8% 128k · $3,957.80/mo · -581 trim
Swagger 2.0Unauth Write (84)HTML Desc (23)No x-sunset (10)
Square (squareup.com)
Commerce & Payments Fintech API · OpenAPI 3.0.0 ↗
49/100 (C)
Pain 172
332 ops
openapi-3.0
293,349 tok
229.2% 128k · $19,801.06/mo · -9,275 trim
>128k ContextUnauth Write (1)No 429 DocsNo x-sunset (24)
Grafana (grafana.com)
Observability Platform API · OpenAPI 3.0.3 ↗
54/100 (C)
Pain 167
318 ops
openapi-3.0
38,047 tok
29.7% 128k · $2,568.17/mo · -979 trim
No 429 DocsNo x-sunset (64)No 401/403 (21)Mass Assign (168)
Pipedrive (pipedrive.com)
B2B CRM API · OpenAPI 3.0.1 ↗
59/100 (C)
Pain 160
213 ops
openapi-3.0
36,450 tok
28.5% 128k · $2,460.38/mo · -959 trim
No 429 DocsHTML Desc (40)No x-sunset (9)No 401/403 (193)
Qdrant (qdrant.tech)
Vector Search Engine API · OpenAPI 3.0.1 ↗
60/100 (C)
Pain 153
69 ops
openapi-3.0
15,251 tok
11.9% 128k · $1,029.44/mo
Summary Telemetry (N=26)
ConfigCat (configcat.com)
Feature Flag Management API · OpenAPI 3.0.4 ↗
68/100 (B)
Pain 148
123 ops
openapi-3.0
33,117 tok
25.9% 128k · $2,235.40/mo · -6,902 trim
HTML Desc (7)No x-sunset (3)No 401/403 (121)Mass Assign (123)
Browserless (browserless.io)
Headless Browser Automation API · OpenAPI 3.0.0 ↗
66/100 (B)
Pain 143
110 ops
openapi-3.0
124,076 tok
96.9% 128k · $8,375.13/mo · -2,015 trim
Mass Assign (50)Wildcard 2xx (4)Unbounded Arrays (393)
LaunchDarkly (launchdarkly.com)
Feature Management API · OpenAPI 3.0.3 ↗
68/100 (B)
Pain 139
417 ops
openapi-3.0
152,952 tok
119.5% 128k · $10,324.26/mo · -46,018 trim
>128k ContextHTML Desc (85)No x-sunset (23)No 401/403 (12)
Clerk (clerk.com)
Auth & User Management API · OpenAPI 3.0.3 ↗
72/100 (B)
Pain 135
267 ops
openapi-3.0
67,089 tok
52.4% 128k · $4,528.51/mo · -7,658 trim
No x-sunset (16)No 401/403 (75)Mass Assign (55)Wildcard 2xx (1)
Twilio (twilio.com)
Communications API · OpenAPI 3.0.1 ↗
59/100 (C)
Pain 128
197 ops
openapi-3.0
76,596 tok
59.8% 128k · $5,170.23/mo · -1,672 trim
No 429 DocsNo 401/403 (197)Mass Assign (62)Unbounded Arrays (10)
PagerDuty (pagerduty.com)
Incident Management API · OpenAPI 3.0.2 ↗
68/100 (B)
Pain 128
473 ops
openapi-3.0
172,754 tok
135% 128k · $11,660.90/mo · -18,221 trim
>128k ContextNo x-sunset (14)No 401/403 (21)Mass Assign (1005)
Fly.io (fly.io)
Edge Compute & Machines API · OpenAPI 3.1.0 ↗
62/100 (C)
Pain 124
104 ops
openapi-3.1
26,987 tok
21.1% 128k · $1,821.62/mo · -502 trim
Unauth Write (2)No x-sunset (1)No 401/403 (64)Mass Assign (106)
Neon (neon.tech)
Serverless Postgres API · OpenAPI 3.0.3 ↗
74/100 (B)
Pain 123
195 ops
openapi-3.0
51,110 tok
39.9% 128k · $3,449.92/mo
Summary Telemetry (N=26)
Netlify (netlify.com)
Web Hosting & Deployment API · Swagger 2.0 ↗
69/100 (B)
Pain 113
188 ops
swagger-2.0
22,867 tok
17.9% 128k · $1,543.52/mo · -190 trim
Swagger 2.0No 401/403 (180)Mass Assign (87)Wildcard 2xx (2)
Meilisearch (meilisearch.com)
Search API & Vector Engine · OpenAPI 3.1.0 ↗
65/100 (B)
Pain 110
113 ops
openapi-3.1
15,478 tok
12.1% 128k · $1,044.76/mo · -435 trim
No 429 DocsMass Assign (38)Wildcard 2xx (1)Unbounded Arrays (112)
Adyen (adyen.com)
Global Payments Fintech API · OpenAPI 3.1.0 ↗
72/100 (B)
Pain 94
28 ops
openapi-3.1
134,952 tok
105.4% 128k · $9,109.26/mo · -1,967 trim
>128k ContextUnauth Write (1)No 429 DocsNo x-sunset (1)
Hookdeck (hookdeck.com)
Webhook & Event Gateway API · OpenAPI 3.0.1 ↗
73/100 (B)
Pain 91
135 ops
openapi-3.0
29,197 tok
22.8% 128k · $1,970.80/mo · -283 trim
No 429 DocsNo 401/403 (135)Wildcard 2xx (1)Unbounded Arrays (345)
CircleCI (circleci.com)
CI/CD Automation API · OpenAPI 3.0.3 ↗
77/100 (B)
Pain 91
112 ops
openapi-3.0
21,898 tok
17.1% 128k · $1,478.12/mo · -1,390 trim
No 401/403 (58)Mass Assign (19)Wildcard 2xx (1)Unbounded Arrays (21)
Deepgram (deepgram.com)
Voice & Speech AI API · OpenAPI 3.1.0 ↗
69/100 (B)
Pain 85
50 ops
openapi-3.1
11,611 tok
9.1% 128k · $783.74/mo · -362 trim
No 429 DocsNo x-sunset (1)No 401/403 (49)Mass Assign (15)
Supabase (supabase.com)
Postgres & BaaS Platform API · OpenAPI 3.0.0 ↗
75/100 (B)
Pain 84
174 ops
openapi-3.0
22,695 tok
17.7% 128k · $1,531.91/mo · -179 trim
Unauth Write (2)No x-sunset (2)No 401/403 (3)Mass Assign (76)
Finch (tryfinch.com)
Unified HRIS & Payroll Fintech API · OpenAPI 3.1.0 ↗
76/100 (B)
Pain 82
55 ops
openapi-3.1
18,429 tok
14.4% 128k · $1,243.96/mo · -193 trim
Unauth Write (1)No 401/403 (49)Mass Assign (80)Unbounded Arrays (35)
Buttondown (buttondown.com)
Developer Newsletter & Email API · OpenAPI 3.1.0 ↗
82/100 (A)
Pain 77
133 ops
openapi-3.1
32,198 tok
25.2% 128k · $2,173.37/mo · -209 trim
Mass Assign (32)Wildcard 2xx (3)Unbounded Arrays (109)
Notion (notion.so)
Workspace & Knowledge API · OpenAPI 3.1.0 ↗
85/100 (A)
Pain 52
68 ops
openapi-3.1
16,072 tok
12.6% 128k · $1,084.86/mo
Summary Telemetry (N=26)
Jina AI (jina.ai)
Embeddings & Reranker AI API · OpenAPI 3.1.0 ↗
85/100 (A)
Pain 50
11 ops
openapi-3.1
1,118 tok
0.9% 128k · $75.47/mo
Summary Telemetry (N=26)
AssemblyAI (assemblyai.com)
Speech-to-Text AI API · OpenAPI 3.1.0 ↗
88/100 (A)
Pain 24
10 ops
openapi-3.1
7,284 tok
5.7% 128k · $491.67/mo · -291 trim
Mass Assign (11)Unbounded Arrays (13)

5. Automate Your OpenAPI OWASP & MCP Token Gate (Web, API, MCP & Apify)

Catch mass assignment, unbounded arrays, missing 401/403/429 error contracts, and MCP schema bloat before shipping PRs—via zero-upload browser SpecDiff, our Cluster 9 OWASP scorer, POST /v1/openapi/audit, Official MCP Registry server dev.runglab/devtools (audit_openapi_spec), or our Apify Cloud PPE Actor.

SpecDiff + RungLab Developer Intelligence API (POST /v1/openapi/audit) + MCP Registry
# 1. Zero-Upload Browser Spec Audit + SARIF 2.1.0 Export:
#    https://spec.runglab.dev
#
# 2. Client-Side OWASP Quick-Lint & YAML Patch Builder (Cluster 9):
#    https://tools.runglab.dev/openapi-owasp/
#
# 3. REST API Audit Gate (RungLab Developer Intelligence API):
curl -sS -X POST https://hub.runglab.dev/v1/openapi/audit \
  -H "Content-Type: application/json" \
  -d '{"specUrl": "https://api.example.com/openapi.json"}'

# 4. Official MCP Registry Tool (dev.runglab/devtools -> audit_openapi_spec):
#    Endpoint: https://mcp-server.runglab.dev/ (Streamable HTTP: https://mcp-server.runglab.dev/mcp)
SpecDiff · Zero Upload $49 DFY Remediation PR

Harden Your OpenAPI 3.1 Spec & Cut MCP Schema Bloat in 24 Hours

Inspect your spec 100% locally on spec.runglab.dev, or order the $49 Done-For-You OpenAPI & MCP Remediation PR (additionalProperties: false, maxItems/maxLength bounds, 401/403/429 contracts, x-sunset, OpenAPI 3.1 migration & HTML-stripped lean tool descriptions). Prefer corporate procurement? Request a PayPal invoice-on-merge via [email protected].

Research Methodology FAQ

How were the 26 B2B OpenAPI specifications selected and audited?

All 26 live public OpenAPI and Swagger specifications across developer tools, AI APIs, billing, observability, and SaaS platforms were fetched and audited on 2026-11-26 UTC (2026-11-26T22:22:44.782222+00:00) via SpecDiff after deduplicating 213 previously processed hosts (0 scan errors).

Why are OWASP and schema defect percentages reported over n=22 detailed payloads alongside N=26 aggregate metrics?

All N=26 scanned specs carry complete SpecDiff hygiene scores, grades, spec versions, operation counts, AI/MCP token estimates, 128k context overflow ratios, and monthly cost projections. Granular check-level audit payloads (additionalProperties, maxItems, 429, 401/403, x-sunset, HTML descriptions, and savable description tokens) were archived for the n=22 detailed cohort while 4 specs store summary telemetry only.

How does RungLab calculate AI / MCP tool-schema token footprint and monthly cost?

SpecDiff estimates the tokenized tool-definition payload when converting all API operations and referenced request schemas into AI/MCP tool schemas, compares that against a 128,000-token context window, and computes uncached monthly input cost at $4.50/1M tokens across 500 calls/day (15,000 calls/month).

How can I audit my own OpenAPI spec privately or order a Done-For-You remediation PR?

Drop your local JSON/YAML OpenAPI spec into https://spec.runglab.dev (zero upload), score controls on https://tools.runglab.dev/openapi-owasp/, call POST /v1/openapi/audit on https://hub.runglab.dev, connect audit_openapi_spec via https://mcp-server.runglab.dev/, run our Apify Actor at https://apify.com/runglab/openapi-spec-diff-auditor, or order the $49 Done-For-You OpenAPI & MCP Remediation PR via Creem or PayPal invoice ([email protected]).