POST /api/hilma/tenders
Price: 20 credits
Get one Hilma notice by its id: title and description in Finnish, Swedish and English, notice kind and form, buyer, CPV and NUTS codes, estimated, awarded and framework values, winners, every lot with values and tender statistics, sustainability flags, the organisations with business id, address and contact, awards per lot with contract dates, lot deadlines, documents and award criteria, and the whole published notice.
Pass the id of a hilma/tenders/search row: EF- for eForms notices, OLD- for notices on the earlier national forms, PLAN- for procurement plans. organisations, awards and lot_details come from the eForms body, so an OLD- or PLAN- notice carries its published body in notice only.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)tender string required — Hilma notice id (examples: "EF-57737", "OLD-160600", "PLAN-1280"; minLength: 1)@type string (default: "HilmaTender")id string requirednotice_id string nullablenotice_number string nullableprocedure_id string nullablelegacy_procedure_id string nullableplan_id string nullableeforms_id string nullableeforms_version_id string nullablecontract_folder_id string nullableparent_notice_id string nullableprevious_notice_ids array (default: [])previous_notice_numbers array (default: [])previous_ted_publication_ids array (default: [])previous_eforms_ids array (default: [])previous_eforms_version_ids array (default: [])previous_contract_folder_ids array (default: [])linked_ted_publication_ids array (default: [])ted_publication_id string nullableojs_number string nullablereferenced_notice_id string nullableform_type string nullablemain_type string nullablestage string nullabletitles object nullable@type string (default: "HilmaText")fi string nullablesv string nullableen string nullableother string nullabledescription string nullabledescriptions object nullable@type string (default: "HilmaText")fi string nullablesv string nullableen string nullableother string nullablebuyer object nullable@type string (default: "HilmaBuyer")name string nullablenames object nullable@type string (default: "HilmaText")fi string nullablesv string nullableen string nullableother string nullablebusiness_id string nullabledepartment string nullableaddress string nullablenuts string nullableorganisation_type string nullablesuppliers array (default: [])@type string (default: "HilmaSupplier")name string requiredidentifier string nullablecpv array (default: [])nuts array (default: [])contract_natures array (default: [])procedure_type string nullablevalue object nullable@type string (default: "HilmaValue")amount number nullablecurrency string nullableawarded_value object nullable@type string (default: "HilmaValue")amount number nullablecurrency string nullableframework_max_value object nullable@type string (default: "HilmaValue")amount number nullablecurrency string nullableframework_approximate_value object nullable@type string (default: "HilmaValue")amount number nullablecurrency string nullabledates object nullable@type string (default: "HilmaDates")published_at integer nullablemodified_at integer nullabledeadline_at integer nullableexpires_at integer nullableis_cancelled boolean nullableis_corrigendum boolean nullableis_eforms boolean nullableis_eu_procurement boolean nullableis_national_procurement boolean nullableis_national_small_value boolean nullableis_private_small_value boolean nullableis_plan boolean nullableis_latest boolean nullableis_tendering_in_hilma boolean nullablehas_framework_agreement boolean nullablehas_dynamic_purchasing_system boolean nullableestimated_opportunities string nullabledocuments_url string nullablesending_system string nullablesustainability object nullable@type string (default: "HilmaSustainability")has_biodiversity boolean nullablehas_circular_economy boolean nullablehas_code_of_conduct boolean nullablehas_employment_condition boolean nullablehas_end_user_involvement boolean nullablehas_energy_efficiency boolean nullablehas_innovation boolean nullablehas_just_working_conditions boolean nullablehas_listed_green_criteria boolean nullablehas_low_carbon boolean nullablehas_sme_participation boolean nullableis_solution_new_to_buyer boolean nullableis_solution_new_to_market boolean nullablehas_sustainable_food_production boolean nullablelots array (default: [])@type string (default: "HilmaLotSummary")id string nullabletitles object nullable@type string (default: "HilmaText")fi string nullablesv string nullableen string nullableother string nullabledescription string nullabledescriptions object nullable@type string (default: "HilmaText")fi string nullablesv string nullableen string nullableother string nullablecpv array (default: [])nuts array (default: [])contract_natures array (default: [])procedure_type string nullablevalue object nullable@type string (default: "HilmaValue")amount number nullablecurrency string nullableawarded_value object nullable@type string (default: "HilmaValue")amount number nullablecurrency string nullablesuppliers array (default: [])@type string (default: "HilmaSupplier")name string requiredidentifier string nullabledeadline_at integer nullableexpires_at integer nullablehas_framework_agreement boolean nullablehas_dynamic_purchasing_system boolean nullableestimated_opportunities string nullablestatistics object nullable@type string (default: "HilmaTenderStatistics")received_tender_count integer nullablereceived_application_count integer nullableelectronic_tender_count integer nullablemicro_tenderer_count integer nullablesmall_tenderer_count integer nullablemedium_tenderer_count integer nullablesme_tenderer_count integer nullableother_eea_tenderer_count integer nullableoutside_eea_tenderer_count integer nullableunverified_tender_count integer nullableinadmissible_tender_count integer nullableabnormally_low_tender_count integer nullablesustainability object nullable@type string (default: "HilmaSustainability")has_biodiversity boolean nullablehas_circular_economy boolean nullablehas_code_of_conduct boolean nullablehas_employment_condition boolean nullablehas_end_user_involvement boolean nullablehas_energy_efficiency boolean nullablehas_innovation boolean nullablehas_just_working_conditions boolean nullablehas_listed_green_criteria boolean nullablehas_low_carbon boolean nullablehas_sme_participation boolean nullableis_solution_new_to_buyer boolean nullableis_solution_new_to_market boolean nullablehas_sustainable_food_production boolean nullablecountry string (default: "FI")url string requiredprocedure_description string nullableorganisations array (default: [])@type string (default: "HilmaOrganisation")id string nullablename string nullablebusiness_id string nullabledepartment string nullablestreet string nullablecity string nullablepostcode string nullablenuts string nullablecountry string nullablecontact_name string nullableemail string nullablephone string nullablewebsite_url string nullablesize string nullableroles array (default: [])awards array (default: [])@type string (default: "HilmaAward")lot_id string nullableresult_code string nullablesuppliers array (default: [])@type string (default: "HilmaOrganisation")id string nullablename string nullablebusiness_id string nullabledepartment string nullablestreet string nullablecity string nullablepostcode string nullablenuts string nullablecountry string nullablecontact_name string nullableemail string nullablephone string nullablewebsite_url string nullablesize string nullableroles array (default: [])value object nullable@type string (default: "HilmaValue")amount number nullablecurrency string nullabletender_reference string nullablecontract_id string nullablecontract_reference string nullablecontract_date string nullableaward_date string nullablereceived_tender_count integer nullablelot_details array (default: [])@type string (default: "HilmaLotDetail")id string nullableinternal_id string nullablenote string nullablestart_date string nullableend_date string nullabledeadline_at integer nullablequestions_deadline_at integer nullableopening_at integer nullabledocuments_url string nullablesubmission_url string nullablesubmission_method string nullableis_sme_suitable boolean nullableaward_criteria array (default: [])@type string (default: "HilmaAwardCriterion")criterion_type string nullablename string nullabledescription string nullablenotice object nullable422 — The request body did not validate Check the fields against this schema. A URN with the wrong prefix is the most common cause.408 — The request ran past its time limit 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 Hilma notice with this identifier 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 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 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 Wait at least 30 seconds, then retry.X-Error — Error message text (present only on error)X-Request-ID — Unique request identifierX-Execution-Time — Execution time in secondsX-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.