{"openapi":"3.1.0","info":{"title":"SalesSignals award API","version":"1.0.0","description":"UK public sector software and IT contract awards from Contracts Finder and Find a Tender, merged and deduplicated. Free without a key: the first 5 rows of each search, 30 calls an hour. An API key (£29 a month, https://salessignals.io/api#buy) returns every match, up to 100 rows per call with paging, 120 calls a minute. Contains public sector information licensed under the Open Government Licence v3.0.","contact":{"email":"hello@salessignals.io","url":"https://salessignals.io/api"}},"servers":[{"url":"https://salessignals.io"}],"security":[{},{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"ss_live_… key from https://salessignals.io/api#buy"}},"schemas":{"Award":{"type":"object","properties":{"src":{"type":"string","description":"Where the notice came from: cf (Contracts Finder) or fts (Find a Tender).","enum":["cf","fts"]},"sector":{"type":"string","description":"nhs, mod or other, from the buyer name.","enum":["nhs","mod","other"]},"buyer":{"type":"string","description":"The public body that made the award, as published."},"title":{"type":"string","description":"Notice title, as published."},"suppliers":{"type":"array","items":{"type":"string"},"description":"Every supplier named on the award, as published."},"value":{"type":["number","null"],"description":"Award value in pounds as published; null if the notice gives none. A framework award shared by several suppliers carries one value for all of them."},"published":{"type":"string","description":"Date the award notice was published, YYYY-MM-DD.","format":"date"},"ends":{"type":["string","null"],"format":"date","description":"Contract end date from the notice, YYYY-MM-DD; null if the notice gives none."},"cpv":{"type":"string","description":"Main CPV code, e.g. 72000000 (IT services)."},"framework":{"type":["string","null"],"description":"Framework named in the notice text, e.g. G-Cloud 14; null if none recognised."},"route":{"type":["string","null"],"description":"Procurement route as published, e.g. Call-off from a framework agreement."},"url":{"type":["string","null"],"description":"Link to the official notice."}}},"AwardList":{"type":"object","properties":{"total":{"type":"integer","description":"Every match, with or without a key."},"total_value_gbp":{"type":"number","description":"Sum of stated values across every match."},"returned":{"type":"integer"},"results":{"type":"array","items":{"$ref":"#/components/schemas/Award"}},"note":{"type":"string","description":"Present without a key: free use returns the first 5 matches and no paging."}}},"Error":{"type":"object","properties":{"error":{"type":"string"}}}}},"paths":{"/api/v1/awards":{"get":{"operationId":"searchAwards","summary":"Search awards. Every filter is optional and they combine.","parameters":[{"name":"q","in":"query","required":false,"description":"Words that must all appear in the title or buyer.","schema":{"type":"string"}},{"name":"buyer","in":"query","required":false,"description":"Part of a buyer name; ignores Ltd, Limited, case and punctuation.","schema":{"type":"string"}},{"name":"supplier","in":"query","required":false,"description":"Part of a supplier name; matched the same way.","schema":{"type":"string"}},{"name":"sector","in":"query","required":false,"description":"nhs, mod or other.","schema":{"type":"string","enum":["nhs","mod","other"]}},{"name":"ends_from","in":"query","required":false,"description":"Contract ends on or after, YYYY-MM-DD. Leaves out awards with no end date.","schema":{"type":"string","format":"date"}},{"name":"ends_to","in":"query","required":false,"description":"Contract ends on or before, YYYY-MM-DD.","schema":{"type":"string","format":"date"}},{"name":"published_from","in":"query","required":false,"description":"Notice published on or after, YYYY-MM-DD.","schema":{"type":"string","format":"date"}},{"name":"published_to","in":"query","required":false,"description":"Notice published on or before, YYYY-MM-DD.","schema":{"type":"string","format":"date"}},{"name":"min_value","in":"query","required":false,"description":"Minimum value in pounds. Leaves out awards with no value.","schema":{"type":"number"}},{"name":"max_value","in":"query","required":false,"description":"Maximum value in pounds.","schema":{"type":"number"}},{"name":"framework","in":"query","required":false,"description":"Part of a framework name, e.g. G-Cloud 14.","schema":{"type":"string"}},{"name":"sort","in":"query","required":false,"description":"published (newest first), ends (soonest first) or value (largest first).","schema":{"type":"string","enum":["published","ends","value"],"default":"published"}},{"name":"limit","in":"query","required":false,"description":"Rows per call, 1 to 100. Without a key only the first 5 are returned.","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"offset","in":"query","required":false,"description":"Rows to skip, for paging. Needs a key.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Matching awards","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AwardList"}}}},"400":{"description":"Bad parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Key not active"},"429":{"description":"Too many calls"}}}},"/api/v1/supplier":{"get":{"operationId":"supplierHistory","summary":"A supplier's awards: count, total value, top buyers, what ends next, latest awards.","parameters":[{"name":"name","in":"query","required":true,"schema":{"type":"string"},"description":"Part of the supplier name."},{"name":"limit","in":"query","required":false,"description":"Rows per call, 1 to 100. Without a key only the first 5 are returned.","schema":{"type":"integer","minimum":1,"maximum":100,"default":10}}],"responses":{"200":{"description":"Supplier history"},"400":{"description":"Bad parameter"}}}},"/api/v1/buyer":{"get":{"operationId":"buyerHistory","summary":"A public body's awards: count, total value, top suppliers, what ends next, latest awards.","parameters":[{"name":"name","in":"query","required":true,"schema":{"type":"string"},"description":"Part of the buyer name."},{"name":"limit","in":"query","required":false,"description":"Rows per call, 1 to 100. Without a key only the first 5 are returned.","schema":{"type":"integer","minimum":1,"maximum":100,"default":10}}],"responses":{"200":{"description":"Buyer history"},"400":{"description":"Bad parameter"}}}},"/api/v1/coverage":{"get":{"operationId":"coverage","summary":"Date range, counts, how many awards give an end date or value, sources and licence.","responses":{"200":{"description":"Coverage"}}}}}}