POST /api/eopbg/tenders/search
Price: 20 credits
Search tenders on Bulgaria's EOP e-procurement system — every procedure of Bulgarian contracting authorities since 2020, below-threshold ones included — by subject, buyer name or EIK, contracted supplier name or EIK, status, contract type, procedure, CPV, NUTS region, EU funding, year and publication date, with the national unique number, buyer, estimated value, deadlines, lot and offer counts and the green/social/EU-funding flags of each tender. Newest publications first.
Filters combine with AND; supplier_registry_number takes a company EIK as eopbg/suppliers/search returns it. status archived selects archived tenders, whose rows keep their final status such as awarded or cancelled; complex marks multi-lot tenders. Pass the id of a row to eopbg/tenders for lots, offers, contracts, notices and appeals.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)count integer required — Max number of results (min: 1; max: 5000)keyword string nullable — Words in the tender subject (examples: "гориво"; minLength: 1)buyer_name string nullable — Words in the contracting authority name (examples: "община"; minLength: 1)buyer_registry_number string nullable — Contracting authority EIK/BULSTAT (examples: "000193371")buyer_batch_number string nullable — Contracting authority register number (examples: "00160")supplier_name string nullable — Words in a contracted supplier name (examples: "ПЕТРОЛ"; minLength: 3)supplier_registry_number string nullable — Contracted supplier EIK/BULSTAT (examples: "831496285")status string nullable — Tender status (one of: "open", "closed", "cancelled", "awarded", "paused", "complex", "archived")contract_type string nullable — Nature of the contract (one of: "services", "supplies", "works")procedure_type string nullable — Procurement procedure (one of: "private", "open_procedure", "restricted_procedure", "competitive_procedure_with_negotiation", "negotiated_procedure_with_prior_call_for_competition", "competitive_dialogue", "innovation_partnership", "accelerated_restricted", "negotiated_procedure", "accelerated_negotiated", "design_contest", "public_competition", "direct_negotiation", "collecting_offers_with_notice", "invitation_to_specific_economic_operators", "mini_competition_within_fa", "qualification_system", "dynamic_purchasing_system", "market_research", "restricted_procedure_under_qs", "restricted_procedure_under_dps", "negotiated_with_prior_invitation_for_participation_under_qs", "collect_request", "restricted_design_contest")cpv string nullable — Main CPV code (examples: "09100000")nuts string nullable — Place-of-performance NUTS code (examples: "BG411")eu_funded boolean nullable — Only tenders with or without EU fundingyear integer nullable — Year the tender was created (examples: 2025; min: 2000; max: 2100)published_from string nullable — Earliest publication date, inclusive (examples: "2026-06-01")published_to string nullable — Latest publication date, inclusive (examples: "2026-08-31")@type string (default: "EopbgTenderSummary")id string requiredspecial_number string nullablepublished_tender_id string nullableguid string nullabledescription string nullablestatus string nullablestage string nullableparticipation string nullableprocedure_type string nullablecontract_type string nullabletechnique string nullableaward_criterion string nullablebuyer object nullable@type string (default: "EopbgBuyer")id string nullablename string requiredregistry_number string nullableimage string nullablevalue object nullable@type string (default: "EopbgValue")amount number nullableamount_min number nullableamount_max number nullablecurrency string nullablecpv array (default: [])dates object nullable@type string (default: "EopbgTenderDates")published_at integer nullabledeadline_at integer nullableoffers_deadline_at integer nullableoffers_start_at integer nullableopening_at integer nullableprice_opening_at integer nullablestatus_changed_at integer nullablelots_count integer nullableoffers_count integer nullableparent_tender_id string nullableparent_special_number string nullablechild_tenders array (default: [])linked_tenders array (default: [])eu_programme_codes array (default: [])eu_programme_text string nullableappeal_urls array (default: [])flags object nullable@type string (default: "EopbgFlags")is_eco boolean nullableis_social boolean nullableis_innovative boolean nullableis_strategic boolean nullableis_joint_procurement boolean nullableis_complained_about boolean nullablehas_preliminary_control boolean nullablehas_eu_programme boolean nullableis_eu_funded boolean nullablehas_green_criteria boolean nullablehas_protected_jobs boolean nullablehas_strategic_requirements boolean nullableis_security_and_defense boolean nullableis_social_service boolean nullablehas_appeal_proceedings boolean nullablecountry string (default: "BG")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 — 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.