Benchmarking Coding Agents on Real API Integration Tasks Orbit published its first benchmark measuring how often coding agents produce working code against real APIs, testing 472 APIs with Claude Code running Claude Sonnet 4.6 in a sandbox limited to 60 turns and 10 minutes per task, averaged over 4 runs per task. Orbit compared a web-search baseline against its Orbit Model Context Protocol server, which exposes two tools, search and integrate, and scored both accuracy and cost. Orbit said the benchmark differs from Context7's 100-query token and cost comparison, Mintlify's 150-task pairwise study (Mintlify preferred 96 times) and Jentic's AI-readiness scores for 6,000+ APIs because it ends in working code rather than a plan or docs answer. Benchmarking Coding Agents on Real API Integration Tasks Most “AI coding benchmark” conversations end up in the same place: a leaderboard of models solving puzzles, or a pairwise preference test on code snippets. Neither tells you what happens when an agent has to go integrate the Stripe API, or Plaid, or some payments provider you’ve never heard of, and come back with working code. That’s the gap we wanted to close with Orbit’s first published benchmark. The question we care about is narrow and practical: when a coding agent is asked to write a working integration against a real API, how often does it get there, and what does it cost to find out? In this post we’ll walk through what we measured, how we measured it, and what the numbers say, while being upfront about what this benchmark does not tell you, because there’s a lot of that. Why another benchmark There are a few public attempts at measuring agent behavior on API work. They’re useful, and they’re also not what we were trying to do: - Context7 Upstash published a token and cost comparison across 100 queries. It measures how many tokens an agent burns pulling docs, but it doesn’t measure whether the resulting code works. - Mintlify ran a pairwise preference study against Context7 on 150 planning tasks, with Mintlify preferred 96 out of 150 times. Those were planning tasks, not integration code, and the product was later discontinued. - Jentic publishes AI-readiness scores for 6,000+ APIs. That’s a per-API rating, not an agent accuracy-and-cost benchmark. Our angle is different in a few ways. We score both accuracy and cost. The answer keys are written to a fixed procedure, not by whoever happens to vendor the API. The 472 APIs we tested were chosen by a rule you can check. Each task is averaged over 4 runs to smooth out agent nondeterminism. And the task always ends in working code against a real API, not a plan or a docs answer. What the task looks like Every task is a short request in plain English, written the way a developer would ask a colleague. It says which product to use, what the script should do, what inputs it takes, what it should print, and which credentials are available. Here is a real one from the set: Prompt I want a small Python script that sends a text message with Twilio. It should take the phone number to send to and the message text, and either the Twilio phone number to send from or the SID of a Messaging Service to send through, plus optionally one or more image URLs to attach making it a picture message and a URL that should receive delivery-status callbacks. It should send the message and print the new message’s SID and its status. My Twilio Account SID and Auth Token are in environment variables. No prompt contains an endpoint URL or path, and only about a dozen of the 472 name an HTTP method or an authentication scheme. The agent has to work out which endpoint to call, how to authenticate, how to shape the request and what the response looks like, the way a developer would. Every task also comes with the same standing instructions: write Python 3 using only the standard library and requests ; parse inputs with argparse ; make raw HTTP calls rather than using the vendor’s SDK; read credentials from environment variables; and print the parsed response, handling error responses gracefully. Without an SDK, the agent has to get the HTTP call itself right. The agent itself is Claude Code https://docs.anthropic.com/en/docs/claude-code running Claude Sonnet 4.6, sandboxed in a container with a limit of 60 turns and 10 minutes per task. We ran it in two configurations, with identical prompts: 1. Web baseline : Claude Code’s built-in web search and web fetch tools. The agent searches the web, reads docs, and writes code. 2. Orbit : the Orbit Model Context Protocol MCP server https://www.postman.com/orbit , which exposes two tools: search find the right API and endpoint and integrate pull structured integration details . Same prompt, different retrieval path. Heads up on scope: we tested one agent and one model, Claude Sonnet 4.6 inside Claude Code. The numbers in this post are about that specific setup. They are not a claim about agents in general, or about other models, or about other MCP servers. If you’re running a different stack, treat this as a data point, not a verdict. The dataset: 472 APIs The dataset is 472 APIs from 441 publishers, all verified on the Postman API Network https://www.postman.com/explore . The rule for inclusion was mechanical: every public team workspace of a verified publisher, minus Postman’s own orgs and Postman-run teams, minus demo, test, personal and re-shared workspaces. Most publishers contribute one workspace; large publishers whose products have separate APIs contribute several, such as Mastercard 8 and Meta 6 . We then removed 28 workspaces with no usable HTTP API retired or unreachable hosts, MCP- or gRPC-only products, collections that only point at mock servers and set aside 5 services pending review, such as temporary-inbox providers and numbers for receiving SMS verification codes. That dataset splits roughly into: - 202 well-known brands, such as Stripe, Salesforce, PayPal, Notion, Zoom, Plaid, and Datadog. - 270 long-tail APIs from smaller or more specialized providers. Payments and messaging are the two largest categories by count. An important caveat, and we want to put it up high rather than bury it: every API in this benchmark is a verified publisher workspace on the Postman API Network, which is also the dataset Orbit indexes. So this benchmark measures how well these two agents perform on APIs that Orbit’s index covers. It does not measure world API coverage, and it is not a test of what happens for an API that isn’t on the API Network at all. For that scenario, web search is the only option in this test setup. Answer keys and scoring For each of the 472 APIs we built a reference answer: a canonical request with method, URL, auth scheme, parameters, and expected response. The procedure for writing these was fixed: 1. Start from the publisher’s own Postman request on the API Network. 2. Confirm every field against the provider’s public documentation. Docs win over Postman when they disagree. 3. Where possible and safe, make a live call to verify the response shape. The keys were drafted by AI agents following that procedure. Each key carries a 5-part rubric, and an automated check enforces its format: five criteria, 20 points each, no partial credit. Scoring is done by Claude Opus 5 as an LLM judge, grading the agent’s final script against the reference key on five pass/fail criteria, worth 20 points each: 1. Correct endpoint and HTTP method 2. Correct authentication 3. Correct request payload: body, query parameters and headers 4. Correct response handling: reads the right fields from the response and handles errors 5. Raw HTTP with requests and credentials read from environment variables, as the standing instructions require Worth being explicit about this: the judge is an LLM reading code against a fixed answer key. It does not run the code. If the agent writes something that looks right but would fail at runtime for a reason the judge can’t see from static review, that failure doesn’t show up in the score. We picked this tradeoff deliberately, since running 472 scripts against live production APIs in four independent runs is not something we want to do to Stripe, or to our wallet. It is still a real limitation. Cost is the agent’s model spend per task, in USD, including any web-search charges. Orbit itself is free; the $0.11 figure in the results is what the agent spent on model inference while using Orbit’s tools: Claude Sonnet 4.6, plus a few small Claude Haiku calls that Claude Code makes on its own. Each task is run 4 times independently and the scores are averaged. Accuracy is the average rubric score from 0 to 1, and a run that hits the 10-minute time limit counts as 0: 32 of web search’s 1,888 runs 1.7% timed out, and none of Orbit’s did. Cost and turns are averaged over the runs that finished. Results All 472 APIs Averaged across the full dataset: | Setup | Accuracy | Cost per task | |---|---|---| | Orbit | 0.817 | $0.11 | | Web search | 0.807 | $0.37 | Orbit scored 0.817 and web search 0.807. Orbit came out ahead in each of the four runs, but only by 0.6 to 1.3 points, and the difference isn’t statistically significant: the 95% confidence interval for web minus Orbit runs from -3.4 to +1.4 points. On cost the gap is not close: Orbit spends less than a third as much per task. So: on the full dataset, call it a tie on accuracy, with Orbit about 3.5x cheaper. Long-tail APIs 270 | Setup | Accuracy | Cost per task | |---|---|---| | Orbit | 0.802 | $0.11 | | Web search | 0.752 | $0.45 | On the 270 long-tail APIs, Orbit is ahead by 5 points 0.802 compared with 0.752 and about 4x cheaper. The lead holds in all four runs, at 4.5 to 5.7 points, and it is statistically significant: the 95% confidence interval runs from 1.3 to 8.7 points in Orbit’s favor. Part of the lead comes from web search running out of time: 22 web runs on long-tail APIs timed out and scored 0. Leaving those runs out still leaves Orbit 4 points ahead 95% CI 0.5 to 7.6 . Web search’s higher cost here comes from the extra work of finding docs. It averages about 31 turns and 7 searches per long-tail task, against 17 turns and 3 searches on popular APIs, hunting across pages and retrying searches. Orbit stays at about 9 turns either way, because its retrieval path is the same however obscure the API is. This is one benchmark with one agent and one model, so we’d read it as a clear result for this setup rather than a general claim. On the long-tail APIs Orbit covers, it was both more accurate than web search and about a quarter of the cost. Popular APIs 202 | Setup | Accuracy | Cost per task | |---|---|---| | Orbit | 0.838 | $0.11 | | Web search | 0.881 | $0.27 | On the 202 well-known APIs, web search is ahead: 0.881 to Orbit’s 0.838. That 4.3-point gap is also statistically significant 95% CI 1.7 to 6.8 points and holds in all four runs. Web search does best exactly where you’d expect: APIs with heavily indexed, well-represented documentation online. If you’re integrating Stripe, the internet has opinions about Stripe, and the agent can find them. Orbit is still 2.5x cheaper here $0.11 compared with $0.27 , but on raw accuracy, web search wins the popular tier. The shape of the cost curve The pattern that stands out across the three slices: - Orbit’s cost is flat at $0.11 per task regardless of API popularity, at about 9 turns per task on popular and long-tail APIs alike. - Web search cost rises as APIs get more obscure : from $0.27 on popular, to $0.37 on the full dataset, to $0.45 on long-tail, as turns go from about 17 to 31 per task. That curve is the practical story of the benchmark, more than any single accuracy number. If your integration work is skewed toward well-known APIs, web search is accurate and relatively affordable. If it’s skewed toward anything off the beaten path, the cost of web search climbs fast, and that’s where a structured index pulls ahead. What this does and doesn’t tell you To be direct about scope one more time, because benchmarks get overread: - This measures one agent Claude Code and one model Claude Sonnet 4.6 in a specific configuration. Different model, different story, possibly. - This measures APIs that are verified publishers on the Postman API Network , because that’s what Orbit indexes. For APIs outside that set, Orbit isn’t an option in this comparison. - The judge is an LLM grading static code against a fixed answer key . It doesn’t run the code. Runtime failures that pass static review won’t show up. - Accuracy numbers have run-to-run noise . The 1-point gap on the full dataset is not statistically significant; the long-tail and popular gaps are. What it does tell you, as one data point: with this agent and this model, on APIs Orbit covers, Orbit ties web search on overall accuracy, beats it on long-tail APIs, loses to it on popular APIs, and is 2.5 to 4x cheaper across the board. What we’d want to measure next The obvious next experiments: 1. Run the code. Spin up test accounts, run the scripts, grade on actual HTTP responses. Expensive and fiddly, but it closes the gap between “looks right” and “works.” 2. Other agents and other models. Repeat the setup with different coding agents and different base models. The accuracy ordering could easily flip. 3. APIs outside the Postman API Network. This benchmark can’t speak to that case. A separate study with a different dataset would. If you want to poke at the methodology, or you have an API you’d like to see included, the Orbit project page https://www.postman.com/orbit is the place to start. The benchmark isn’t a finished story. This is the first version, and we’d rather have it public and open to critique than sit on it until it’s “perfect.” Resources - Postman API Network https://www.postman.com/explore : the source dataset for the 472 APIs tested, including verified publisher workspaces. - Model Context Protocol https://modelcontextprotocol.io/ : the open protocol Orbit’s MCP server implements, worth reading if you’re building agent tooling. - Claude Code documentation https://docs.anthropic.com/en/docs/claude-code : the coding agent used in both arms of the benchmark. - Postman Docs https://learning.postman.com/docs/ : reference docs for collections, environments, and the request formats that underlie the answer keys. - Anthropic Claude models https://www.anthropic.com/claude : background on Claude Sonnet 4.6 the agent model and Claude Opus 5 the judge model .