---
title: "The reader's own quote, prices and all, as a My Project file"
method: POST
path: "/quote-import"
tags: ["Quotes"]
---

# The reader's own quote, prices and all, as a My Project file

`POST /quote-import`

## Request

- Base URL: `https://api.craftquantities.com/v1`
- URL: `https://api.craftquantities.com/v1/quote-import`
- Auth: none declared

The prices are the reader's own figures from the quote they supply, never the site's. Nothing is stored.

## Query parameters

- `detail` 'full' | 'summary': full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read.
- `format` 'json' | 'md'

## Request body

- object
  - `quote` string, required
  - `supplier` string
  - `currency` string
  - `market` 'US' | 'CA' | 'UK' | 'AU' | 'INTL': Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures.
  - `name` string

## Response `200`

The quote as read, its arithmetic, and the file.

- union
  - object
    - `engine` object, required
    - `pricesAreTheReaders` string, required
    - `currency` string, nullable, required
    - `lines` object[], required
    - `declared` object, required
    - `totals` object, required
    - `arithmetic` unknown[], required
      - unknown
    - `skipped` string[], required
    - `file` object, required
    - `howToImport` string, required
    - `licence` object, required
      - `name` string, required
      - `url` string, required
      - `attribution` string, required
  - object
    - `detail` 'summary', required
    - `tool` string, required
    - `title` string, required
    - `lines` object[], required: The result lines, as the report's table gives them.
    - `notes` string[], required: What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary.
    - `citation` string, required: The one citation line, built from the answer's own data.
    - `url` string, nullable, required
    - `open` string, nullable, required
    - `more` string, nullable, required

## Other responses

- `400`: The request was refused; every problem is listed.
- `413`: The request was refused; every problem is listed.

---

[API](https://skmtc.dev/craftquantities/apis/craft-quantities-engine-api.md) · [All operations](https://skmtc.dev/craftquantities/apis/craft-quantities-engine-api/llms.txt) · [OpenAPI document](https://skmtc.dev/craftquantities/apis/craft-quantities-engine-api/revisions/a69883abc23b?raw)
