POST /api/goszakup/contracts/search
Price: 5 credits
Search Kazakhstan public procurement contracts on zakup.gov.kz by contract number, tender number, customer, supplier, status, procurement method, contract type, subject, procurement system, price and signature date. Returns the contract with its parties, price, status and dates.
Status and method values are the Russian labels the rows carry in `status.name` and `purchase_method.name`. Pass `id` to goszakup/contracts for the item list, acts of acceptance, payments and the contract files. One filter set reaches at most its first 10,000 rows.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)contract_number string nullable — Contract number (examples: "130740022071/260045/00"; minLength: 1)tender_number string nullable — Number of the tender the contract came from (examples: "1180344"; minLength: 1)customer_id integer nullable — Customer id, as in goszakup/organizations (examples: 118185; min: 0)supplier_id integer nullable — Supplier id, as in goszakup/organizations (examples: 10; min: 0)statuses array — Contract statuses, any of (default: []; one of: "Действует", "Дополнительное соглашение", "Заключен", "Изменен", "Исполнен", "На Утверждении", "На внутреннем согласовании", "На исполнении", "На подписании у Поставщика", "На подтверждении поставщиком", "На расторжении", "На согласовании", "Не заключен", "Не подтвержден поставщиком", "Ожидание расторжения договора", "Отказ в подписании", "Отказ от исполнения договора", "Передан.Действует", "Передан.Исполнен", "Передан.Не заключен", "Передан.Расторгнут в одностороннем порядке", "Передан.Расторгнут по соглашению сторон", "Передача прав", "Подписан", "Подтвержден поставщиком", "Приостановлен", "Расторгнут", "Расторгнут в одностороннем порядке", "Расторгнут по соглашению сторон", "Согласован", "Создано доп.соглашение", "Уклонение от заключения договора", "Утвержден", "Частично исполнен")purchase_methods array — Procurement methods, any of (default: []; one of: "Аукцион", "Аукцион (до 2022)", "Аукцион (не ГЗ)", "Аукцион (не ГЗ) с 2022 г", "Аукцион (с 2022)", "В рамках внутрихолдинговой кооперации", "Второй этап конкурса с использованием рамочного соглашения", "Государственные закупки с применением особого порядка", "Двухэтапный тендер", "Договор на услуги государственного образовательного заказа", "Закупка жилища", "Закупка по государственному социальному заказу", "Запрос ценовых предложений", "Запрос ценовых предложений (не ГЗ new)", "Запрос ценовых предложений на понижение", "Запрос ценовых предложений с ограниченным участием", "Из одного источника (не ГЗ)", "Из одного источника по несостоявшимся закупкам", "Из одного источника по несостоявшимся закупкам не ГЗ", "Из одного источника путем прямого заключения договора", "Из одного источника путем прямого заключения договора (не ГЗ)", "Из одного источника путем прямого заключения договора по питанию обучающихся", "Конкурс по приобретению товаров, связанных с обеспечением питания воспитанников и обучающихся", "Конкурс по приобретению услуг по организации питания воспитанников и обучающихся", "Конкурс по строительству «под ключ»", "Конкурс с использованием рейтингово-балльной системы", "Конкурс с предварительным квалификационным отбором", "Конкурс с применением двухэтапных процедур", "Конкурс с применением специального порядка", "Маркетинговые исследования", "На централизованных торгах электрической энергией", "Открытый конкурс", "Открытый тендер", "Открытый тендер на понижение", "Открытый тендер с ограниченным участием", "Первый этап конкурса с использованием рамочного соглашения", "Тендер", "Тендер по строительству «под ключ»", "Тендер путем проведения конкурентных переговоров", "Тендер с использованием рейтингово-балльной системы", "Тендер с применением особого порядка", "Через товарные биржи", "Электронный магазин", "Электронный магазин (не ГЗ)")contract_type string nullable — Main contract or an amendment to one (one of: "main", "amendment")subject string nullable — Subject of the purchase (one of: "goods", "works", "services")system string nullable — Procurement system the contract runs on (one of: "egz", "mitwork", "skk", "epz")min_price number nullable — Lowest price with VAT, KZT (examples: 1000000; min: 0)max_price number nullable — Highest price with VAT, KZT (examples: 50000000; min: 0)signed_from string nullable — Signed on or after (examples: "2026-09-01")signed_to string nullable — Signed on or before (examples: "2026-09-30")year integer nullable — Financial year (examples: 2026)offset integer — Rows to skip (default: 0; min: 0; max: 9999)count integer required — Max number of contracts to return (min: 1; max: 1000)@type string (default: "GoszakupContractSummary")id integer requirednumber string nullablesystem_number string nullabletender_number string nullabletender_name string nullablesystem object nullable@type string (default: "GoszakupRef")id integer nullablename string nullablename_kk string nullablestatus object nullable@type string (default: "GoszakupRef")id integer nullablename string nullablename_kk string nullablecontract_type object nullable@type string (default: "GoszakupRef")id integer nullablename string nullablename_kk string nullablepurchase_method object nullable@type string (default: "GoszakupRef")id integer nullablename string nullablename_kk string nullablepurchase_subject object nullable@type string (default: "GoszakupRef")id integer nullablename string nullablename_kk string nullablecustomer object nullable@type string (default: "GoszakupRef")id integer nullablename string nullablename_kk string nullablesupplier object nullable@type string (default: "GoszakupRef")id integer nullablename string nullablename_kk string nullableprice_with_vat number nullablesigned_at integer nullablestart_at integer nullablecreated_at integer nullableyears array (default: [])contract_form_id integer nullableyear_type_id integer nullableenstru_codes array (default: [])422 — A date is not YYYY-MM-DD, the price range is inverted, the year is unknown, or the portal rejected the filter combination 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.