POST /api/mercadopublico/tenders
Price: 20 credits
One Chilean public tender from Mercado Público by code: state, type, buying organisation, estimated amount, every stage date, contract and payment terms, requested products with UNSPSC codes, evaluation criteria, guarantees and required documents, plus the bidders, bids, questions and answers, and awards with winning suppliers and awarded amounts when the tender has them.
Tenders still open for bids carry no `bids`, `awards` or `tenderers`. `awarded_at` is set on awarded tenders and `award_planned_at` holds the scheduled award date otherwise.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)id string required — Tender code or its OCDS ocid (examples: "4116-5-LE26", "ocds-70d2nz-2950-40-LE26")@type string (default: "MercadopublicoTender")id string requiredocid string requireddescription string nullablestatus string nullablestage string nullableocds_status string nullabletender_type string nullableprocurement_method string nullablecall_type string nullablecurrency string nullableopening_stages string nullablecontract_requirement string nullablecomptroller_review string nullabletechnical_offer_publicity string nullablebuyer object nullable@type string (default: "MercadopublicoBuyerRef")id string nullablename string nullableunit string nullablebuyer_address string nullablebuyer_commune string nullablebuyer_region string nullablebuyer_late_payment_claim_count integer nullablevalue object nullable@type string (default: "MercadopublicoValue")amount number nullablecurrency string nullableestimation_basis string nullableestimated_amount_justification string nullablefunding_source string nullablecontract_duration string nullableis_contract_renewable boolean nullablerenewal_justification string nullablesubcontracting string nullablepayment_terms string nullablepayment_methods string nullablepayment_contact object nullable@type string (default: "MercadopublicoContact")name string nullableemail string nullablephone string nullablecontract_contact object nullable@type string (default: "MercadopublicoContact")name string nullableemail string nullablephone string nullablebudget_notes string nullablepublished_at integer nullablequestions_start_at integer nullablequestions_end_at integer nullableanswers_published_at integer nullabledeadline_at integer nullabletechnical_opening_at integer nullableeconomic_opening_at integer nullableawarded_at integer nullableaward_planned_at integer nullablecontract_signing string nullablephysical_delivery string nullableother_dates array (default: [])@type string (default: "MercadopublicoClause")text string nullableline_items array (default: [])@type string (default: "MercadopublicoLine")line_number integer nullablecategory_code string nullableproduct string nullabledescription string nullablequantity number nullableunit string nullableevaluation_criteria array (default: [])@type string (default: "MercadopublicoCriterion")name string nullableweight string nullablenotes string nullableguarantees array (default: [])@type string (default: "MercadopublicoPageGuarantee")kind string nullablebeneficiary string nullableamount number nullableamount_unit string nullableexpires_date string nullabledescription string nullablewording string nullablereturn_terms string nullablerequired_documents array (default: [])@type string (default: "MercadopublicoClause")text string nullabletechnical_requirements array (default: [])@type string (default: "MercadopublicoClause")text string nullablereadjudication_clause string nullabletribunal_claims string nullablesuppliers array (default: [])@type string (default: "MercadopublicoOrgRef")id string nullablename string nullabletenderers array (default: [])@type string (default: "MercadopublicoOrgRef")id string nullablename string nullablebids array (default: [])@type string (default: "MercadopublicoBid")id string nullablestatus string nullablesubmitted_at integer nullablevalue object nullable@type string (default: "MercadopublicoValue")amount number nullablecurrency string nullabletenderers array (default: [])@type string (default: "MercadopublicoOrgRef")id string nullablename string nullablebid_items array (default: [])@type string (default: "MercadopublicoItem")id string nullabledescription string nullablequantity number nullableunit string nullableunit_price number nullablecurrency string nullableclassification_code string nullableawards array (default: [])@type string (default: "MercadopublicoAward")id string nullablestatus string nullablestatus_details string nullableawarded_at integer nullablevalue object nullable@type string (default: "MercadopublicoValue")amount number nullablecurrency string nullablesuppliers array (default: [])@type string (default: "MercadopublicoOrgRef")id string nullablename string nullableawarded_items array (default: [])@type string (default: "MercadopublicoItem")id string nullabledescription string nullablequantity number nullableunit string nullableunit_price number nullablecurrency string nullableclassification_code string nullabledocuments_url string nullableenquiries array (default: [])@type string (default: "MercadopublicoEnquiry")id string nullablequestion string nullableanswer string nullableasked_at integer nullableanswered_at integer nullableparties array (default: [])@type string (default: "MercadopublicoParty")id string nullablename string nullablerut string nullableroles array (default: [])scale string nullableclassifications array (default: [])@type string (default: "MercadopublicoPartyClassification")id string nullablescheme string nullabledescription string nullableurl string nullableaddress string nullableregion string nullablecontact_name string nullableocds_items array (default: [])@type string (default: "MercadopublicoItem")id string nullabledescription string nullablequantity number nullableunit string nullableunit_price number nullablecurrency string nullableclassification_code string nullablecountry string (default: "CL")url string required422 — 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 tender with that code 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.