POST /api/kenyappip/tenders/search
Price: 20 credits
Search Kenyan public tenders on tenders.go.ke within one status bucket by keyword, tender reference, buyer, procurement method and category, financial year, publication and closing dates, addendum and AGPO reservation. Returns the full tender record per row.
`status` is mandatory and picks the bucket: `active` is the few hundred tenders still accepting bids, `closed` is the whole archive including awarded ones, `terminated` the cancelled processes. Awards live in the `contracts` list of a closed tender, or search them directly with kenyappip/contracts/search, which is also where supplier and amount filters are. `published` and `closing` take a year, a month or a day, never a range. `query` matches substrings, so a partial reference such as `KeNHA/3002` works.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)status string required — Which tenders to list (one of: "active", "closed", "terminated")query string nullable — Words matched against the title, tender reference, ocid, buyer name, procurement method and category (examples: "road maintenance", "KeNHA/3002/2026"; minLength: 1)tender_ref string nullable — Part of the tender reference number (examples: "NG-CDF"; minLength: 1)buyer string nullable — Part of the procuring entity name (examples: "Kenya Urban Roads Authority"; minLength: 1)buyer_id integer nullable — Procuring entity id as returned by kenyappip/buyers/search (examples: 5390; min: 1)method string nullable — Procurement method (one of: "open_tender", "request_for_proposals", "framework_agreements", "restricted_tendering", "direct_procurement", "request_for_quotations", "expression_of_interest", "prequalification", "disposal_of_assets")category string nullable — Procurement category (one of: "goods", "works", "non_consultancy_services", "consultancy_services", "disposal_of_assets")financial_year string nullable — Kenyan financial year (one of: "2015/2016", "2016/2017", "2018/2019", "2019/2020", "2020/2021", "2021/2022", "2022/2023", "2023/2024", "2024/2025", "2025/2026", "2026/2027")published string nullable — Publication year, month or day (examples: "2026", "2026-09", "2026-09-15")closing string nullable — Closing year, month or day (examples: "2026-10", "2026-09-22")addendum_only boolean — Keep only tenders that have had an addendum issued (default: false)reserved_only boolean — Keep only tenders reserved for AGPO groups (youth, women, persons with disabilities) (default: false)count integer required — Max number of tenders to return (min: 1; max: 1000)@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 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.