{"openapi":"3.1.0","info":{"title":"Tender feed API (agents and developers)","version":"1","description":"tenders_api: cleaned public notices with provenance on every row. Geomaf is a third-party republisher of public notices. Each row names its source and the source's licence; the data is provided as is. Check the source before you act on a row. Monthly plan: USD 29, 5000 calls a month, up to 500 rows a call."},"servers":[{"url":"https://app.geomaf.com"}],"security":[{"bearer":[]},{"apiKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer"},"apiKey":{"type":"apiKey","in":"header","name":"X-API-Key"}},"schemas":{"Row":{"type":"object","properties":{"id":{"type":"string","description":"source key and the source's own id"},"title":{"type":"string"},"summary":{"type":"string","description":"two plain lines, or the first 300 characters of the notice"},"url":{"type":"string","format":"uri"},"country":{"type":"string"},"category":{"type":"string"},"published_at":{"type":["string","null"],"format":"date-time"},"deadline_at":{"type":["string","null"],"format":"date-time"},"facts":{"type":"object","description":"deadline, value, eligibility, lots, location when read"},"score":{"type":"number"},"reason":{"type":"string"},"source":{"type":"string"},"source_name":{"type":"string"},"source_url":{"type":"string","format":"uri"},"retrieved_at":{"type":"string","format":"date-time","description":"when Geomaf fetched it from the source"},"licence":{"type":"string"},"licence_url":{"type":"string","format":"uri"},"attribution":{"type":"string"}}}}},"paths":{"/api/edges/tenders_api/items":{"get":{"summary":"Rows matched to this feed, newest first","parameters":[{"name":"since","in":"query","schema":{"type":"string","format":"date-time"},"description":"ISO 8601; rows matched after this time"},{"name":"since_hours","in":"query","schema":{"type":"integer","default":72},"description":"used when since is not given"},{"name":"limit","in":"query","schema":{"type":"integer","default":100,"maximum":500}},{"name":"country","in":"query","schema":{"type":"string"},"description":"exact country name as the source gives it"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"edge":{"type":"string"},"count":{"type":"integer"},"retrieved_at":{"type":"string","format":"date-time"},"since":{"type":"string","format":"date-time"},"licence_note":{"type":"string"},"quota":{"type":"object","properties":{"month":{"type":"string"},"used":{"type":"integer"},"limit":{"type":["integer","null"]}}},"items":{"type":"array","items":{"$ref":"#/components/schemas/Row"}}}}}}},"401":{"description":"no key, or no such key"},"403":{"description":"key switched off, or no active plan on this feed"},"422":{"description":"bad parameter"},"429":{"description":"monthly quota reached"}}}},"/api/status":{"get":{"summary":"Feed status: last good run and newest row per source","security":[],"responses":{"200":{"description":"OK"}}}}}}