POST /api/comprar/tenders
Price: 20 credits
One Argentine federal procurement process from COMPR.AR or CONTRAT.AR by process number or page URL: basic information and legal basis, schedule, spending requests, line items, requirements, guarantees, annexes, circulars, administrative acts, opening and evaluation reports, invited suppliers, auction lots, and the purchase orders with supplier CUIT, status and amount.
A process number is unique within one portal only, so pass the `portal` a comprar/tenders/search row came from; a page URL carries its own portal. `purchase_orders` are the awards, and `awarded_amount` is their sum when they share one currency. `url` is the permanent page of the process.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)number string required — Process number or the process page URL (examples: "14-0377-CDI20", "14/2-0158-CDI23", "https://comprar.gob.ar/PLIEGO/VistaPreviaPliegoCiudadano.aspx?qs=BQoBkoMoEhwazr4iyjhwFY98L/riDAj1T|CLipKWk2Wl4Hx9bn78ZhU3l7GdfgKawpDFKisy5o2ftW01excgfIILrDrFcmcJAzh2TUqRC2U4xKWUdkXI/w=="; minLength: 1)portal string — Portal the process number belongs to (default: "comprar"; one of: "comprar", "contratar")@type string (default: "ComprarTender")number string requiredportal string requiredfile_number string nullablename string nullablepurpose string nullablebuying_unit_code string nullablebuying_unit string nullableprocedure string nullablesubmodality string nullablephases string nullablemodality string nullablescope string nullablecurrency string nullablelegal_basis string nullablelegal_clause string nullablecontract_document_type string nullablequote_quantity_rule string nullablequote_line_rule string nullableaward_quantity_rule string nullableaward_line_rule string nullablecontracting_systems array (default: [])delivery_place string nullableoffer_validity string nullablerequires_payment boolean nullablegenerates_revenue boolean nullablerevenue_via string nullablegoods_type string nullablehas_external_financing boolean nullableaccepts_extension boolean nullablehas_offer_improvement boolean nullableadvance_payment_percent number nullablerequires_repair_fund boolean nullablerepair_fund_percent number nullableallows_repair_fund_substitution boolean nullablepublished_at integer nullableofficial_published_at integer nullablepublication_days integer nullableenquiries_start_at integer nullableenquiries_end_at integer nullabledocuments_start_at integer nullabledocuments_end_at integer nullableopening_at integer nullablenext_openings array (default: [])@type string (default: "ComprarOpening")opening_at integer nullablebulletin_published_date string nullablepublication_days integer nullablemedia_notices array (default: [])@type string (default: "ComprarMediaNotice")medium string requiredpublished_date string nullablepublication_days integer nullablecontract_start string nullablecontract_duration string nullablecontract_start_act string nullablecontract_currency string nullablecontract_notes string nullableparticipants_count integer nullableconfirmed_offers_count integer nullablebid_guarantee string nullableperformance_guarantee string nullablechallenge_guarantee string nullableother_guarantees array (default: [])penalties array (default: [])requirements array (default: [])@type string (default: "ComprarRequirement")kind string requireddescription string requireddocument_type string nullablespending_requests array (default: [])@type string (default: "ComprarSpendingRequest")number string requiredstatus string nullablebuying_unit string nullablecategory string nullableurgency string nullablecreated_date string nullableline_items array (default: [])@type string (default: "ComprarLineItem")line_number string requiredexpense_object string nullableitem_code string nullabledescription string nullablework_front string nullablequantity number nullableunit string nullablesubtotal number nullablegeneral_conditions array (default: [])@type string (default: "ComprarGeneralConditions")name string requiredapproval string nullablecreated_date string nullableclauses array (default: [])@type string (default: "ComprarAct")document string requiredgde_number string nullablespecial_number string nullablelinked_date string nullableadministrative_acts array (default: [])@type string (default: "ComprarAct")document string requiredgde_number string nullablespecial_number string nullablelinked_date string nullableannexes array (default: [])@type string (default: "ComprarAnnex")name string requiredannex_type string nullabledescription string nullablecirculars array (default: [])@type string (default: "ComprarCircular")number string requiredpublished_date string nullablecircular_type string nullableopening_acts array (default: [])@type string (default: "ComprarReport")document string requiredcreated_date string nullablestatus string nullablejustification string nullablepreselection_reports array (default: [])@type string (default: "ComprarReport")document string requiredcreated_date string nullablestatus string nullablejustification string nullableevaluation_reports array (default: [])@type string (default: "ComprarReport")document string requiredcreated_date string nullablestatus string nullablejustification string nullableinvited_suppliers array (default: [])@type string (default: "ComprarSupplier")name string requiredcuit string nullablepurchase_orders array (default: [])@type string (default: "ComprarPurchaseOrder")number string requiredsupplier_name string nullablesupplier_cuit string nullableorder_type string nullablestatus string nullableperfected_date string nullableamount number nullablecurrency string nullableawarded_amount number nullableauction object nullable@type string (default: "ComprarAuction")coordinator string nullableinitial_duration string nullableextension_time string nullablelots array (default: [])@type string (default: "ComprarAuctionLot")number string requiredname string nullablebase_price number nullableminimum_increment number nullablecurrency string nullablestarts_at integer nullableversions array (default: [])@type string (default: "ComprarVersion")version string requiredpublished_date string nullablestatus string nullablecountry string (default: "AR")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 process under that number on that portal 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.