POST /api/guatecompras/tenders/search
Price: 20 credits
List Guatemalan public procurement processes published in one month, narrowed by day, status, procurement modality and buying entity or unit. Returns each process as its full OCDS release: buyer and parties, tender with items and documents, bids, awards and contracts.
`year` and `month` are required: one call covers one publication month, so a longer range is one call per month. There is no keyword filter. `buyer_id` takes a row's `buyer_unit_id` (`52-81`, one buying unit) or its part before the dash (`52`, every unit of that entity). Every row is the full process, so guatecompras/tenders is only needed to refresh one NOG later.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)year integer required — Year the process was published (examples: 2025; min: 2020)month integer required — Month the process was published (examples: 6; min: 1; max: 12)day integer nullable — Day of the month the process was published (examples: 15; min: 1; max: 31)status string nullable — Status of the process (one of: "open", "evaluation", "awarded", "discarded", "void", "auctioned", "selected", "suspended", "not_awarded")modality string nullable — Procurement modality (one of: "direct_electronic_offer", "direct_no_offer", "quotation", "public_tender", "open_contract", "exception", "article_54", "international_agreement", "public_auction", "imported_goods", "donation", "between_public_entities", "lease_by_quotation", "lease_by_tender", "real_estate", "single_supplier", "property_disposal")buyer_id string nullable — Buying entity or buying unit code (examples: "52", "52-81"; minLength: 1)sort string — Order by publication date (default: "oldest"; one of: "oldest", "newest")count integer required — Max number of processes to return (min: 1; max: 1000)@type string (default: "GuatecomprasTender")ocid string requirednog string requiredrelease_id string nullablestatus string nullablestatus_details string nullablestage string nullablebuyer object nullable@type string (default: "GuatecomprasPartyRef")id string nullablename string requiredbuyer_unit_id string nullableprocuring_entity object nullable@type string (default: "GuatecomprasPartyRef")id string nullablename string requiredsuppliers array (default: [])@type string (default: "GuatecomprasPartyRef")id string nullablename string requiredtenderers array (default: [])@type string (default: "GuatecomprasPartyRef")id string nullablename string requiredawarded_amount object nullable@type string (default: "GuatecomprasValue")amount number nullablecurrency string nullablepublished_at integer nullabledeadline_at integer nullableawarded_at integer nullableupdated_at integer nullableclassifications array (default: [])@type string (default: "GuatecomprasClassification")scheme string nullablecode string requiredcountry string (default: "GT")url string requiredtags array (default: [])initiation_type string nullablelanguage string nullableprocurement_method string nullableprocurement_method_details string nullablemain_procurement_category string nullableadditional_procurement_categories array (default: [])number_of_tenderers integer nullablesubmission_methods array (default: [])tender_period object nullable@type string (default: "GuatecomprasPeriod")start_at integer nullableend_at integer nullableline_items array (default: [])@type string (default: "GuatecomprasItem")id string requireddescription string nullableclassification object nullable@type string (default: "GuatecomprasClassification")scheme string nullablecode string requiredquantity number nullableunit string nullableattributes array (default: [])@type string (default: "GuatecomprasAttribute")id string requiredname string nullablevalue string nullabledocuments array (default: [])@type string (default: "GuatecomprasDocument")id string requireddocument_type string nullabledocument_type_details string nullableurl string nullablemime_type string nullablelanguage string nullablepublished_at integer nullablebids array (default: [])@type string (default: "GuatecomprasBid")id string requiredstatus string nullablebid_at integer nullablevalue object nullable@type string (default: "GuatecomprasValue")amount number nullablecurrency string nullabletenderers array (default: [])@type string (default: "GuatecomprasPartyRef")id string nullablename string requiredawards array (default: [])@type string (default: "GuatecomprasAward")id string requiredstatus string nullablestatus_details string nullableawarded_at integer nullablevalue object nullable@type string (default: "GuatecomprasValue")amount number nullablecurrency string nullablesuppliers array (default: [])@type string (default: "GuatecomprasPartyRef")id string nullablename string requiredcontracts array (default: [])@type string (default: "GuatecomprasContract")id string requiredaward_id string nullablecontract_number string nullablestatus string nullablestatus_details string nullablesigned_at integer nullableperiod object nullable@type string (default: "GuatecomprasPeriod")start_at integer nullableend_at integer nullablevalue object nullable@type string (default: "GuatecomprasValue")amount number nullablecurrency string nullabledocuments array (default: [])@type string (default: "GuatecomprasDocument")id string requireddocument_type string nullabledocument_type_details string nullableurl string nullablemime_type string nullablelanguage string nullablepublished_at integer nullableparties array (default: [])@type string (default: "GuatecomprasParty")id string requiredname string nullableroles array (default: [])identifier object nullable@type string (default: "GuatecomprasIdentifier")scheme string nullableid string nullableaddress object nullable@type string (default: "GuatecomprasAddress")street string nullablelocality string nullableregion string nullablecountry_name string nullablecontact object nullable@type string (default: "GuatecomprasContact")name string nullableemail string nullabletelephone string nullablefax string nullableadditional_contacts array (default: [])@type string (default: "GuatecomprasContact")name string nullableemail string nullabletelephone string nullablefax string nullablesector object nullable@type string (default: "GuatecomprasCode")id string requireddescription string nullableentity_group object nullable@type string (default: "GuatecomprasCode")id string requireddescription string nullableentity_level object nullable@type string (default: "GuatecomprasCode")id string requireddescription string nullablelegal_form object nullable@type string (default: "GuatecomprasCode")id string requireddescription string nullablemember_of array (default: [])@type string (default: "GuatecomprasPartyRef")id string nullablename 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 — The entity was not found, or a precondition failed 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.