POST /api/nocopo/tenders
Price: 1 credit
One Nigerian federal procurement record by ocid as its OCDS release: the planning budget and milestones, the tender with its periods, method, criteria and items, the awards with their suppliers and values, the signed contracts with their implementation payments and milestones, and the parties.
`stage` is the furthest step the record has reached (`planning`, `tender`, `award`, `contract` or `implementation`) and `tags` lists every step; a planning-only record has no `title` from the tender, so it falls back to the budget's project name. `suppliers` is the union of `awards[].suppliers` and is empty before an award. An implementation-stage record carries its payments and delivery milestones under `contracts[].implementation`. Take `ocid` from a nocopo/tenders/search row; the ocid is case-insensitive.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)id string required — Record ocid as published on nocopo.bpp.gov.ng (examples: "ocds-gyl66f-535015001-000085", "ocds-gyl66f-116001001-000212"; minLength: 1)@type string (default: "NocopoTender")ocid string requiredrelease_id string requireddescription string nullablestatus string nullablestage string nullabletags array (default: [])buyer object nullable@type string (default: "NocopoOrganization")id string nullablename string nullableprocuring_entity object nullable@type string (default: "NocopoOrganization")id string nullablename string nullablesuppliers array (default: [])@type string (default: "NocopoOrganization")id string nullablename string nullablevalue object nullable@type string (default: "NocopoValue")amount number nullablecurrency string nullablemin_value object nullable@type string (default: "NocopoValue")amount number nullablecurrency string nullablepublished_at integer nullabledeadline_at integer nullableawarded_at integer nullablecountry string (default: "NG")url string requiredinitiation_type string nullablelanguage string nullableprocurement_method string nullableprocurement_method_details string nullableprocurement_method_rationale string nullablenumber_of_tenderers integer nullablesubmission_methods array (default: [])submission_method_details string nullableaward_criteria string nullableaward_criteria_details string nullableeligibility_criteria string nullablehas_enquiries boolean nullabletender_period object nullable@type string (default: "NocopoPeriod")start_at integer nullableend_at integer nullableduration_days integer nullableenquiry_period object nullable@type string (default: "NocopoPeriod")start_at integer nullableend_at integer nullableduration_days integer nullableaward_period object nullable@type string (default: "NocopoPeriod")start_at integer nullableend_at integer nullableduration_days integer nullablecontract_period object nullable@type string (default: "NocopoPeriod")start_at integer nullableend_at integer nullableduration_days integer nullableline_items array (default: [])@type string (default: "NocopoItem")id string requireddescription string nullablequantity number nullabletender_milestones array (default: [])@type string (default: "NocopoMilestone")id string requireddescription string nullablecode string nullablemilestone_type string nullablestatus string nullabledue_at integer nullablemet_at integer nullablebudget object nullable@type string (default: "NocopoBudget")id string nullableproject string nullableproject_id string nullabledescription string nullableamount object nullable@type string (default: "NocopoValue")amount number nullablecurrency string nullablerationale string nullableplanning_milestones array (default: [])@type string (default: "NocopoMilestone")id string requireddescription string nullablecode string nullablemilestone_type string nullablestatus string nullabledue_at integer nullablemet_at integer nullableawards array (default: [])@type string (default: "NocopoAward")id string requireddescription string nullablestatus string nullableawarded_at integer nullablevalue object nullable@type string (default: "NocopoValue")amount number nullablecurrency string nullablesuppliers array (default: [])@type string (default: "NocopoOrganization")id string nullablename string nullablecontract_period object nullable@type string (default: "NocopoPeriod")start_at integer nullableend_at integer nullableduration_days integer nullablecontracts array (default: [])@type string (default: "NocopoContract")id string requiredaward_id string nullabledescription string nullablestatus string nullablesigned_at integer nullablevalue object nullable@type string (default: "NocopoValue")amount number nullablecurrency string nullableperiod object nullable@type string (default: "NocopoPeriod")start_at integer nullableend_at integer nullableduration_days integer nullableline_items array (default: [])@type string (default: "NocopoItem")id string requireddescription string nullablequantity number nullablemilestones array (default: [])@type string (default: "NocopoMilestone")id string requireddescription string nullablecode string nullablemilestone_type string nullablestatus string nullabledue_at integer nullablemet_at integer nullableimplementation object nullable@type string (default: "NocopoImplementation")transactions array (default: [])milestones array (default: [])parties array (default: [])@type string (default: "NocopoParty")id string requiredname string nullableroles array (default: [])identifier object nullable@type string (default: "NocopoIdentifier")scheme string nullableid string nullablelegal_name string nullableaddress object nullable@type string (default: "NocopoAddress")street_address string nullablelocality string nullableregion string nullablepostal_code string nullablecountry_name string nullablecontact_point object nullable@type string (default: "NocopoContactPoint")name string nullableemail string nullabletelephone string nullablefax_number string nullable422 — The id is not a four-segment ocds-gyl66f ocid 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 published record under that ocid 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.