POST /api/kenyappip/tenders
Price: 10 credits
Full record of one Kenyan public tender by portal id or ocid: buyer, procurement method and category, dates, fees, submission methods, tender documents, addenda, the opened bids with their scores and results, and the awarded contract with its supplier.
`status` is `active` while the closing time is ahead, `closed` after it, `terminated` when the buyer cancelled the process; an awarded tender is a closed one with a non-empty `contracts` list, and that is where the supplier and the contract amount live. `bidders` is filled only after the buyer publishes the opening minutes, and a `bid_amount` of 0 is a bid the buyer recorded without a price — it appears on Requests for Quotations as well as on Expressions of Interest, so it says nothing about `procurement_method`. Tender text is not published as a field: read `title` and the PDFs in `documents`.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)id string required — Tender id or ocid as shown on tenders.go.ke (examples: "306125", "ocds-5whusi-306125-TRCG/RFQ/CPSB/150/205-2026"; minLength: 1)@type string (default: "KenyappipTender")id integer requiredocid string nullabletender_ref string nullablestatus string requiredurl string requiredvenue string nullablepublished_at integer nullableclosing_at integer nullableopening_date string nullableevaluation_start_date string nullableevaluation_end_date string nullabletender_fee number nullablecurrency string (default: "KES")bid_security_percent number nullablebid_security_value number nullablevalidity_days integer nullableis_reserved boolean nullableis_terminated boolean nullableis_published boolean nullablehas_addendum boolean nullableprocurement_method string nullableprocurement_method_code string nullableprocurement_method_justification string nullableprocurement_category string nullableprocurement_category_code string nullablefinancial_year string nullablesubmission_methods array (default: [])agpo_groups array (default: [])bidder_categories array (default: [])framework_agreement_types array (default: [])buyer object nullable@type string (default: "KenyappipBuyer")id integer requiredcode string nullablename string requiredbuyer_type string nullablecounty string nullabletelephone string nullableemail string nullablephysical_address string nullablepostal_address string nullablecity string nullablewebsite string nullablestatus string nullablebranch string nullabledocuments array (default: [])@type string (default: "KenyappipDocument")id integer requiredurl string requireddocument_type string nullabledocument_type_code string nullabledocument_category string nullablecreated_at integer nullableaddenda array (default: [])@type string (default: "KenyappipAddendum")id integer requireddescription string nullableaddendum_date string nullablenew_closing_date string nullableextends_closing_date boolean nullabledocuments array (default: [])@type string (default: "KenyappipDocument")id integer requiredurl string requireddocument_type string nullabledocument_type_code string nullabledocument_category string nullablecreated_at integer nullablecreated_at integer nullablebidders array (default: [])@type string (default: "KenyappipBidder")id integer requiredname string nullablebidder_number string nullablesupplier_id integer nullablesupplier object nullable@type string (default: "KenyappipSupplier")id integer requiredname string requiredbusiness_registration_number string nullableregistration_status string nullablebusiness_type string nullabletelephone string nullableemail string nullablephysical_address string nullablepostal_address string nullabletown string nullablecounty string nullableregistered_date string nullablebid_amount number nullablebid_security number nullabletechnical_score number nullablefinancial_score number nullablefinal_score number nullablepreliminary_result string nullabletechnical_result string nullablefinancial_result string nullableopening_date string nullableis_shortlisted boolean nullablecontracts array (default: [])@type string (default: "KenyappipContract")id integer requiredcontract_number string nullableamount number nullablecurrency string (default: "KES")award_date string nullablenotification_of_award_date string nullableevaluation_completion_date string nullablesign_date string nullablestart_date string nullableend_date string nullableis_amended boolean nullableis_terminated boolean nullableis_published boolean nullableaward_reason_id integer nullableagpo_group string nullableagpo_certificate_number string nullablefinancial_year string nullablesupplier object nullable@type string (default: "KenyappipSupplier")id integer requiredname string requiredbusiness_registration_number string nullableregistration_status string nullablebusiness_type string nullabletelephone string nullableemail string nullablephysical_address string nullablepostal_address string nullabletown string nullablecounty string nullableregistered_date string nullablebuyer object nullable@type string (default: "KenyappipBuyer")id integer requiredcode string nullablename string requiredbuyer_type string nullablecounty string nullabletelephone string nullableemail string nullablephysical_address string nullablepostal_address string nullablecity string nullablewebsite string nullablestatus string nullabletender object nullable@type string (default: "KenyappipTenderSummary")id integer requiredocid string nullabletender_ref string nullablestatus string nullableprocurement_method string nullableprocurement_category string nullablepublished_at integer nullableclosing_at integer nullableurl string requiredtermination object nullable@type string (default: "KenyappipTermination")id integer requiredreason string nullabletermination_date string nullablecontract_amount number nullablecurrency string (default: "KES")completed_percent number nullablecost_of_termination number nullablecreated_at integer nullablevariation object nullable@type string (default: "KenyappipVariation")id integer requiredvariation_type string nullablevariation_date string nullableinitial_amount number nullablenew_amount number nullablecurrency string (default: "KES")percentage_variance number nullableinitial_period integer nullablenew_period integer nullableinitial_end_date string nullablenew_end_date string nullablesubmit_status string nullablesubmit_date string nullablereview_status string nullablecreated_at integer nullabledocuments array (default: [])@type string (default: "KenyappipDocument")id integer requiredurl string requireddocument_type string nullabledocument_type_code string nullabledocument_category string nullablecreated_at integer nullablecreated_at integer nullableupdated_at integer nullablecreated_at integer nullableupdated_at integer nullable422 — The id is neither a numeric portal id nor a portal ocid carrying one 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 exists under that portal id 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.