POST /api/sercop/tenders
Price: 20 credits
One Ecuadorian public procurement process by ocid as its compiled OCDS release: the buyer and every party with RUC ids and addresses, the tender with its periods, CPC-classified items, lots, questions and answers and tenderers, the planning budget, reverse-auction rounds and bids, the awards with supplier and item prices, the contracts, and linked framework agreements.
The ocid is case-sensitive and ends with the buyer code, as sercop/tenders/search returns it. `stage` is `contract` once `contracts` is non-empty, `award` once `awards` is non-empty, `tender` before that and `planning` when only the plan is published. `suppliers` is the union of `awards[].suppliers`; `auctions` is filled on reverse auctions.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)ocid string required — Process ocid (examples: "ocds-5wno2w-SIE-DD07D04S-2025-00005-117858", "ocds-5wno2w-CE-20250002772320-84942"; minLength: 1)@type string (default: "SercopTender")ocid string requiredrelease_id string nullabledescription string nullablestatus string nullablestage string nullablebuyer object nullable@type string (default: "SercopPartyRef")id string nullablename string requiredbuyer_details object nullable@type string (default: "SercopParty")id string requiredname string nullableroles array (default: [])identifier object nullable@type string (default: "SercopIdentifier")scheme string nullableid string nullablelegal_name string nullableaddress object nullable@type string (default: "SercopAddress")street string nullablelocality string nullableregion string nullablepostal_code string nullablecountry_name string nullablecontact object nullable@type string (default: "SercopContact")name string nullableurl string nullableprocuring_entity object nullable@type string (default: "SercopPartyRef")id string nullablename string requiredsuppliers array (default: [])@type string (default: "SercopPartyRef")id string nullablename string requiredtenderers array (default: [])@type string (default: "SercopPartyRef")id string nullablename string requiredvalue object nullable@type string (default: "SercopValue")amount number nullablecurrency string nullablepublished_at integer nullabledeadline_at integer nullableawarded_at integer nullableupdated_at integer nullableclassifications array (default: [])@type string (default: "SercopClassification")scheme string nullablecode string requireddescription string nullableuri string nullablecountry string (default: "EC")url string requiredtags array (default: [])initiation_type string nullablelanguage string nullableprocurement_method string nullableprocurement_method_details string nullablemain_procurement_category string nullableis_competitive boolean nullablenumber_of_tenderers integer nullableaward_criteria string nullableaward_criteria_details string nullableeligibility_criteria string nullablehas_enquiries boolean nullabletender_period object nullable@type string (default: "SercopPeriod")start_at integer nullableend_at integer nullablemax_extent_at integer nullableduration_days integer nullableenquiry_period object nullable@type string (default: "SercopPeriod")start_at integer nullableend_at integer nullablemax_extent_at integer nullableduration_days integer nullableaward_period object nullable@type string (default: "SercopPeriod")start_at integer nullableend_at integer nullablemax_extent_at integer nullableduration_days integer nullableline_items array (default: [])@type string (default: "SercopItem")id string requireddescription string nullablequantity number nullableunit object nullable@type string (default: "SercopUnit")id string nullablename string nullablescheme string nullablevalue object nullable@type string (default: "SercopValue")amount number nullablecurrency string nullableclassification object nullable@type string (default: "SercopClassification")scheme string nullablecode string requireddescription string nullableuri string nullableadditional_classifications array (default: [])@type string (default: "SercopClassification")scheme string nullablecode string requireddescription string nullableuri string nullablelot_id string nullablevalue_breakdown array (default: [])@type string (default: "SercopValueComponent")id string requireddescription string nullablevalue object nullable (see schema SercopValue)lots array (default: [])@type string (default: "SercopLot")id string requiredvalue object nullable@type string (default: "SercopValue")amount number nullablecurrency string nullablehas_electronic_auction boolean nullableenquiries array (default: [])@type string (default: "SercopEnquiry")id string requiredquestion string nullableanswer string nullableauthor object nullable@type string (default: "SercopPartyRef")id string nullablename string requiredasked_at integer nullableanswered_at integer nullablebudget object nullable@type string (default: "SercopBudget")id string nullableamount object nullable@type string (default: "SercopValue")amount number nullablecurrency string nullablerationale string nullableawards array (default: [])@type string (default: "SercopAward")id string requireddescription string nullablestatus string nullableawarded_at integer nullablevalue object nullable@type string (default: "SercopValue")amount number nullablecurrency string nullablesuppliers array (default: [])@type string (default: "SercopPartyRef")id string nullablename string requiredcontract_period object nullable@type string (default: "SercopPeriod")start_at integer nullableend_at integer nullablemax_extent_at integer nullableduration_days integer nullableline_items array (default: [])@type string (default: "SercopItem")id string requireddescription string nullablequantity number nullableunit object nullable (see schema SercopUnit)classification object nullable (see schema SercopClassification)additional_classifications array (default: [])lot_id string nullablevalue_breakdown array (default: [])contracts array (default: [])@type string (default: "SercopContract")id string requiredaward_id string nullablestatus string nullablesigned_at integer nullablevalue object nullable@type string (default: "SercopValue")amount number nullablecurrency string nullableperiod object nullable@type string (default: "SercopPeriod")start_at integer nullableend_at integer nullablemax_extent_at integer nullableduration_days integer nullableauctions array (default: [])@type string (default: "SercopAuction")id string requiredstatus string nullableperiod object nullable@type string (default: "SercopPeriod")start_at integer nullableend_at integer nullablemax_extent_at integer nullableduration_days integer nullablestages array (default: [])@type string (default: "SercopAuctionStage")id string requiredrounds array (default: [])bids array (default: [])winning_bids array (default: [])@type string (default: "SercopAuctionBid")id string requiredbid_at integer nullablevalue object nullable (see schema SercopValue)tenderers array (default: [])round_id string nullablebid_statistics array (default: [])@type string (default: "SercopBidStatistic")id string requiredmeasure string nullablevalue number nullablenotes string nullablemeasured_at integer nullablerelated_processes array (default: [])@type string (default: "SercopRelatedProcess")id string requiredscheme string nullableidentifier string nullablerelationships array (default: [])parties array (default: [])@type string (default: "SercopParty")id string requiredname string nullableroles array (default: [])identifier object nullable@type string (default: "SercopIdentifier")scheme string nullableid string nullablelegal_name string nullableaddress object nullable@type string (default: "SercopAddress")street string nullablelocality string nullableregion string nullablepostal_code string nullablecountry_name string nullablecontact object nullable@type string (default: "SercopContact")name string nullableurl string nullable422 — The ocid does not start with ocds-5wno2w- 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 process under that ocid 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.