POST /api/twpcc/awards
Price: 25 credits
One Taiwan government procurement award or non-award notice by id or URL: the agency, case number and name, the linked tender id, methods, budget and total award, award and notice dates, contract number, every bidder with supplier code, address, award flag, amount and staffing, each awarded item with its winning and losing bidders, the evaluation committee, labelled notice sections and history.
Takes the `id` of a twpcc/awards/search row or the notice URL. `is_awarded` is false for a notice that the procurement could not be awarded, with `non_award_reason`. `tender_id` goes to twpcc/tenders and a bidder's `supplier_id` to twpcc/suppliers. On a notice too large to list in full on one page (such as a common supply contract with hundreds of bidders and thousands of items), each bidder carries only its supplier code, name and award flag, and each line item its number and name without its bidders.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)id string required — Award or non-award notice id or URL (examples: "71290736", "https://web.pcc.gov.tw/tps/atm/AtmAwardWithoutSso/QueryAtmAwardDetail?pkAtmMain=NzEyOTA3MzY="; minLength: 1)@type string (default: "TwpccAward")id string requiredurl string requiredis_awarded boolean requiredcase_number string nullabletender_id string nullableorg_id string nullableorg_name string nullableunit_name string nullableorg_address string nullablecontact_name string nullablecontact_phone string nullablecontact_fax string nullabletender_method string nullableaward_method string nullablecategory string nullableamount_tier string nullablebudget_amount number nullabletotal_awarded_amount number nullablecurrency string nullabletransmission_number string nullablenotice_number string nullableopening_at integer nullableoriginal_announced_date string nullableawarded_date string nullableannounced_date string nullablecontract_number string nullablenon_award_reason string nullablebidder_count integer nullablebidders array (default: [])@type string (default: "TwpccBidder")supplier_id string nullablename string nullablename_en string nullableis_winner boolean nullableorganization_type string nullableindustry string nullableaddress string nullableaddress_en string nullablephone string nullableawarded_amount number nullablecountry string nullableis_sme boolean nullablesme_subcontract_amount number nullableperformance_period string nullableemployee_count integer nullableindigenous_employee_count integer nullabledisabled_employee_count integer nullableother_fields array (default: [])@type string (default: "TwpccField")label string requiredvalue string nullableline_items array (default: [])@type string (default: "TwpccAwardItem")number integer requiredname string nullableawarded_amount number nullablebidders array (default: [])@type string (default: "TwpccItemBidder")is_winner boolean requiredname string nullableparticipated_in_evaluation boolean nullablerank_or_score string nullableestimated_quantity string nullableoriginal_bid_amount number nullableawarded_amount number nullablebid_amount number nullableis_qualified boolean nullablereason string nullableorigin string nullableorigins array (default: [])other_fields array (default: [])other_fields array (default: [])@type string (default: "TwpccField")label string requiredvalue string nullablecommittee array (default: [])@type string (default: "TwpccCommitteeMember")name string requiredattended boolean nullableoccupation string nullableexperience string nullablecorrections array (default: [])@type string (default: "TwpccCorrection")label string nullablevalue string nullableprevious_value string nullablesections array (default: [])@type string (default: "TwpccSection")name string nullablefields array (default: [])@type string (default: "TwpccField")label string requiredvalue string nullablehistory array (default: [])@type string (default: "TwpccHistoryEntry")kind string nullabletransmission_number string nullablecorrection_number string nullabledocuments_changed boolean nullableannounced_date string 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 — No award or non-award notice under that 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.