TestRail API (v2)
TestRail test case management / QA API v2. Per-instance host (TestRail Cloud https://{instance}.testrail.io or self-hosted Server). Every call is routed through index.php, so the base is https://{instance}.testrail.io/index.php?/api/v2 and a method looks like get_run/1 appended to it. HTTP Basic auth: username is your TestRail email, password is your password or an API key.
View on GitHub
Raw JSON
Test RunsTest ManagementQATest CasesTest ResultsTest PlansTestingTest AutomationOpen Collection
TestRail API (v2) is a Open Collection published by TestRail on the APIs.io network, version 2.0.
TestRail test case management / QA API v2. Per-instance host (TestRail Cloud https://{instance}.testrail.io or self-hosted Server). Every call is routed through index.php, so the base is https://{instance}.testrail.io/index.php?/api/v2 and a method looks like get_run/1 appended to it. HTTP Basic auth: username is your TestRail email, password is your password or an API key.
The collection contains 30 requests organised into 10 folders.
Tagged areas include Test Runs, Test Management, QA, Test Cases, and Test Results.
Every collection here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for collections
4 MCP tools reach this
find_collectionsBrowse and filter every collection in the catalog.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This collection
curl "https://apis.io/api/v1/collections/open-testrail"
All collections
curl "https://apis.io/api/v1/collections?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.