# /doffin/tenders

`POST /api/doffin/tenders`

Price: 10 credits

Get one Doffin notice by its id or URL with its whole eForms body: title, description, notice type, stage and status, buyer with legal type and activity, procedure, every lot with place of performance, duration, value and award criteria, results with winners, contracts, unsuccessful tenderers and received-tender counts, every organisation with registration number, address, contact and roles, CPV codes, the TED reference and the timeline of the procedure's other notices.

## How to use it

Pass the id of a doffin/tenders/search row such as 2026-114706. suppliers holds the organisations that won a lot; results carries the award per lot with contract ids and dates; timeline lists the planning, competition and result notices of the same procedure, which each resolve here by their own id. A TED number such as 253074-2026 is not an id of this register and returns 422.

## Parameters

- `access-token` (string, required)

## Request body

- `timeout` (integer) — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)
- `tender` (string, required) — Notice id or notice URL (examples: "2026-114706", "https://www.doffin.no/notices/2026-106661"; minLength: 1)

## Response

### 200 — Successful Response

- `@type` (string) (default: "DoffinTender")
- `id` (string, required)
- `eform_id` (string, nullable)
- `procedure_id` (string, nullable)
- `ted_id` (string, nullable)
- `description` (string, nullable)
- `notice_type` (string, nullable)
- `notice_types` (array) (default: [])
- `stage` (string, nullable)
- `status` (string, nullable)
- `buyer` (object, nullable)
  - `@type` (string) (default: "DoffinBuyer")
  - `id` (string, nullable)
  - `organization_number` (string, nullable)
  - `name` (string, required)
- `buyers` (array) (default: [])
  - `@type` (string) (default: "DoffinBuyer")
  - `id` (string, nullable)
  - `organization_number` (string, nullable)
  - `name` (string, required)
- `buyer_legal_type` (string, nullable)
- `buyer_activity` (string, nullable)
- `main_activity` (string, nullable)
- `suppliers` (array) (default: [])
  - `@type` (string) (default: "DoffinOrganisation")
  - `id` (string, nullable)
  - `name` (string, nullable)
  - `registration_number` (string, nullable)
  - `department` (string, nullable)
  - `size` (string, nullable)
  - `address` (string, nullable)
  - `city` (string, nullable)
  - `postcode` (string, nullable)
  - `region` (string, nullable)
  - `country` (string, nullable)
  - `contact_name` (string, nullable)
  - `email` (string, nullable)
  - `phone` (string, nullable)
  - `url` (string, nullable)
  - `buyer_profile` (string, nullable)
  - `roles` (array) (default: [])
  - `won_lots` (array) (default: [])
- `value` (object, nullable)
  - `@type` (string) (default: "DoffinValue")
  - `amount` (number, nullable)
  - `currency` (string, nullable)
  - `text` (string, nullable)
- `dates` (object, nullable)
  - `@type` (string) (default: "DoffinDates")
  - `published` (string, nullable)
  - `issued_at` (integer, nullable)
  - `deadline_at` (integer, nullable)
  - `qualification_deadline_at` (integer, nullable)
  - `planned_ted_publication` (string, nullable)
  - `preferred_ted_publication` (string, nullable)
- `cpv` (array) (default: [])
- `cpv_direct` (array) (default: [])
- `cpv_parent` (array) (default: [])
- `location_ids` (array) (default: [])
- `places_of_performance` (array) (default: [])
- `strategic_labels` (array) (default: [])
- `lots_number` (integer, nullable)
- `received_tenders` (array) (default: [])
  - `@type` (string) (default: "DoffinReceivedTenders")
  - `kind` (string, nullable)
  - `count` (integer, nullable)
- `awarded_names` (array) (default: [])
- `procedure` (object, nullable)
  - `@type` (string) (default: "DoffinProcedure")
  - `description` (string, nullable)
  - `procedure_id` (string, nullable)
  - `previous_notice` (string, nullable)
  - `internal_id` (string, nullable)
  - `procedure_type` (string, nullable)
  - `main_features` (string, nullable)
  - `contract_nature` (string, nullable)
  - `main_classification` (string, nullable)
  - `additional_classifications` (array) (default: [])
  - `place` (object, nullable)
    - `@type` (string) (default: "DoffinPlace")
    - `address` (string, nullable)
    - `city` (string, nullable)
    - `postcode` (string, nullable)
    - `region` (string, nullable)
    - `country` (string, nullable)
    - `additional_information` (string, nullable)
  - `estimated_value` (object, nullable)
    - `@type` (string) (default: "DoffinValue")
    - `amount` (number, nullable)
    - `currency` (string, nullable)
    - `text` (string, nullable)
  - `framework_max_value` (object, nullable)
    - `@type` (string) (default: "DoffinValue")
    - `amount` (number, nullable)
    - `currency` (string, nullable)
    - `text` (string, nullable)
  - `legal_basis` (string, nullable)
  - `legal_basis_details` (string, nullable)
- `lots` (array) (default: [])
  - `@type` (string) (default: "DoffinLot")
  - `id` (string, nullable)
  - `description` (string, nullable)
  - `internal_id` (string, nullable)
  - `contract_nature` (string, nullable)
  - `main_classification` (string, nullable)
  - `additional_classifications` (array) (default: [])
  - `place` (object, nullable)
    - `@type` (string) (default: "DoffinPlace")
    - `address` (string, nullable)
    - `city` (string, nullable)
    - `postcode` (string, nullable)
    - `region` (string, nullable)
    - `country` (string, nullable)
    - `additional_information` (string, nullable)
  - `start_date` (string, nullable)
  - `end_date` (string, nullable)
  - `duration` (string, nullable)
  - `renewal_max` (string, nullable)
  - `renewal_description` (string, nullable)
  - `estimated_value` (object, nullable)
    - `@type` (string) (default: "DoffinValue")
    - `amount` (number, nullable)
    - `currency` (string, nullable)
    - `text` (string, nullable)
  - `framework_max_value` (object, nullable)
    - `@type` (string) (default: "DoffinValue")
    - `amount` (number, nullable)
    - `currency` (string, nullable)
    - `text` (string, nullable)
  - `award_criteria` (array) (default: [])
    - `@type` (string) (default: "DoffinAwardCriterion")
    - `kind` (string, nullable)
    - `name` (string, nullable)
    - `description` (string, nullable)
    - `weight_kind` (string, nullable)
    - `weight` (string, nullable)
  - `deadline` (string, nullable)
  - `requests_deadline` (string, nullable)
  - `documents_url` (string, nullable)
  - `submission_url` (string, nullable)
  - `review_organisation` (string, nullable)
  - `contract_signer` (string, nullable)
- `results` (array) (default: [])
  - `@type` (string) (default: "DoffinResult")
  - `lot_id` (string, nullable)
  - `framework_max_value` (object, nullable)
    - `@type` (string) (default: "DoffinValue")
    - `amount` (number, nullable)
    - `currency` (string, nullable)
    - `text` (string, nullable)
  - `framework_reestimated_value` (object, nullable)
    - `@type` (string) (default: "DoffinValue")
    - `amount` (number, nullable)
    - `currency` (string, nullable)
    - `text` (string, nullable)
  - `winners` (array) (default: [])
    - `@type` (string) (default: "DoffinWinner")
    - `name` (string, nullable)
    - `tender_id` (string, nullable)
    - `lot_id` (string, nullable)
    - `tender_value` (object, nullable) (see schema DoffinValue)
    - `subcontracting` (string, nullable)
    - `contract_id` (string, nullable)
    - `contract_title` (string, nullable)
    - `award_date` (string, nullable)
    - `signature_date` (string, nullable)
    - `contract_signer` (string, nullable)
  - `unsuccessful_tenderers` (array) (default: [])
  - `received_tenders` (array) (default: [])
    - `@type` (string) (default: "DoffinReceivedTenders")
    - `kind` (string, nullable)
    - `count` (integer, nullable)
- `organisations` (array) (default: [])
  - `@type` (string) (default: "DoffinOrganisation")
  - `id` (string, nullable)
  - `name` (string, nullable)
  - `registration_number` (string, nullable)
  - `department` (string, nullable)
  - `size` (string, nullable)
  - `address` (string, nullable)
  - `city` (string, nullable)
  - `postcode` (string, nullable)
  - `region` (string, nullable)
  - `country` (string, nullable)
  - `contact_name` (string, nullable)
  - `email` (string, nullable)
  - `phone` (string, nullable)
  - `url` (string, nullable)
  - `buyer_profile` (string, nullable)
  - `roles` (array) (default: [])
  - `won_lots` (array) (default: [])
- `changes` (array) (default: [])
  - `@type` (string) (default: "DoffinChange")
  - `section` (string, nullable)
  - `description` (string, nullable)
  - `reason` (string, nullable)
- `notice_info` (object, nullable)
  - `@type` (string) (default: "DoffinNoticeInfo")
  - `notice_version` (string, nullable)
  - `form_type` (string, nullable)
  - `notice_type` (string, nullable)
  - `dispatch_date` (string, nullable)
  - `languages` (string, nullable)
- `timeline` (array) (default: [])
  - `@type` (string) (default: "DoffinTimelineEntry")
  - `id` (string, required)
  - `notice_types` (array) (default: [])
  - `published_date` (string, nullable)
  - `is_current` (boolean) (default: false)
  - `url` (string, required)
- `change_notices` (array) (default: [])
  - `@type` (string) (default: "DoffinChangeNotice")
  - `id` (string, required)
  - `eform_id` (string, nullable)
  - `changed_notice_id` (string, nullable)
  - `issued_at` (integer, nullable)
  - `is_current` (boolean) (default: false)
  - `url` (string, required)
- `documents_url` (string, nullable)
- `regulation_url` (string, nullable)
- `sent_to_ted` (boolean, nullable)
- `limited_data` (boolean, nullable)
- `form` (array) (default: [])
  - `@type` (string) (default: "DoffinSection")
  - `number` (string, nullable)
  - `label` (string, nullable)
  - `value` (string, nullable)
  - `sections` (array) (default: [])
- `country` (string) (default: "NO")
- `url` (string, required)

## Errors

### 422 — Validation Error

The request body did not validate

What to do: Check the fields against this schema. A URN with the wrong prefix is the most common cause.

- `detail` (array)
  - `loc` (array, required)
  - `msg` (string, required)
  - `type` (string, required)
  - `input` (any)
  - `ctx` (object)

### 408

The request ran past its time limit

What to do: Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.

### 412

No notice with this identifier on Doffin

What to do: Retrying will not help: either the entity does not exist, or the input points at a different one.

### 429

Too many requests: a rate limit or a usage window is exhausted

What to do: When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.

### 500

Something broke on our side

What to do: Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.

### 529

Rate limit reached, or the endpoint is overloaded

What to do: Wait at least 30 seconds, then retry.

## Response envelope

Success: Array of objects (may be empty if no results)

Error: Error may coexist with partial results if it occurs mid-execution. Check X-Error header and status code.

Every response carries these headers:

- `X-Error` — Error message text (present only on error)
- `X-Request-ID` — Unique request identifier
- `X-Execution-Time` — Execution time in seconds
- `X-Result-Count` — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.
- `X-Total-Available-Results` — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.
- `X-Warning` — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.
- `X-Retry-After` — Seconds to wait before retrying. Present only on 429.

