Service

API Development

We build APIs that connect your existing systems — web applications, apps, ERP, CRM, partners and data sources. Documented, versioned and designed so the rest of your system landscape can safely build on them.

Overview

What it is — and what it includes.

An API provides the interfaces through which web applications, apps, partners and connected systems such as ERP or CRM talk to each other. Batunet designs APIs as long-lived contracts — versioned, documented and stable, so that everything else can safely build on them.

Scope of services

  • API design (REST, GraphQL)
  • Versioning without breaking changes
  • Authentication and rate limiting
  • Documentation and developer experience
  • Reliable webhooks and events
Use cases

Which projects it fits.

Typical situations companies bring to us — and where we have published work on them.

  1. Connecting third-party systems and data sources

    Partners, networks or service providers deliver data in their own formats — via file retrieval, REST or SOAP. We connect each source through its own path and transfer its data into a model that belongs to your system.

  2. One API for your own interfaces and apps

    Website, admin backend and app should use the same business logic instead of rebuilding it each time. A shared API keeps the rules in one place and cleanly separates interface and business logic.

  3. Keeping external services replaceable

    Connected services change their interfaces without asking. A boundary of your own in front of them absorbs version changes and errors, so a switch doesn’t ripple through to your data.

    Example from our work

  4. Opening your data to partners in a controlled way

    Customers or partners need access to your data and processes — with authentication, rate limiting and documentation they can work with without asking. The interface becomes a contract that holds for years.

Fit

When it fits — and when it doesn’t.

We recommend the path that fits the project — even when that is an off-the-shelf product.

Good fit

  • Several callers share the same business logic — frontends, mobile apps or partners. From the second caller on, the API is a contract, not an implementation detail.
  • Existing business logic needs to be made accessible in a controlled way, without coupling external systems to its internals.
  • An external service should remain replaceable. A dedicated API in front of it separates what stays from what gets replaced.
  • The API should grow additively over years without breaking its consumers’ production systems.

Not a fit

  • Two of your own services that are developed and deployed together. There, the contract is cheap to change — tighter coupling is acceptable.
  • A single consumer that evolves alongside the API and that you coordinate yourself. The full rigor of contract surface, stable error codes and a deprecation process only pays off with external callers.
  • A prototype or a short-lived interface. There, directly mirroring internal structures is the faster and correct choice; decoupling pays off only when the API lives long.
Typical risks

Risks we catch early.

What typically goes wrong in systems like this — and how we prevent it before it shows up in production.

  1. Silent breaking change

    Why
    A renamed field or a validation rule tightened after the fact looks like a fix. For the third-party code on the other end, it is a break — no matter how small the change appears.
    Early warning signs
    Changes to existing behavior instead of additive extensions; no automated test against the public contract; callers report the error before your own monitoring does.
    How we prevent it
    Extend additively wherever possible. The public contract is tested automatically before rollout; if a new version becomes necessary, the old one remains valid and untouched.
    Trade-off
    Cost: contract tests and restraint when changing what exists. Different when: the API is purely internal and deployed together with its callers — then the contract is cheap to change.
  2. Errors without a contract

    Why
    Errors are part of the contract, not an edge case next to it. Changing free text forces callers to check for wording — and turns the message itself into the contract.
    Early warning signs
    No stable, classified code; client and server errors cannot be told apart, so nobody knows whether to retry or correct; internal details in messages.
    How we prevent it
    Stable, machine-readable error codes, a clear distinction between caller errors and provider errors, and no internal traces in the response.
    Trade-off
    Cost: another contract surface maintained with the same care as the success responses. Different when: an internal API with a single consumer that evolves alongside it — there, the error model can stay leaner.
  3. Confusing the interface with the implementation

    Why
    The provider behind an interface is replaceable; the data that has flowed through it and stayed is not. If you tie your own view to a provider’s shape, you will feel every switch all the way down into your existing data.
    Early warning signs
    Your own data model follows the structure of an external service; a provider switch is planned as a connection question, not as a translation of existing data.
    How we prevent it
    The data is kept in a shape that belongs to the system; the external service sits behind a boundary that holds.
    Trade-off
    Cost: a translation layer and a verified migration of existing data instead of a direct switchover. Different when: the existing data is small and non-critical and would be cheap to obtain again.
To clarify first

Questions we settle before implementation.

Your answers shape the architecture more than the choice of tools does.

  1. What shape does the communication take — things, actions or flexible queries?

    Why it matters
    The style shapes the contract, and the contract is hard to change. Deciding by trend treats a question of fit as a question of taste.
    Typical consequence
    Named things lead to REST, actions between known systems to RPC, very different data slices for many callers to GraphQL. When in doubt, the most widespread style — one that will still be understood and staffable in ten years.
  2. Does the API express the caller’s business domain — or the internal implementation?

    Why it matters
    Whatever a consumer can observe becomes the contract. Mirrored internal structures couple external systems to decisions you wanted to be free to change.
    Typical consequence
    We design the external representation separately from the internal model and translate at the boundary. For a short-lived prototype, this is unnecessary.
  3. Does an operation change state or money?

    Why it matters
    As soon as an API is reachable over a network, the same request will eventually arrive twice. That is not a bug but a property of distributed communication.
    Typical consequence
    Then it is designed to be idempotent: a unique key per logical operation, checked and persisted in the same transaction as the effect. Reads and naturally idempotent operations don’t need this.
  4. Could an existing caller notice the planned change?

    Why it matters
    If the answer is yes, the change is breaking — no matter how small it appears. A validation rule tightened after the fact is a break, too.
    Typical consequence
    We solve it additively wherever possible. Where not, a new version is created, the old one remains valid and untouched, and retirement follows an announced deprecation process rather than a cutoff date.
How a project runs

From the first conversation to a running system.

Every project follows the same four steps. You see and review interim results along the way, not only at the end.

  1. 01

    Understand the goals and requirements

    The first conversation, with our management, covers the systems to be connected and who will use the interface. We map data flows and failure cases and tell you honestly how much rigor the interface needs.

  2. 02

    Plan the solution and architecture

    We design the contract: resources or actions, error codes, authentication, versioning. The design is documented before code is written.

  3. 03

    Build and review together

    First, one complete path runs between two systems; then comes the breadth. Automated tests check the public contract before anything is rolled out.

  4. 04

    Launch and keep supporting

    After launch, we monitor calls and errors if you wish and extend the API additively, without breaking existing callers.

What working together looks like in detail →
Outcome

What you have in hand at the end.

  • APIs that evolve without breaking

  • A stable foundation for partners and other systems

  • Documentation others can work with right away

Technologies we use

LaravelSymfonyRESTGraphQLOpenAPI
Questions

Questions about API Development

  • REST or GraphQL?

    REST for stable, cacheable resources; GraphQL when clients need very different slices of data. REST is often the right, boring choice.

  • How do you avoid breaking changes?

    Through deliberate versioning, additive changes and clear contracts. An API is a promise to its consumers.

Let’s talk about your interfaces.

Briefly name the systems to be connected or the API you need — for your own applications, partners or data sources. Your first conversation is directly with our management.