{"openapi":"3.0.3","info":{"title":"Gnist Context — Public Procurement","description":"Public procurement — unified search across Doffin (Norwegian) and TED (EU/EEA) tender databases.\n\n- **MCP endpoint:** `https://context.gnist.ai/mcp/public-procurement/`\n- **Toolkit page:** `/toolkits/public-procurement`\n- **Full API spec:** `/api/openapi.json`\n- **Get an API key:** `/signup`","version":"1.0.0","contact":{"name":"GnistAI","url":"https://gnist.ai"}},"servers":[{"url":"https://context.gnist.ai","description":"Production"}],"paths":{"/rest/public-procurement/search_tenders":{"post":{"tags":["Government"],"summary":"search_tenders","description":"Search for public procurement tenders across Doffin (Norway) and TED (EU/EEA).\n\nResults are deduplicated when the same tender appears on both platforms.\nSorted by publication date (most recent first).\n\nExamples:\n    search_tenders(query=\"software development\")\n    search_tenders(query=\"construction\", country=\"NOR\", cpv_code=\"45000000\")\n    search_tenders(query=\"IT consulting\", published_after=\"2026-01-01\", max_results=10)","operationId":"public_procurement_search_tenders","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"query":{"description":"Search query — keywords, buyer name, or topic.","type":"string"},"max_results":{"default":20,"description":"Maximum number of results.","type":"integer"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"ISO 3166-1 alpha-3 country code (e.g. NOR, DEU, FRA). Omit for all countries."},"cpv_code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"CPV code to filter by sector (8 digits, e.g. 72000000 for IT)."},"published_after":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Only tenders published after this date (YYYY-MM-DD)."},"published_before":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Only tenders published before this date (YYYY-MM-DD)."}},"required":["query"],"type":"object"}}}}}},"/rest/public-procurement/get_tender":{"post":{"tags":["Government"],"summary":"get_tender","description":"Look up a specific procurement notice by ID across all sources.\n\nAccepts either a Doffin notice ID (e.g. '2026-105515') or a TED\npublication number (e.g. '555-2026'). If the tender exists on both\nplatforms, the results are merged into a single enriched record.\n\nExamples:\n    get_tender(notice_id=\"2026-105515\")\n    get_tender(notice_id=\"555-2026\")","operationId":"public_procurement_get_tender","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"notice_id":{"description":"Notice ID — Doffin format (YYYY-NNNNNN) or TED format (NNNN-YYYY).","type":"string"}},"required":["notice_id"],"type":"object"}}}}}},"/rest/public-procurement/list_procurement_sources":{"post":{"tags":["Government"],"summary":"list_procurement_sources","description":"List all registered procurement data sources and their status.\n\nShows which sources are available and whether they are currently enabled.\n\nExamples:\n    list_procurement_sources()","operationId":"public_procurement_list_procurement_sources","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}]}},"/rest/public-procurement/report_feedback":{"post":{"tags":["Government"],"summary":"report_feedback","description":"Report a bug, feature request, or general feedback for this data source.\n\nUse this when something doesn't work as expected, when you'd like\na new feature, or when you have suggestions for improvement.\n\nArgs:\n    feedback: Describe the issue or suggestion.\n    feedback_type: One of 'bug', 'feature_request', or 'general'.","operationId":"public_procurement_report_feedback","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"feedback":{"type":"string"},"feedback_type":{"default":"general","type":"string"}},"required":["feedback"],"type":"object"}}}}}}},"tags":[{"name":"Government","description":"Data sources: Government"}],"components":{"securitySchemes":{"ApiKeyHeader":{"type":"apiKey","in":"header","name":"gnist-api-key","description":"API key passed via request header."},"ApiKeyQuery":{"type":"apiKey","in":"query","name":"gnist_api_key","description":"API key passed via query parameter."}}}}