POST /api/austender/tenders
Price: 5 credits
Get one AusTender contract notice by its CN id as its OCDS releases — the original contract and one release per amendment — each with the agency, the supplier with ABN and address, the value, the contract period, the UNSPSC classification, the procurement method and any limited-tender exemption.
A bare CN id returns every release of the notice, newest last, so the last row is the current state of an amended contract; an amendment id such as CN4072539-A2 returns that amendment alone. The url of a row is the notice page on tenders.gov.au, which itself is not an accepted input.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)tender string required — Contract notice id (examples: "CN4277773", "CN4072539-A2"; minLength: 1)@type string (default: "AustenderTender")id string requirednotice_id string requiredamendment_id string nullablerelease_id string requiredocid string requiredtags array (default: [])status string nullablebuyer object nullable@type string (default: "AustenderParty")id string requiredname string nullableroles array (default: [])abn string nullableidentifiers array (default: [])@type string (default: "AustenderIdentifier")scheme string nullableid string nullableaddress object nullable@type string (default: "AustenderAddress")street string nullablelocality string nullableregion string nullablepostal_code string nullablecountry_name string nullablecontact object nullable@type string (default: "AustenderContact")name string nullableemail string nullabletelephone string nullablebranch string nullabledivision string nullablesuppliers array (default: [])@type string (default: "AustenderParty")id string requiredname string nullableroles array (default: [])abn string nullableidentifiers array (default: [])@type string (default: "AustenderIdentifier")scheme string nullableid string nullableaddress object nullable@type string (default: "AustenderAddress")street string nullablelocality string nullableregion string nullablepostal_code string nullablecountry_name string nullablecontact object nullable@type string (default: "AustenderContact")name string nullableemail string nullabletelephone string nullablebranch string nullabledivision string nullablevalue object nullable@type string (default: "AustenderValue")amount number nullablecurrency string nullabledates object nullable@type string (default: "AustenderDates")published_at integer nullableawarded_at integer nullablesigned_at integer nullablestart_at integer nullableend_at integer nullablecategory object nullable@type string (default: "AustenderClassification")scheme string nullablecode string requiredprocurement object nullable@type string (default: "AustenderProcurement")tender_id string nullablemethod string nullablemethod_details string nullablelimited_tender_exempt string nullablelimited_tender_reason_code string nullablelimited_tender_reason string nullableexemption_code string nullableexemption string nullableawards array (default: [])@type string (default: "AustenderAward")id string requiredstatus string nullableawarded_at integer nullablesuppliers array (default: [])@type string (default: "AustenderPartyRef")id string nullablename string nullablecontracts array (default: [])@type string (default: "AustenderContract")id string requiredaward_id string nullableagency_reference_id string nullabledescription string nullablestatus string nullablesigned_at integer nullableperiod object nullable@type string (default: "AustenderPeriod")start_at integer nullableend_at integer nullablevalue object nullable@type string (default: "AustenderValue")amount number nullablecurrency string nullableline_items array (default: [])@type string (default: "AustenderItem")id string requiredclassification object nullable (see schema AustenderClassification)amendments array (default: [])@type string (default: "AustenderAmendment")id string requiredrelease_id string nullableamends_release_id string nullableparties array (default: [])@type string (default: "AustenderParty")id string requiredname string nullableroles array (default: [])abn string nullableidentifiers array (default: [])@type string (default: "AustenderIdentifier")scheme string nullableid string nullableaddress object nullable@type string (default: "AustenderAddress")street string nullablelocality string nullableregion string nullablepostal_code string nullablecountry_name string nullablecontact object nullable@type string (default: "AustenderContact")name string nullableemail string nullabletelephone string nullablebranch string nullabledivision string nullablelanguage string nullableinitiation_type string nullablecountry string (default: "AU")url 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 — The OCDS API holds no release for this id or amendment number — the notice can still exist on AusTender itself; open the row's url from austender/tenders/search to check 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.