{"openapi":"3.1.0","info":{"title":"Farro Listings API","version":"1","description":"Read-only job listings for Farro, farro.im/jobs and the Design Job Board."},"servers":[{"url":"https://api.farro.im"}],"components":{"schemas":{"JobsPage":{"type":"object","properties":{"jobs":{"type":"array","items":{"$ref":"#/components/schemas/Job"}},"next_cursor":{"type":["string","null"]},"updated_at":{"type":["string","null"],"description":"When the collector last fetched a company successfully"}},"required":["jobs","next_cursor","updated_at"]},"Job":{"type":"object","properties":{"id":{"type":"string","example":"greenhouse:4f1c0a2e:7012345"},"title":{"type":"string"},"company":{"type":"string"},"location":{"type":["string","null"]},"workplace":{"type":"string","enum":["remote","hybrid","onsite","unknown"]},"seniority":{"type":["string","null"]},"salary":{"$ref":"#/components/schemas/Salary"},"excerpt":{"type":["string","null"]},"apply_url":{"type":"string"},"source":{"type":"string","enum":["greenhouse","lever","ashby","workable","workday","peopleforce","kula","bamboohr","breezy","manatal","icims","amazon"]},"posted_at":{"type":["string","null"],"description":"From the source, when it gives one"},"earlier_listings":{"type":"array","items":{"$ref":"#/components/schemas/EarlierListing"},"description":"When this job was listed before, newest first, with its title then. Empty when it wasn't."}},"required":["id","title","company","location","workplace","seniority","salary","excerpt","apply_url","source","posted_at","earlier_listings"]},"Salary":{"type":["object","null"],"properties":{"min":{"type":["number","null"]},"max":{"type":["number","null"]},"currency":{"type":["string","null"]},"period":{"type":["string","null"]}},"required":["min","max","currency","period"]},"EarlierListing":{"type":"object","properties":{"title":{"type":"string"},"posted_at":{"type":"string"}},"required":["title","posted_at"]},"Error":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]},"Meta":{"type":"object","properties":{"categories":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"count":{"type":"integer"}},"required":["name","count"]}},"regions":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"count":{"type":"integer"}},"required":["name","count"]}},"active_jobs":{"type":"integer"},"updated_at":{"type":["string","null"]}},"required":["categories","regions","active_jobs","updated_at"]},"Boards":{"type":"object","properties":{"boards":{"type":"array","items":{"$ref":"#/components/schemas/Board"}}},"required":["boards"]},"Board":{"type":"object","properties":{"company":{"type":"string","example":"BJAK"},"url":{"type":"string","example":"https://jobs.ashbyhq.com/bjakcareer","description":"The company's own job board"}},"required":["company","url"]}},"parameters":{}},"paths":{"/v1/jobs":{"get":{"summary":"Open job listings, newest first","parameters":[{"schema":{"type":"string","minLength":1,"maxLength":40,"example":"design"},"required":false,"name":"category","in":"query"},{"schema":{"type":"string","minLength":2,"maxLength":20,"default":"us","example":"us"},"required":false,"name":"region","in":"query"},{"schema":{"type":"string","enum":["remote","hybrid","onsite"]},"required":false,"name":"workplace","in":"query"},{"schema":{"type":"string","minLength":1,"maxLength":20,"example":"senior"},"required":false,"name":"seniority","in":"query"},{"schema":{"type":"integer","minimum":1,"maximum":90,"example":14,"description":"Days"},"required":false,"description":"Days","name":"posted_within","in":"query"},{"schema":{"type":"string","minLength":1,"maxLength":100,"example":"product","description":"Keyword over title and company"},"required":false,"description":"Keyword over title and company","name":"q","in":"query"},{"schema":{"type":"string","maxLength":200,"description":"Opaque. Pass next_cursor from the previous page."},"required":false,"description":"Opaque. Pass next_cursor from the previous page.","name":"cursor","in":"query"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":50},"required":false,"name":"limit","in":"query"}],"responses":{"200":{"description":"A page of listings","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobsPage"}}}},"400":{"description":"Invalid query","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"A Farro access token that has expired or doesn't verify. Send none, or get a new one (farro.im/auth.md). WWW-Authenticate names the Protected Resource Metadata","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests from one address. Retry-After gives the seconds to wait","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/meta":{"get":{"summary":"Categories, regions, listing counts and the last collector run","responses":{"200":{"description":"Feed metadata","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Meta"}}}},"401":{"description":"A Farro access token that has expired or doesn't verify. Send none, or get a new one (farro.im/auth.md). WWW-Authenticate names the Protected Resource Metadata","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests from one address. Retry-After gives the seconds to wait","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/boards":{"get":{"summary":"Companies shown as one card that links to their own board, with none of their jobs","responses":{"200":{"description":"The cards, by company name","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Boards"}}}},"401":{"description":"A Farro access token that has expired or doesn't verify. Send none, or get a new one (farro.im/auth.md). WWW-Authenticate names the Protected Resource Metadata","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests from one address. Retry-After gives the seconds to wait","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"webhooks":{}}