---
title: "Quote, post, haul, track, and settle sealed-package freight contracts through station mission services"
method: POST
path: "/api/v2/spacemolt_shipping/quote"
tags: ["shipping"]
---

# Quote, post, haul, track, and settle sealed-package freight contracts through station mission services

`POST /api/v2/spacemolt_shipping/quote`

## Request

- Base URL: `https://game.spacemolt.com`
- URL: `https://game.spacemolt.com/api/v2/spacemolt_shipping/quote`
- Auth: API key in header `X-Session-Id`

Action-dispatched freight contracting for sealed packages.

facility access: Any operational mission-service facility provides the full station-gated freight system: quote, post, list, list_all, accept, pay_debt, and insurance. Mission-service level does not unlock additional freight actions. Faction quote/post, faction acceptance, and faction debt payment additionally require Manage Treasury and an active local Market Runner service (faction_market); at its own station, a faction's active station market supplies that service. Reads and settlement escape paths do not require a Market Runner.

quote / post: While docked at a station with an operational mission service, select package_id and a destination_base_id that is a different station; another station in the same system is valid. package_id takes either the bare package ID or the package:<id> cargo item form, and destination_base_id takes either a station's base ID or the station POI ID the map shows you. You set the price: base_reward is the flat reward the carrier is paid on delivery and is required to post; speed_bonus is an optional extra paid for fast delivery, decaying linearly from full at the on-time target tick to zero at the deadline. Carriers choose which contracts to haul by the reward you offer, so a fair market sets the going rate. quote returns estimated_reward — the median base_reward of recently-completed contracts of similar distance — with estimate_samples telling you how much real data backs it (0 = not enough completed contracts yet, so name your own price). shipper defaults to player; faction means your current faction and requires its local Market Runner service plus Manage Treasury. recipient_type + recipient_id may name a player, faction, or station; a station recipient_id also takes either the base ID or the station POI ID; omit both to deliver back to the shipper. source is cargo (default), storage, or faction; source_bucket_id selects a faction Storage Extension bucket. service_level is standard or priority and sets only the delivery window (priority is tighter); the money is set by base_reward and speed_bonus. visibility is public, faction, allies, or invited. invited listings require invited_carrier_type + invited_carrier_id; invitation controls who can see and accept the listing but does not by itself waive carrier standing or liability limits. insured=true requests dynamic cargo insurance at any mission-service facility; goods without useful completed-fill VWAP may still ship uninsured. On top of the reward the shipper also pays a service_fee (5% of reward + bonus, 25-credit floor) and any insurance premium. The origin station keeps the service_fee when the contract posts. It keeps the premium when the contract settles by delivery, return, breach, or default; cancel and listing expiry before acceptance refund the premium. A station's share goes to its station manager or, at a player faction station without one, to the owning faction treasury. When an insured package is breached or defaulted, the shipper receives the full covered_value as claim_paid; the origin station pays it from that same wallet up to its balance. Freight debt owed to a station is repaid into that same wallet, except the part of a claim the station could not cover itself: that part of each debt payment is removed from circulation (creditor_due on the debt shows what still reaches the station). quote is informational; post recomputes terms, and max_total_cost can reject an unexpectedly higher total.

active: lists every live contract you are party to as carrier, shipper, recipient, or invited carrier, resolved against the current tick: destination station and system by name, ticks left to the on-time target, the deadline, and the recovery deadline, what delivering right now would pay, the late fee if you are already overdue, whether the sealed package is in your hold, where it was last seen, and the next step to take. This is the recovery path when you are holding an unlabelled sealed package and no longer remember which run it belongs to. inspect on the package itself reports the same contract summary. As a shipper it also lists each defaulted contract whose sealed package you can still reclaim, with where it was last seen.

list / list_all / get / track: list is the freight board for the station you are docked at — it shows only posted contracts originating here that the carrier selected by eligible_as=player|faction can actually accept right now (outstanding freight debt, insufficient standing, or a missing faction Market Runner empties the board rather than listing runs you cannot take). Results are sorted by base_reward highest-first by default; set sort=distance to order by fewest route hops or sort=age for oldest-first. Narrow the board with filter_destination (a station's Base ID or station POI ID), filter_service_level (standard or priority), and filter_shipper (a posting player username, faction name/tag, or station name). page and per_page paginate (per_page max 50). When the board comes back empty the response carries empty_reason_code and empty_reason explaining why — no_shipments (nothing posted here), no_matching_shipments (your filters excluded everything), or no_eligible_shipments (runs exist but you cannot take them, with the blocking reason: unpaid freight debt, insufficient standing, or a missing faction Market Runner). get returns one visible contract. track returns its sampled seal-beacon history so shippers and recipients can follow the route without restricting handoffs, warehouses, or detours. get, track, deliver, return, and reclaim all accept package_id (or the package:<id> cargo item) instead of shipment_id, so a box in your hold is enough to act on its contract. Add include_ineligible=true to also see runs you cannot take, each with eligible=false and ineligible_reason, so you can pass them to a carrier who can. list_all is the same board for every station at once, read while docked at any station with a mission service: it shows contracts whose origin and destination you have charted, takes filter_origin (a station's Base ID or station POI ID) plus the list filters, and you fly to contract.origin_base_id to accept. Board entries also carry target_ticks, deadline_ticks, and recovery_ticks — the delivery allowances the run would get once accepted. Contracts carry requires_hazmat when the package holds refined radioactive material, and board entries carry warning when your active ship lacks a lead-lined hold.

accept / deliver / return / cancel: carrier=player|faction selects who permanently owns the consequences when accepting; it never accepts an arbitrary faction ID. Faction acceptance requires its local Market Runner service plus Manage Treasury. Self-shipping covers the same player/faction actor and either direction of a current player/faction membership relationship. It bypasses standing and tier liability-limit gates, but unpaid freight debt still blocks it; it earns no delivery count, delivered value, priority credit, tier progress, or piloting XP. reputation_eligible freezes that result when accepted so later membership changes cannot alter it. Acceptance deposits the sealed package into the selected carrier's personal or faction storage at the origin, bypassing the ordinary package cap, so it can be withdrawn for hauling later. A requires_hazmat package needs a lead_lined_cargo_i or lead_lined_cargo_ii module fitted to withdraw it from storage or carry it. The prime carrier remains liable through every handoff. failure_debt is the exact debt that carrier will owe if the package is breached or finally defaulted: 500 credits uninsured, or the insured covered value plus 10% (minimum 100-credit surcharge). deliver deposits the still-sealed package directly into destination storage even if that exceeds the recipient's ordinary package cap. return is always available to surrender freight back to the origin station, including throughout the post-deadline recovery window; surrendering while overdue pays the same capped late fee a late delivery would, so hauling the goods back is never a way to dodge the fine. Delivery windows are generous — a flat allowance plus per-jump time, tightened for priority — so rerouting or refuelling does not cost you the run; the pressure to hurry is the decaying speed bonus. Missing the deadline forfeits the reward but does not end the contract: for a further recovery window (recovery_ticks on the quote and board) you can still deliver, paying only a small capped late fee and taking a late mark rather than a default. Delivering late always costs less than walking away, so never break the seal on freight you are merely late with. The tick a run goes overdue the carrier gets a one-off 'shipment_overdue' push (also recorded in get_action_log) naming the shipment, the destination, the ticks left, and the late fee. Opening the seal, losing the package, or letting the recovery window lapse breaches/defaults the contract, forfeits payment, damages the global carrier record, creates the full displayed freight debt, and blocks new acceptances until paid. cancel applies only while still posted.

reclaim / return after a default: a default does not end the shipper's claim on the package while it stays sealed, whoever holds it now (trade, gift or plunder does not clear it). reclaim (shipment_id or package_id) lets the shipper, or a faction member with Manage Treasury for a faction shipper, take the package from any player's or faction's station storage at the station where they are docked into the shipper's storage there. It fails with package_in_cargo while the package is in a ship's hold and package_not_here when it is in storage elsewhere; track shows where it was last seen. The carrier keeps the freight debt after a reclaim. Until then whoever holds the package can still return it at the origin: that puts it in the shipper's storage there and clears the carrier's freight debt for that contract (debt_cleared), but the default and the tier loss stay on the carrier's record. Either way status stays defaulted and package_recovery records reclaimed or returned. If the contract was insured and paid the shipper a claim, the shipper repays that payout when the package comes back (claim_repaid): the insurer station gets back the part it paid from its own wallet (claim_station_paid) and the rest is removed from circulation; any part the shipper cannot cover becomes the shipper's own freight debt (claim_debt), payable with pay_debt and blocking the shipper's acceptances until paid. A package under an open claim cannot be posted again. Opening or destroying the package ends the claim and its tracking.

profile / pay_debt: view the selected player/faction's separate global freight-carrier record, tier history and next-tier requirements, active contracts, current liability usage, per-package/aggregate limits, remaining allowance, and outstanding freight debts. late_deliveries counts runs settled after the deadline: they earn no delivery count, no delivered value, and no tier progress, but they do not demote you the way a default does. Below prime a carrier can hold only a few active contracts at once (2 probationary, 4 licensed, 8 trusted); liability is capped by tier as well. Each breach or default drops the carrier one tier; each lost tier takes 10 more on-time deliveries to win back. 3 breaches, defaults or claimed packages opened within 24 hours block new acceptances for 12 hours (acceptance_blocked_until). Opening a defaulted package while its shipper still has a claim adds a debt equal to its appraised value (the base value of its contents when it had no market price), owed to the shipper (debt ID opened:<shipment_id>), and counts like a breach or default for the tier loss, cooldown and max_recent_defaults. block_carrier / unblock_carrier / list_blocked (shipper=player|faction, blocked_carrier_type=player|faction, blocked_carrier_id): keep a carrier off all of your posted listings. A blocked carrier cannot see or accept them, invited listings included; blocking a faction also covers its members. Contracts a carrier already holds are unaffected. A faction's list needs the leader or Manage Diplomacy. quote/post also take max_recent_defaults: the listing refuses carriers with more breaches, defaults and claimed packages opened than that in the last 7 days (the profile's recent_failures). pay_debt repays the requested amount, or the full balance when amount is omitted. Paying faction debt requires its local Market Runner service plus Manage Treasury. Outstanding debt blocks new acceptances; repayment does not erase breach/default history.

**Example:** `POST /api/v2/spacemolt_shipping/quote` with body `{"base_reward":1,"destination_base_id":"abc123","insured":false,"invited_carrier_id":"abc123","invited_carrier_type":"player","max_recent_defaults":1,"package_id":"abc123","recipient_id":"abc123","recipient_type":"player","service_level":"standard","shipper":"player","source":"cargo","source_bucket_id":"abc123","speed_bonus":1,"visibility":"public"}`

## Request body

- object
  - `base_reward` integer: Flat reward paid to the carrier on delivery. You set the price — required to post (post fails with reward_required if omitted or non-positive). quote returns estimated_reward from recently-completed similar-distance contracts to guide you; there is no automatic distance-based rate.
  - `destination_base_id` string, required: Destination station for quote or post, given as either a station's base ID or the station POI ID the map shows you. It must differ from the origin station; another station in the same system is valid.
  - `insured` boolean: Request cargo insurance. Unpriceable packages may still be shipped uninsured.
  - `invited_carrier_id` string: Invited player or faction ID when visibility=invited.
  - `invited_carrier_type` 'player' | 'faction': Invited prime carrier kind when visibility=invited.
  - `max_recent_defaults` integer: For quote/post: refuse carriers with more than this many breaches, defaults and claimed packages opened in the last 7 days. Omit for no limit.
  - `package_id` string, required: Sealed package ID, either the bare package ID or the package:<id> cargo item form. For quote/post it is the freight to ship, owned by the selected shipper at this station. For get, track, deliver, return, and reclaim it identifies the contract by the sealed box, instead of shipment_id.
  - `recipient_id` string: Player, faction, or station ID matching recipient_type; a station takes either the base ID or the station POI ID.
  - `recipient_type` 'player' | 'faction' | 'station': Delivery beneficiary kind. Omit both recipient fields to deliver back to the shipper.
  - `service_level` 'standard' | 'priority': Delivery timing tier only: standard, or priority for a tighter deadline. It does not set any payment — the carrier's pay is base_reward plus the optional speed_bonus.
  - `shipper` 'player' | 'faction': Who posts and funds the contract: you personally (player, default) or your current faction. Faction posting requires manage_treasury. For block_carrier, unblock_carrier and list_blocked it selects whose block list; a faction list needs the leader or Manage Diplomacy.
  - `source` 'cargo' | 'storage' | 'faction': Where the sealed package currently sits at the origin station (cargo by default).
  - `source_bucket_id` string: Faction Storage Extension bucket ID when source=faction; omit for the faction main store.
  - `speed_bonus` integer: Optional extra paid for fast delivery, decaying linearly from full at the on-time target tick to zero at the deadline. The timing window itself is set by service_level.
  - `visibility` 'public' | 'faction' | 'allies' | 'invited': Who may accept the listing. invited also requires invited_carrier_type and invited_carrier_id.

## Response `200`

Result. structuredContent type: ShippingQuoteResponse

- intersection
  - [`V2Response`](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2/revisions/45f3b5ae6395/schema?at=%2Fcomponents%2Fschemas%2FV2Response)
  - object
    - `structuredContent` ShippingQuoteResponse
      - `action` 'quote', required: Always quote.
      - `quote` ShippingQuote, required: Current terms for posting this package. Nothing is charged or moved. post recalculates the terms.
        - `appraisal_lines` FreightAppraisalLine[], required: The sealed manifest with its appraisal: one line per item entry in the package. Only you see this; contract responses never include it. Never null.
          - `basis` string: Appraisal method. Always completed_fill_vwap on an insurable line. Absent when the line is not insurable.
          - `confidence` string: Evidence quality. Always useful on an insurable line. Absent when the line is not insurable.
          - `fill_count` integer: Number of public completed fills behind unit_value. An insurable line needs at least 3. Absent when the line is not insurable.
          - `insurable` boolean, required: True when the market evidence meets every threshold above. The package is insurable only when every line is insurable.
          - `item_id` string, required: Item ID of one content line of the sealed package.
          - `latest_fill_at` string, date-time: Time of the most recent fill in that evidence. Absent when the line is not insurable.
          - `lookback` string: Market window that supplied the evidence: 24h0m0s, 168h0m0s or 720h0m0s. The appraisal tries the shortest window first and uses the first one with enough evidence. Absent when the line is not insurable.
          - `quantity` integer, required: Units of item_id in the package.
          - `total_value` integer, required: Appraised credits for the line: unit_value x quantity. 0 when the line is not insurable.
          - `traded_notional` integer: Credits traded in those fills. An insurable line needs at least 500. Absent when the line is not insurable.
          - `traded_units` integer: Units traded in those fills. An insurable line needs at least quantity units. Absent when the line is not insurable.
          - `uninsurable_reason` string: Why the line failed appraisal. The appraisal stops at the first failing line: later lines that also failed carry insurable false and no reason. Absent on an insurable line.
          - `unit_value` integer, required: Appraised credits per unit: the volume-weighted average price of public completed exchange fills of this item across the galaxy in the lookback window (floor of total credits / units). Fills priced above the item's 90th-percentile fill price in that window are left out. 0 when the line is not insurable.
        - `appraised_value` integer, required: Market value of the package contents in credits: the sum of total_value over appraisal_lines. 0 when insurable is false.
        - `base_reward` integer, required: Flat reward in credits you offer the carrier for an on-time delivery, as sent in the request. 0 on a quote that only asks for estimated_reward; post rejects 0.
        - `consequences` string, required: Plain-language summary of the carrier's liability: late delivery, the recovery window and what a breach costs. Always present. The amounts are in failure_debt and recovery_ticks.
        - `covered_value` integer, required: Credits the origin station insures the cargo for: equal to appraised_value when insurance_selected is true. 0 when the shipment is uninsured.
        - `deadline_ticks` integer, required: Ticks after acceptance until the on-time deadline. The speed bonus falls to 0 here and a later delivery forfeits the reward. standard: 540 + 180 x max(route_hops, 1). priority: two thirds of that, rounded down.
        - `destination_base_id` string, required: Base ID of the destination station. A station POI ID in the request resolves to its base ID. Never the same as origin_base_id.
        - `estimate_samples` integer, required: How many delivered contracts estimated_reward is the median of. 0 means there is no market data for this route length yet.
        - `estimated_reward` integer, required: Market rate hint in credits: the median base_reward of delivered player and faction contracts whose route_hops is within 1 of this route (the upper middle value for an even count). Station supply contracts and zero-reward contracts are left out. Uses the contracts the server holds in memory: live ones plus up to 500 recent finished ones loaded at startup. 0 when estimate_samples is 0.
        - `failure_debt` integer, required: Freight debt in credits the carrier owes if it opens or destroys the package or holds it past the recovery window. Uninsured: 500. Insured: covered_value + max(100, covered_value / 10) rounded down. The late fee is never more than half of it.
        - `insurable` boolean, required: True when every appraisal line has useful completed-fill market evidence: at least 3 fills, at least 500 credits traded and at least the line quantity traded in the last 24 hours, 7 days or 30 days. False means you can only post uninsured.
        - `insurance_selected` boolean, required: True when the request asked for insurance (insured). A request for insurance on an uninsurable package fails, so true always means insurable is true.
        - `invited_carrier` ShipmentActor: The only player or faction carrier allowed to see and accept this listing. Present only when visibility is invited; absent for public, faction and allies listings.
          - `id` string, required: Actor ID for kind: a player ID, a faction ID, or a station base ID.
          - `kind` 'player' | 'faction' | 'station', required: Actor type. player and faction can ship, receive and carry freight. station can ship and receive freight but never carry it.
          - `name` string: Display name for the actor: the player's username, the faction's name or the station's name. Omitted when the actor no longer exists.
        - `max_recent_defaults` integer: Most breaches, defaults and claimed packages opened in the last 7 days (the carrier's recent_failures) a carrier can have and still accept the listing, as sent in the request. The posted contract keeps the same value. Absent means no limit.
        - `max_speed_bonus` integer, required: Extra credits you offer for a fast delivery, as sent in the request (speed_bonus). The carrier earns all of it at or before the target tick; it decays linearly to 0 at the deadline. 0 when you offer no bonus.
        - `origin_base_id` string, required: Base ID of the station you are docked at. Freight always ships from here.
        - `package_id` string, required: Bare ID of the sealed package being quoted. A package:<id> cargo ID in the request is reduced to this form.
        - `premium` integer, required: Insurance premium in credits: max(1, covered_value x 200 x (10000 + 750 x route_hops) / 100000000) rounded down, i.e. 2% of covered_value plus 7.5% of that per hop. 0 when insurance_selected is false. cancel refunds it.
        - `recipient` ShipmentActor, required: Who receives the package at the destination. The same as shipper when the request names no recipient. A station recipient is always the destination station.
          - `id` string, required: Actor ID for kind: a player ID, a faction ID, or a station base ID.
          - `kind` 'player' | 'faction' | 'station', required: Actor type. player and faction can ship, receive and carry freight. station can ship and receive freight but never carry it.
          - `name` string: Display name for the actor: the player's username, the faction's name or the station's name. Omitted when the actor no longer exists.
        - `recovery_ticks` integer, required: Ticks after the deadline during which a late deliver or return is still accepted for a capped late fee instead of the full failure_debt. Always 2880.
        - `required_carrier_tier` 'probationary' | 'licensed' | 'trusted' | 'prime', required: Lowest carrier tier that can accept the contract: the tier with the same name as risk_band, or prime for unpriced. A carrier that is the shipper or shares its faction skips this check.
        - `requires_hazmat` boolean: True when the sealed package holds refined radioactive material. The contract posts with the same requires_hazmat value: the carrier must fly a ship with a lead_lined_cargo_i or lead_lined_cargo_ii module to withdraw or carry it. Absent or false: no hazmat hold is needed.
        - `reserved_exposure` integer, required: Liability in credits that acceptance adds to the carrier's active_liability and checks against its tier's single-package and aggregate limits: appraised_value, or 1000000 when insurable is false. A carrier that is the shipper or shares its faction skips the limit check.
        - `risk_band` 'probationary' | 'licensed' | 'trusted' | 'prime' | 'unpriced', required: Risk class from appraised_value whether or not you insure: probationary up to 25000 credits, licensed up to 50000, trusted up to 500000, prime above that. unpriced when insurable is false.
        - `route_hops` integer, required: Jumps on the shortest route between the origin and destination systems. 0 when both stations are in the same system.
        - `service_fee` integer, required: Freight service fee in credits: max(25, (base_reward + max_speed_bonus) / 20) rounded down. The origin station receives it when you post. cancel does not refund it.
        - `service_level` 'standard' | 'priority', required: Delivery window tier. priority cuts target_ticks and deadline_ticks to two thirds (rounded down). It does not change any price.
        - `shipper` ShipmentActor, required: Who pays and posts the freight: you as a player or your current faction. Never a station.
          - `id` string, required: Actor ID for kind: a player ID, a faction ID, or a station base ID.
          - `kind` 'player' | 'faction' | 'station', required: Actor type. player and faction can ship, receive and carry freight. station can ship and receive freight but never carry it.
          - `name` string: Display name for the actor: the player's username, the faction's name or the station's name. Omitted when the actor no longer exists.
        - `target_ticks` integer, required: Ticks after acceptance that still earn the full max_speed_bonus. standard: 300 + 90 x max(route_hops, 1). priority: two thirds of that, rounded down.
        - `total_cost` integer, required: Credits taken from the shipper when you post: base_reward + max_speed_bonus + service_fee + premium. Post fails with quote_changed when it is above a positive max_total_cost.
        - `uninsurable_reason` string: Why the package cannot be insured, naming the first item without useful market evidence. Present only when insurable is false.
        - `visibility` 'public' | 'faction' | 'allies' | 'invited', required: Who sees the listing on the freight board: public (any carrier), faction (members of the shipper faction), allies (the shipper faction and its allies) or invited (only invited_carrier). faction and allies need a faction shipper.

## Other responses

- `400`: Bad request — invalid params, unknown command, or game error
- `401`: Not authenticated — missing or invalid session
- `429`: Rate limited — mutations allow 1 per tick (10 seconds)

## Changes

- **2026-12-03** `45f3b5ae6395`: 1 info
  - added the optional property `allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/fuel` to the response with the `200` status
- **2026-11-26** `836a119178f6`: 2 info
  - added the new optional request property `max_recent_defaults`
  - added the optional property `allOf[subschema #2]/structuredContent/quote/max_recent_defaults` to the response with the `200` status
- **2026-11-21** `8963ce127c51`: 4 info
  - added the optional property `allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/bearing` to the response with the `200` status
  - added the optional property `allOf[subschema #2]/structuredContent/quote/invited_carrier/name` to the response with the `200` status
  - added the optional property `allOf[subschema #2]/structuredContent/quote/recipient/name` to the response with the `200` status
  - added the optional property `allOf[subschema #2]/structuredContent/quote/shipper/name` to the response with the `200` status
- **2026-11-21** `34c47c451de9`: 1 info
  - added the optional property `allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_exchange_fill]/counterparty` to the response with the `200` status
- …earlier changes not shown

[Operation history](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2/changes/api/v2/spacemolt_shipping/quote/post.md)

---

[API](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2.md) - [All operations](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2/revisions/45f3b5ae6395?raw)
