The API spec is the contract.

Write each endpoint once. Spectrail keeps its history, serves a mock from it, shares it with your client and checks it against the code.

Request accessCall the demo mock server

Endpoint GET /products in the demo project: its mock address on mock.spectrail.app, the last change (revision 2, with a note) and the ticket that names it.Endpoint GET /products in the demo project: its mock address on mock.spectrail.app, the last change (revision 2, with a note) and the ticket that names it.
GET /products. Its mock address, its last change with a note, and the ticket that uses it.

Write it in a sentence. Change it with a note.

Quick add turns one sentence into a draft endpoint. After that, every save needs a short note and makes a new revision.

  • Old revisions stay. History cannot be rewritten.
  • Changes are proposed inside the ticket that needs them.
  • An owner or admin approves. The approval becomes the next revision, linked to the ticket.
Quick add dialog of the demo project: the sentence “ADD endpoint POST /orders/{orderId}/refund accepts reason: string returns id: string, status: string” and a preview of the new endpoint form it fills in: method and path, id, path params, body fields and what it returns. Nothing is saved until you confirm.Quick add dialog of the demo project: the sentence “ADD endpoint POST /orders/{orderId}/refund accepts reason: string returns id: string, status: string” and a preview of the new endpoint form it fills in: method and path, id, path params, body fields and what it returns. Nothing is saved until you confirm.
Quick add. One short sentence fills the endpoint form for you to check.

Build the frontend before the backend.

Usually: the frontend waits until the backend is ready.

Every endpoint answers at mock.spectrail.app/<key>/<path> with its latest examples. For end-to-end tests, each run gets its own session with state, scenarios and forced errors. A share link shows the same specs to a client or partner.

  • The mock follows the spec and checks each call against it.
  • Share links need no account. Readers can look, not change.
  • New and changed endpoints are marked, next to the mock address.
Mock server docs: test runs, states, forced errors
The shared API page of Checkout app as a client sees it: view only, the link’s end date, the mock server address, and the endpoint list with the details of GET /products.The shared API page of Checkout app as a client sees it: view only, the link’s end date, the mock server address, and the endpoint list with the details of GET /products.
Share link. What a client sees: the mock address and every endpoint.
Team

Your Git repositories, next to the work.

Connect one or more repositories to a project. The Git page shows branches, pull requests and tags, and updates live.

  • Branches, commits and pull requests that name DEMO-31 link to that ticket.
  • Tickets move on their own when work starts and when the pull request is merged.
  • Each repository has a role: frontend, API or backend.
Branch lanes of the repository checkout-app over the last 30 days: main with two tags, and three ticket branches for DEMO-23, DEMO-31 and DEMO-18, two of them merged and one with an open pull request.Branch lanes of the repository checkout-app over the last 30 days: main with two tags, and three ticket branches for DEMO-23, DEMO-31 and DEMO-18, two of them merged and one with an open pull request.
Git page. One lane per branch, each named after its ticket. Merges and tags on main.
Team

Catch drift before it ships.

Spectrail compares the endpoint specs with the API and backend code. For each difference you choose: create a ticket, or propose a spec change.

  • Finds routes missing in the code or in the spec, other methods, and fields that differ.
  • A Spectrail check on each pull request lists open criteria and to-dos.
  • Nothing changes by itself. A person picks what to fix.
Spec check results for Checkout app: 13 endpoints checked in 2 repositories, 4 to look at. Two rows are shown: PUT /cart/items/{id}, where the code uses PATCH, and GET /orders/{orderId}, where a field differs. Each row has Create ticket and Propose spec change buttons.Spec check results for Checkout app: 13 endpoints checked in 2 repositories, 4 to look at. Two rows are shown: PUT /cart/items/{id}, where the code uses PATCH, and GET /orders/{orderId}, where a field differs. Each row has Create ticket and Propose spec change buttons.
Spec check. Each difference names the file and line, and offers a ticket or a proposal.

Try it on your own project.

Ask for access for your company. We answer by email within 2 working days. Then you get a 30-day free trial, no card needed.

Request access