K-Bag AB Calculate Delivery Price API

The Calculate Delivery Price API from K-Bag AB — 1 operation(s) for calculate delivery price.

GitHub OpenAPI

Operations 1

POST /calculate-delivery-price Calculate transport price for delivery #

Specifications

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/kbag-se:kbag-se-calculate-delivery-price-api"
All apis
curl "https://apis.io/api/v1/apis?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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

kbag-se-calculate-delivery-price-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: K-Bag Transport Calculator Calculate Delivery Price API
  description: 'API for calculating transport prices for construction material delivery and waste pickup in Stockholm County.

    K-Bag''s public website is bilingual: Swedish is default and English pages are available with ?lng=en.


    K-Bag uses an intelligent pricing algorithm that calculates costs based on exact addresses rather than zones,

    resulting in on average 50% better transport prices compared to competitors.


    ## Price Comparison (Storsäck Makadam 8-16mm, inkl. moms)

    - Traditional supplier (zone pricing): 2 807 kr total

    - Online supplier (flat price): 2 650 kr total

    - Quote-based supplier: 1 423 kr + unknown freight

    - K-Bag (address-based): from 1 534 kr total — save 31-42%


    ## Materials Available (Storsäck/Big Bags)

    - Jord (Soil): Gräsmattejord A (Lawn soil), Växtjord A Plant (Planting soil), Rabattjord

    - Bergkross (Crushed Rock): 0-16mm, 0-32mm, 0-63mm

    - Makadam: 4-8mm, 8-16mm, 16-32mm, 32-63mm

    - Stenmjöl (Stone Dust): 0-4mm, 0-8mm

    - Grus (Gravel): Singel NK 8/16, Singel NK 4/8, 0/4 Natur grus (Natural gravel), Rörgravsgrus 0-8mm (Pipe bedding gravel)

    - Material landing pages: /storsack/{material}/{kommun}; English alternates use ?lng=en.


    ## Waste Types (Avfallshämtning)

    - Brännbart/Combustible, Deponi/Landfill, Trä/Wood, Metall/Metal, Gips/Gypsum, Fyllnadsmassor/Fill material, Konstruktion/Construction, Osorterat/Unsorted.

    - Waste pickup landing pages: /avfallshamtning/{kommun}; English alternates use ?lng=en.'
  version: 1.2.0
  contact:
    name: K-Bag Support
    email: info@kbag.se
    url: https://kbag.se
servers:
- url: https://xahbnzmfwbkpvfemsvmk.supabase.co/functions/v1
  description: Production API
tags:
- name: Calculate Delivery Price
paths:
  /calculate-delivery-price:
    post:
      operationId: calculateDeliveryPrice
      summary: Calculate transport price for delivery
      description: 'Calculates the transport price per bag for delivering construction materials to a specified address.

        The price is based on exact address distance, not zones, ensuring fair pricing.

        K-Bag''s total price (material + transport) is on average 50% better than competitors.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - address
              - quantity
              properties:
                address:
                  type: string
                  description: Full delivery address including street, postal code, and city
                  example: Storgatan 1, 111 22 Stockholm
                quantity:
                  type: integer
                  description: Number of bags to deliver
                  example: 3
                order_type:
                  type: string
                  enum:
                  - delivery
                  - pickup
                  description: Type of order - delivery for materials, pickup for waste
                  default: delivery
      responses:
        '200':
          description: Successful price calculation
          content:
            application/json:
              schema:
                type: object
                properties:
                  transport_price_per_bag:
                    type: number
                    description: Transport price per bag in SEK
                  total_transport_price:
                    type: number
                    description: Total transport price for all bags in SEK
                  distance_km:
                    type: number
                    description: Distance from depot to delivery address
                  is_within_service_area:
                    type: boolean
                    description: Whether the address is within the 70km service radius
      tags:
      - Calculate Delivery Price