{"openapi":"3.0.3","info":{"title":"Tenders Electronic Daily API (ReefAPI)","version":"1.2.0","description":"Tenders Electronic Daily Call POST /ted/v1/{action} with an x-api-key header; every response is the { ok, data, meta, error } envelope.","contact":{"name":"ReefAPI","url":"https://reefapi.com/ted-api","email":"support@reefapi.com"},"license":{"name":"ReefAPI Terms","url":"https://reefapi.com/terms"},"termsOfService":"https://reefapi.com/terms"},"externalDocs":{"description":"Tenders Electronic Daily API documentation","url":"https://reefapi.com/docs/ted"},"servers":[{"url":"https://api.reefapi.com"}],"security":[{"ApiKeyAuth":[]}],"tags":[{"name":"ted","description":"Tenders Electronic Daily"}],"paths":{"/ted/v1/search":{"post":{"operationId":"ted_search","summary":"Search TED planning, competition, result and other notice forms.","description":"Search TED planning, competition, result and other notice forms.","tags":["ted"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"keywords":{"type":"string","example":"software","description":"Words or a phrase in the full notice text."},"buyer_country":{"type":"string","example":"ESP","description":"ISO alpha-3 buyer country."},"winner_country":{"type":"string","example":"DEU","description":"ISO alpha-3 winner country."},"performance_country":{"type":"string","example":"FRA","description":"Lot place of performance, ISO alpha-3."},"cpv":{"type":"string","example":"72000000","description":"TED common procurement vocabulary code."},"contract_nature":{"type":"string","example":"services","description":"TED contract nature."},"procedure_type":{"type":"string","example":"open","description":"TED procedure code."},"notice_type":{"type":"string","example":"can-standard","description":"TED notice type code."},"date_from":{"type":"string","example":"2026-10-20","description":"Inclusive publication date, YYYY-MM-DD."},"date_to":{"type":"string","example":"2026-10-20","description":"Inclusive publication date, YYYY-MM-DD."},"query":{"type":"string","example":"buyer-country IN (ESP DEU)","description":"Additional TED expert-search predicate, including grouped OR/IN conditions. Use sort separately."},"scope":{"type":"string","enum":["ALL","ACTIVE","LATEST"],"default":"ALL","description":"TED search scope."},"latest_only":{"type":"boolean","description":"Select the latest published version of each notice."},"sort":{"type":"string","enum":["number_desc","number_asc","date_desc","date_asc"],"default":"number_desc","description":"TED sort field and direction. Publication number is unique."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":25,"description":"Number of notices to request per page."},"page":{"type":"integer","minimum":1,"default":1,"description":"One-based page in the 15,000-notice window."},"pagination":{"type":"string","enum":["page","iteration"],"default":"page","description":"Use iteration for a result beyond the page-number window."},"cursor":{"type":"string","description":"Continuation token from the preceding iteration with the same filters, sort and limit."}}},"example":{"notice_type":"cn-standard","limit":2}}}},"responses":{"200":{"description":"Result envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"401":{"description":"Missing or invalid x-api-key"},"429":{"description":"Rate limited or quota exhausted"}},"x-reefapi-credits":1}},"/ted/v1/award_search":{"post":{"operationId":"ted_award_search","summary":"Search result notices, including lots without a selected winner.","description":"Search result notices, including lots without a selected winner.","tags":["ted"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"keywords":{"type":"string","example":"software","description":"Words or a phrase in the full notice text."},"buyer_country":{"type":"string","example":"ESP","description":"ISO alpha-3 buyer country."},"winner_country":{"type":"string","example":"DEU","description":"ISO alpha-3 winner country."},"performance_country":{"type":"string","example":"FRA","description":"Lot place of performance, ISO alpha-3."},"cpv":{"type":"string","example":"72000000","description":"TED common procurement vocabulary code."},"contract_nature":{"type":"string","example":"services","description":"TED contract nature."},"procedure_type":{"type":"string","example":"open","description":"TED procedure code."},"notice_type":{"type":"string","example":"can-standard","description":"TED notice type code."},"date_from":{"type":"string","example":"2026-10-20","description":"Inclusive publication date, YYYY-MM-DD."},"date_to":{"type":"string","example":"2026-10-20","description":"Inclusive publication date, YYYY-MM-DD."},"query":{"type":"string","example":"buyer-country IN (ESP DEU)","description":"Additional TED expert-search predicate, including grouped OR/IN conditions. Use sort separately."},"scope":{"type":"string","enum":["ALL","ACTIVE","LATEST"],"default":"ALL","description":"TED search scope."},"latest_only":{"type":"boolean","description":"Select the latest published version of each notice."},"sort":{"type":"string","enum":["number_desc","number_asc","date_desc","date_asc"],"default":"number_desc","description":"TED sort field and direction. Publication number is unique."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":25,"description":"Number of notices to request per page."},"page":{"type":"integer","minimum":1,"default":1,"description":"One-based page in the 15,000-notice window."},"pagination":{"type":"string","enum":["page","iteration"],"default":"page","description":"Use iteration for a result beyond the page-number window."},"cursor":{"type":"string","description":"Continuation token from the preceding iteration with the same filters, sort and limit."}}},"example":{"buyer_country":"ESP","limit":2}}}},"responses":{"200":{"description":"Result envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"401":{"description":"Missing or invalid x-api-key"},"429":{"description":"Rate limited or quota exhausted"}},"x-reefapi-credits":1}},"/ted/v1/winners_by_company":{"post":{"operationId":"ted_winners_by_company","summary":"Find result notices matching a winning organisation's published name.","description":"Find result notices matching a winning organisation's published name.","tags":["ted"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"company":{"type":"string","example":"Oracle","description":"Search TED's winning-organisation name field."},"keywords":{"type":"string","example":"software","description":"Words or a phrase in the full notice text."},"buyer_country":{"type":"string","example":"ESP","description":"ISO alpha-3 buyer country."},"winner_country":{"type":"string","example":"DEU","description":"ISO alpha-3 winner country."},"performance_country":{"type":"string","example":"FRA","description":"Lot place of performance, ISO alpha-3."},"cpv":{"type":"string","example":"72000000","description":"TED common procurement vocabulary code."},"contract_nature":{"type":"string","example":"services","description":"TED contract nature."},"procedure_type":{"type":"string","example":"open","description":"TED procedure code."},"notice_type":{"type":"string","example":"can-standard","description":"TED notice type code."},"date_from":{"type":"string","example":"2026-10-20","description":"Inclusive publication date, YYYY-MM-DD."},"date_to":{"type":"string","example":"2026-10-20","description":"Inclusive publication date, YYYY-MM-DD."},"query":{"type":"string","example":"buyer-country IN (ESP DEU)","description":"Additional TED expert-search predicate, including grouped OR/IN conditions. Use sort separately."},"scope":{"type":"string","enum":["ALL","ACTIVE","LATEST"],"default":"ALL","description":"TED search scope."},"latest_only":{"type":"boolean","description":"Select the latest published version of each notice."},"sort":{"type":"string","enum":["number_desc","number_asc","date_desc","date_asc"],"default":"number_desc","description":"TED sort field and direction. Publication number is unique."},"limit":{"type":"integer","minimum":1,"maximum":250,"default":25,"description":"Number of notices to request per page."},"page":{"type":"integer","minimum":1,"default":1,"description":"One-based page in the 15,000-notice window."},"pagination":{"type":"string","enum":["page","iteration"],"default":"page","description":"Use iteration for a result beyond the page-number window."},"cursor":{"type":"string","description":"Continuation token from the preceding iteration with the same filters, sort and limit."}},"required":["company"]},"example":{"company":"Oracle","limit":2}}}},"responses":{"200":{"description":"Result envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"401":{"description":"Missing or invalid x-api-key"},"429":{"description":"Rate limited or quota exhausted"}},"x-reefapi-credits":1}},"/ted/v1/notice":{"post":{"operationId":"ted_notice","summary":"Retrieve every supported canonical indexed field for a single publication number.","description":"Retrieve every supported canonical indexed field for a single publication number.","tags":["ted"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"publication_number":{"type":"string","example":"722698-2026","description":"TED publication number including year."}},"required":["publication_number"]},"example":{"publication_number":"722698-2026"}}}},"responses":{"200":{"description":"Result envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"401":{"description":"Missing or invalid x-api-key"},"429":{"description":"Rate limited or quota exhausted"}},"x-reefapi-credits":1}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"Envelope":{"type":"object","required":["ok"],"properties":{"ok":{"type":"boolean"},"data":{"description":"Action result (shape varies per action)"},"meta":{"type":"object","description":"api, endpoint, mode, latency_ms, record_count, completeness_pct"},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"}}}}}}}}