{"openapi":"3.1.0","info":{"title":"OpenRolesDB API","version":"1.0.0","description":"Open roles with the context of the company behind them: hiring momentum, stale risk, funding freshness, investors and tech stack. Funding data by Fundup AI. Companies are scraped about weekly; history starts 2026-05-09."},"servers":[{"url":"https://openrolesdb.com"}],"security":[{"bearer":[]}],"paths":{"/v1/jobs":{"get":{"summary":"Search open jobs","description":"Open roles, newest first, with filters on the role and on the company behind it. Free returns basic fields and a `note` on what Pro adds; Pro adds full context to every result (stale risk, momentum, funding, investors, stack, salary). For one role, `GET /v1/jobs/{id}` returns the full context on every plan.","x-plan":"free","parameters":[{"name":"q","in":"query","required":false,"description":"Full-text search over title, normalized title, company name, function and locations.","schema":{"type":"string"}},{"name":"country","in":"query","required":false,"description":"ISO 3166-1 alpha-2 country of the role (parsed from its location, else the company's HQ).","schema":{"type":"string","pattern":"^[A-Za-z]{2}$"}},{"name":"function","in":"query","required":false,"description":"Job function.","schema":{"type":"string","enum":["engineering_software","engineering_infrastructure","engineering_data","engineering_qa","data_science","product_management","product_design","brand_design","sales_ic","sales_engineering","sales_leadership","customer_success","customer_support","marketing_growth","marketing_brand","marketing_product","marketing_content","operations_business","operations_people","operations_revenue","finance_accounting","finance_strategic","legal_compliance","legal_counsel","healthcare_clinical","healthcare_research","education","it_internal","executive","other"]}},{"name":"seniority","in":"query","required":false,"description":"Seniority level.","schema":{"type":"string","enum":["intern","entry","mid","senior_ic","staff_ic","lead","manager","senior_manager","director","senior_director","vp","svp","c_level","founder"]}},{"name":"remote","in":"query","required":false,"description":"Work mode, where the ATS or location states it.","schema":{"type":"string","enum":["onsite","hybrid","remote"]}},{"name":"tech","in":"query","required":false,"description":"Technology slug (StrataDB), e.g. `aws`: roles at companies known to use it. Coverage is partial: no match does not mean a company does not use it.","schema":{"type":"string"}},{"name":"skill","in":"query","required":false,"description":"Technology slug (StrataDB), e.g. `python`: roles whose posting asks for it, required or preferred. Read from the title and text of postings on every board; closed roles on boards other than Greenhouse, Lever and Ashby match on their title only.","schema":{"type":"string"}},{"name":"investor","in":"query","required":false,"description":"Investor slug (VCinfo), e.g. `406-ventures`.","schema":{"type":"string"}},{"name":"funding_freshness","in":"query","required":false,"description":"Months since the company's last dated round.","schema":{"type":"string","enum":["raised_within_6m","raised_6_18m","raised_over_18m","unknown"]}},{"name":"momentum","in":"query","required":false,"description":"Company hiring momentum.","schema":{"type":"string","enum":["accelerating","steady","slowing","frozen","unknown"]}},{"name":"city","in":"query","required":false,"description":"City of the role as written in English, e.g. `Berlin` (parsed from its location; never the HQ).","schema":{"type":"string"}},{"name":"stage","in":"query","required":false,"description":"Stage of the company's last round (Funding data by Fundup AI).","schema":{"type":"string","enum":["pre-seed","seed","series-a","series-b","series-c-plus","debt"]}},{"name":"ats","in":"query","required":false,"description":"Job board the role was read from, e.g. `greenhouse`, `lever`, `ashby`, `workable` (`self_hosted` for a careers page on the company's own site).","schema":{"type":"string","pattern":"^[a-z_]{2,30}$"}},{"name":"posted_after","in":"query","required":false,"description":"Roles first seen on or after this date (YYYY-MM-DD). Roles already open when we started tracking the company never match.","schema":{"type":"string","format":"date"}},{"name":"limit","in":"query","required":false,"description":"Results per page, 1 to 50 (default 20).","schema":{"type":"integer","minimum":1,"maximum":50}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from `next_cursor` of the previous page. Next pages need Pro, up to 1,000 results per query.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobList"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/v1/jobs/{id}":{"get":{"summary":"Get a job","description":"One role by OpenRolesDB id, open or closed.","x-plan":"free","parameters":[{"name":"id","in":"path","required":true,"description":"Job id.","schema":{"type":"integer","minimum":1}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/v1/companies/{domain}":{"get":{"summary":"Get a company","description":"A company by domain with its open roles, momentum, funding freshness, investors, stack and open roles by function, on every plan.","x-plan":"free","parameters":[{"name":"domain","in":"path","required":true,"description":"Company domain, e.g. `stripe.com`.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Company"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/v1/companies/{domain}/hiring":{"get":{"summary":"Company hiring time series","description":"Days on which roles opened or closed, with the open count at the end of each day. Days without changes are omitted: carry the last `open` forward. History starts 2026-05-09; companies are scraped about weekly.\n\nRequires the Pro plan.","x-plan":"pro","parameters":[{"name":"domain","in":"path","required":true,"description":"Company domain.","schema":{"type":"string"}},{"name":"from","in":"query","required":false,"description":"First date to return (YYYY-MM-DD).","schema":{"type":"string","format":"date"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HiringSeries"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/v1/momentum":{"get":{"summary":"Companies whose hiring is speeding up or cooling","description":"Hiring companies ranked by momentum change. `accelerating`: Accelerating now and not 4 weeks ago, most new roles first. `cooling`: Slowing or Frozen now after Steady or Accelerating 4 weeks ago, biggest earlier pace first. `top`: Accelerating now, most new roles first. Counts exclude roles that were already open when tracking began.","x-plan":"free","parameters":[{"name":"change","in":"query","required":false,"description":"Which list (default `accelerating`).","schema":{"type":"string","enum":["accelerating","cooling","top"]}},{"name":"function","in":"query","required":false,"description":"Only companies with new roles in this function in the last 30 days, ranked by them.","schema":{"type":"string","enum":["engineering_software","engineering_infrastructure","engineering_data","engineering_qa","data_science","product_management","product_design","brand_design","sales_ic","sales_engineering","sales_leadership","customer_success","customer_support","marketing_growth","marketing_brand","marketing_product","marketing_content","operations_business","operations_people","operations_revenue","finance_accounting","finance_strategic","legal_compliance","legal_counsel","healthcare_clinical","healthcare_research","education","it_internal","executive","other"]}},{"name":"stage","in":"query","required":false,"description":"Stage of the last round (Funding data by Fundup AI).","schema":{"type":"string","enum":["pre-seed","seed","series-a","series-b","series-c-plus","debt"]}},{"name":"country","in":"query","required":false,"description":"Companies with open roles in this ISO alpha-2 country.","schema":{"type":"string","pattern":"^[A-Za-z]{2}$"}},{"name":"investor","in":"query","required":false,"description":"Investor slug (VCinfo).","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Results per page, 1 to 50 (default 20).","schema":{"type":"integer","minimum":1,"maximum":50}},{"name":"cursor","in":"query","required":false,"description":"`next_cursor` from the previous page. Next pages need Pro, up to 1,000 results per query.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MomentumList"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/v1/market/weekly":{"get":{"summary":"New roles per week across the market","description":"New roles per week (Monday to Sunday, full weeks only) across a fixed panel of companies tracked since 2026-06-01 whose boards are still read, so the series does not grow with coverage. Optionally for one function.","x-plan":"free","parameters":[{"name":"function","in":"query","required":false,"description":"One function; omit for all roles.","schema":{"type":"string","enum":["engineering_software","engineering_infrastructure","engineering_data","engineering_qa","data_science","product_management","product_design","brand_design","sales_ic","sales_engineering","sales_leadership","customer_success","customer_support","marketing_growth","marketing_brand","marketing_product","marketing_content","operations_business","operations_people","operations_revenue","finance_accounting","finance_strategic","legal_compliance","legal_counsel","healthcare_clinical","healthcare_research","education","it_internal","executive","other"]}},{"name":"from","in":"query","required":false,"description":"First week to return (YYYY-MM-DD). Default: 26 weeks back on Pro, 12 on Free; earlier than 12 weeks needs Pro.","schema":{"type":"string","format":"date"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketSeries"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/v1/signals":{"get":{"summary":"Expansion signals: first roles in a new country or team","description":"A company's first role in a country (from the role's own location) or in a function family, seen at least 60 days after we started tracking the company and after earlier roles there (3 for a country, 5 for a family), newest first. Roles that were already open when tracking began, or when the company moved to another job board, never count.","x-plan":"free","parameters":[{"name":"kind","in":"query","required":false,"description":"Which signal; omit for both.","schema":{"type":"string","enum":["new_country","new_function"]}},{"name":"country","in":"query","required":false,"description":"Companies expanding into this ISO alpha-2 country.","schema":{"type":"string","pattern":"^[A-Za-z]{2}$"}},{"name":"family","in":"query","required":false,"description":"Companies hiring in this function family for the first time (e.g. `sales`: any sales role).","schema":{"type":"string","enum":["engineering","data","product","design","sales","customer","marketing","operations","people","finance","legal","healthcare","education","it","executive"]}},{"name":"since","in":"query","required":false,"description":"Signals on or after this date (default: 90 days back).","schema":{"type":"string","format":"date"}},{"name":"company","in":"query","required":false,"description":"One company's signals, by domain.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Results per page, 1 to 50 (default 20).","schema":{"type":"integer","minimum":1,"maximum":50}},{"name":"cursor","in":"query","required":false,"description":"`next_cursor` from the previous page. Next pages need Pro, up to 1,000 results per query.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignalList"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/v1/funding/hiring":{"get":{"summary":"Hiring after a funding round","description":"Companies whose last dated round is within 180 days and that we tracked before it. `hiring_up`: at least 3 new roles since the round and 1.5 times the pace of the 90 days before. `not_yet`: the round is at least 30 days old and no new role since. Funding data by Fundup AI.","x-plan":"free","parameters":[{"name":"status","in":"query","required":false,"description":"Which list (default `hiring_up`).","schema":{"type":"string","enum":["hiring_up","not_yet"]}},{"name":"stage","in":"query","required":false,"description":"Stage of the round.","schema":{"type":"string","enum":["pre-seed","seed","series-a","series-b","series-c-plus","debt"]}},{"name":"country","in":"query","required":false,"description":"Companies with roles in this ISO alpha-2 country in the last 9 months.","schema":{"type":"string","pattern":"^[A-Za-z]{2}$"}},{"name":"raised_within","in":"query","required":false,"description":"Only rounds this recent (default `180d`). `not_yet` needs a round at least 30 days old, so `30d` returns none there.","schema":{"type":"string","enum":["30d","90d","180d"]}},{"name":"limit","in":"query","required":false,"description":"Results per page, 1 to 50 (default 20).","schema":{"type":"integer","minimum":1,"maximum":50}},{"name":"cursor","in":"query","required":false,"description":"`next_cursor` from the previous page. Next pages need Pro, up to 1,000 results per query.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FundedList"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/v1/check":{"get":{"summary":"Check a job link","description":"Finds the role behind a pasted job link: the ATS board, the company's careers page or the application form, with or without tracking parameters. `match` says what was found: `job` (with the job and its full context, stale risk included, on every plan), `company` (we track the company, not this role), `aggregator` (a job site link such as LinkedIn that does not identify the posting), `ambiguous` (the link's id matches roles at several companies) or `none`. For an open Greenhouse, Lever or Ashby role, `live` gives the board's answer at request time.","x-plan":"free","parameters":[{"name":"url","in":"query","required":true,"description":"The job link.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckResult"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/v1/investors/momentum":{"get":{"summary":"Investors ranked by portfolio hiring momentum","description":"Investors with at least 10 portfolio companies of known hiring momentum, as of the latest Monday: the share Accelerating or Slowing/Frozen, new roles in 30 days across the portfolio and the pace against the 60 days before. Companies whose board we cannot read fully are left out of the shares. Portfolio links from VCinfo.","x-plan":"free","parameters":[{"name":"sort","in":"query","required":false,"description":"accelerating (default): highest Accelerating share; pace: new roles against the earlier pace (10+ earlier roles); new_roles: most new roles; cooling: highest Slowing or Frozen share.","schema":{"type":"string","enum":["accelerating","pace","new_roles","cooling"]}},{"name":"min_companies","in":"query","required":false,"description":"Only investors with at least this many portfolio companies of known momentum (default and minimum 10).","schema":{"type":"integer","minimum":1,"maximum":1000}},{"name":"limit","in":"query","required":false,"description":"Results per page, 1 to 50 (default 20).","schema":{"type":"integer","minimum":1,"maximum":50}},{"name":"cursor","in":"query","required":false,"description":"`next_cursor` from the previous page. Next pages need Pro, up to 1,000 results per query.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvestorMomentumList"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/v1/investors/{slug}/momentum":{"get":{"summary":"One investor's portfolio momentum, week by week","description":"The portfolio's momentum as of each Monday since tracking began (the last 12 weeks on Free), for investors with at least 5 portfolio companies of known momentum that week.","x-plan":"free","parameters":[{"name":"slug","in":"path","required":true,"description":"Investor slug (VCinfo), e.g. `sequoia-capital`.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvestorMomentumSeries"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/v1/context":{"post":{"summary":"Context for many jobs or companies","description":"Up to 100 items: job apply URLs, OpenRolesDB job ids or company domains. Returns full context per item, in order. Counts as one request.\n\nRequires the Pro plan.","x-plan":"pro","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["items"],"properties":{"items":{"type":"array","maxItems":100,"items":{"type":"string"},"description":"Each item is an apply URL, a job id (e.g. `job:123` or `123`) or a domain."}}}}}},"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextList"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/v1/following":{"get":{"summary":"Companies you follow","description":"The companies this account follows, newest first. Every key and MCP connection of the account shares one list. Free follows up to 25 and gets a weekly email; Pro follows up to 1,000 and gets events (webhooks, GET /v1/events, a daily or weekly email).","x-plan":"free","parameters":[],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FollowList"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/v1/following/{domain}":{"put":{"summary":"Follow a company","description":"Follow a company by domain. Following one you already follow is not an error.","x-plan":"free","parameters":[{"name":"domain","in":"path","required":true,"description":"Company domain, e.g. `stripe.com`.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Following"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"delete":{"summary":"Unfollow a company","description":"Stop following a company.","x-plan":"free","parameters":[{"name":"domain","in":"path","required":true,"description":"Company domain.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Following"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/v1/searches":{"get":{"summary":"Saved searches","description":"Saved job searches. After each data update, new roles that match one become a `search.matched` event.\n\nRequires the Pro plan.","x-plan":"pro","parameters":[],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchList"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"post":{"summary":"Save a search","description":"Save /v1/jobs filters (all but `posted_after`). Up to 20 per account. Only roles that are new after you save it match.\n\nRequires the Pro plan.","x-plan":"pro","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["filters"],"properties":{"name":{"type":"string","maxLength":80,"description":"Optional; made from the filters when left out."},"filters":{"type":"object","description":"Any /v1/jobs filters but `posted_after`, e.g. `{ \"function\": \"sales_ic\", \"country\": \"DE\" }`.","additionalProperties":{"type":"string"}}}}}}},"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedSearch"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/v1/searches/{id}":{"delete":{"summary":"Delete a saved search","description":"Delete a saved search.\n\nRequires the Pro plan.","x-plan":"pro","parameters":[{"name":"id","in":"path","required":true,"description":"Saved search id (`ss_...`).","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deleted"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/v1/webhooks":{"get":{"summary":"Webhook endpoints","description":"Your webhook endpoints with their status: `active`, `failing` (deliveries failing, retried) or `disabled` (failed for 3 days; turn it back on with rotate).\n\nRequires the Pro plan.","x-plan":"pro","parameters":[],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookList"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"post":{"summary":"Add a webhook endpoint","description":"Add an HTTPS endpoint (up to 5). The response holds the signing `secret` once: store it, it is never shown again. See Webhooks below for the payload and how to check the signature.\n\nRequires the Pro plan.","x-plan":"pro","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"HTTPS URL on a public host name."},"events":{"type":"array","items":{"type":"string","enum":["roles.opened","roles.closed","momentum.changed","company.expanded","search.matched"]},"description":"Event types to send; every type when left out."}}}}}},"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookCreated"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/v1/webhooks/{id}":{"delete":{"summary":"Delete a webhook endpoint","description":"Delete an endpoint; queued deliveries to it are dropped.\n\nRequires the Pro plan.","x-plan":"pro","parameters":[{"name":"id","in":"path","required":true,"description":"Endpoint id (`we_...`).","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deleted"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/v1/webhooks/{id}/test":{"post":{"summary":"Send a test event","description":"POSTs a signed `ping` event to the endpoint now and returns what it answered.\n\nRequires the Pro plan.","x-plan":"pro","parameters":[{"name":"id","in":"path","required":true,"description":"Endpoint id.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookTest"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/v1/webhooks/{id}/rotate":{"post":{"summary":"Rotate the signing secret","description":"Replaces the signing secret (the old one stops working at once) and turns a disabled endpoint back on. The new `secret` is in the response, once.\n\nRequires the Pro plan.","x-plan":"pro","parameters":[{"name":"id","in":"path","required":true,"description":"Endpoint id.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookCreated"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/v1/events":{"get":{"summary":"Alert events","description":"Events for this account from the last 30 days, newest first: what webhooks deliver, for polling or catching up. Made after each data update (about daily).\n\nRequires the Pro plan.","x-plan":"pro","parameters":[{"name":"type","in":"query","required":false,"description":"Only this event type.","schema":{"type":"string","enum":["roles.opened","roles.closed","momentum.changed","company.expanded","search.matched"]}},{"name":"since","in":"query","required":false,"description":"Only events made on or after this date (YYYY-MM-DD).","schema":{"type":"string","format":"date"}},{"name":"limit","in":"query","required":false,"description":"Results per page, 1 to 50 (default 20).","schema":{"type":"integer","minimum":1,"maximum":50}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from `next_cursor` of the previous page. Next pages need Pro, up to 1,000 results per query.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventList"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}}},"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Your API key: `Authorization: Bearer ordb_...`."}},"responses":{"Error":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"schemas":{"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}},"Score":{"type":["object","null"],"properties":{"label":{"type":"string"},"value":{"type":["number","null"]},"reasons":{"type":"array","items":{"type":"string"}}}},"JobBasic":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"},"function":{"type":["string","null"]},"seniority":{"type":["string","null"]},"department":{"type":["string","null"]},"employment_type":{"type":["string","null"]},"remote":{"type":["string","null"],"enum":["onsite","hybrid","remote",null]},"locations":{"type":"array","items":{"type":"string"}},"country":{"type":["string","null"]},"country_source":{"type":["string","null"],"enum":["location","hq",null],"description":"`hq` when the role's location named no country and the company's HQ country was used."},"city":{"type":["string","null"]},"apply_url":{"type":["string","null"],"format":"uri"},"status":{"type":"string","enum":["open","closed","no_longer_seen"],"description":"no_longer_seen: not on the board for 21 days (often because the board could not be read); closed_at is then the last sighting."},"first_seen":{"type":"string","format":"date-time"},"first_seen_is_lower_bound":{"type":"boolean","description":"True when the role was already open when we started tracking the company: it is at least this old."},"last_seen":{"type":"string","format":"date-time"},"closed_at":{"type":["string","null"],"format":"date-time"},"company":{"type":"object","properties":{"domain":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"}}},"url":{"type":"string"}}},"Job":{"allOf":[{"$ref":"#/components/schemas/JobBasic"},{"type":"object","description":"Pro fields.","properties":{"title_normalized":{"type":["string","null"]},"ats_provider":{"type":"string"},"salary":{"type":["object","null"],"properties":{"min":{"type":["number","null"]},"max":{"type":["number","null"]},"currency":{"type":["string","null"]},"interval":{"type":["string","null"]}}},"repost_of":{"type":["integer","null"]},"requirements":{"type":["object","null"],"description":"What the posting asks for, without its text: technologies it names (StrataDB catalogue, read from the posting on every board) and fields a model read from it.","properties":{"tech":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"strength":{"type":"string","enum":["required","preferred","mentioned"]}}}},"years_min":{"type":["integer","null"]},"years_max":{"type":["integer","null"]},"languages":{"type":"array","items":{"type":"string"}},"visa_sponsorship":{"type":["string","null"],"enum":["offered","not_offered",null]},"remote_scope":{"type":["string","null"]},"education":{"type":["string","null"],"enum":["none","bachelor","master","phd",null]},"read_by_model":{"type":"boolean","description":"Whether the fields above were read from the posting yet."}}},"posting_changed_at":{"type":["string","null"],"format":"date-time","description":"When the posting's text last changed after we first read it."},"time_to_close":{"type":["object","null"],"description":"Median days roles in this function stayed open before closing, at this company when it has 5 or more, else across all companies.","properties":{"median_days":{"type":"integer"},"sample":{"type":"integer"},"scope":{"type":"string","enum":["company","all_companies"]}}},"context":{"type":"object","properties":{"stale_risk":{"type":["object","null"],"properties":{"label":{"type":"string"},"value":{"type":["number","null"]},"reasons":{"type":"array","items":{"type":"string"}}}},"company":{"$ref":"#/components/schemas/CompanyContext"}}}}}]},"CompanyContext":{"type":["object","null"],"properties":{"hiring_momentum":{"type":["object","null"],"properties":{"label":{"type":"string"},"value":{"type":["number","null"]},"reasons":{"type":"array","items":{"type":"string"}}}},"funding":{"type":["object","null"],"description":"Derived fields only. Funding data by Fundup AI.","properties":{"freshness":{"type":["object","null"],"properties":{"label":{"type":"string"},"value":{"type":["number","null"]},"reasons":{"type":"array","items":{"type":"string"}}}},"last_round_stage":{"type":["string","null"]},"last_round_month":{"type":["string","null"]},"total_raised_band":{"type":["string","null"]},"attribution":{"type":"string"}}},"investors":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"},"is_lead":{"type":"boolean"},"source":{"type":"string"}}}},"tech":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"category":{"type":["string","null"]},"source":{"type":"string"}}}}}},"Company":{"type":"object","properties":{"domain":{"type":"string"},"name":{"type":"string"},"hq_country":{"type":["string","null"]},"hq_country_name":{"type":["string","null"]},"hq_city":{"type":["string","null"]},"open_jobs":{"type":"integer"},"tracked_since":{"type":["string","null"]},"url":{"type":"string"},"hiring_momentum":{"type":["object","null"],"properties":{"label":{"type":"string"},"value":{"type":["number","null"]},"reasons":{"type":"array","items":{"type":"string"}}}},"funding":{"$ref":"#/components/schemas/CompanyContext/properties/funding"},"investors":{"type":"array"},"tech":{"type":"array"},"open_by_function":{"type":"object","additionalProperties":{"type":"integer"}}}},"JobList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Job"}},"next_cursor":{"type":["string","null"]},"note":{"type":"string","description":"Free plan only: what Pro adds to lists, and how to get the full context for one role."}}},"HiringSeries":{"type":"object","properties":{"domain":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","format":"date"},"open":{"type":"integer"},"new":{"type":"integer"},"closed":{"type":"integer"},"new_by_function":{"type":["object","null"]}}}}}},"MomentumList":{"type":"object","properties":{"compared_with_week":{"type":["string","null"],"format":"date","description":"The Monday snapshot `four_weeks_ago` refers to."},"data":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"open_roles":{"type":"integer"},"momentum":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":["number","null"]},"four_weeks_ago":{"type":["string","null"]}}},"new_roles_30d":{"type":"integer"},"new_roles_per_30d_before":{"type":"number"},"new_roles_30d_in_function":{"type":"integer"},"last_round":{"type":["object","null"],"properties":{"stage":{"type":"string"},"month":{"type":["string","null"]},"attribution":{"type":"string"}}}}}},"next_cursor":{"type":["string","null"]}}},"MarketSeries":{"type":"object","properties":{"function":{"type":["string","null"]},"panel_companies":{"type":"integer"},"data":{"type":"array","items":{"type":"object","properties":{"week":{"type":"string","format":"date"},"new":{"type":"integer"}}}}}},"SignalList":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"company":{"type":"object"},"kind":{"type":"string","enum":["new_country","new_function"]},"country":{"type":"string"},"family":{"type":"string"},"first_seen":{"type":"string","format":"date-time"},"first_role":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"},"status":{"type":"string"},"url":{"type":"string"}}},"last_round":{"type":["object","null"]}}}},"next_cursor":{"type":["string","null"]}}},"FundedList":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"open_roles":{"type":"integer"},"last_round":{"type":"object","properties":{"stage":{"type":["string","null"]},"date":{"type":"string","format":"date"},"days_ago":{"type":"integer"},"attribution":{"type":"string"}}},"new_roles_since_round":{"type":"integer"},"new_roles_per_30d_since_round":{"type":"number"},"new_roles_per_30d_before_round":{"type":"number"}}}},"next_cursor":{"type":["string","null"]}}},"CheckResult":{"type":"object","properties":{"match":{"type":"string","enum":["job","company","aggregator","ambiguous","none"]},"job":{"$ref":"#/components/schemas/Job"},"company":{"$ref":"#/components/schemas/Company"},"live":{"type":["object","null"],"description":"With `job`: what the board answered when we asked it for this posting during the request (Greenhouse, Lever and Ashby roles we count as open). `gone` closes the role. Null when we could not ask or got no clear answer.","properties":{"checked_at":{"type":"string","format":"date-time"},"result":{"type":"string","enum":["listed","gone"]},"http_status":{"type":"integer"}}},"message":{"type":"string"}}},"InvestorMomentumList":{"type":"object","properties":{"week":{"type":["string","null"],"format":"date","description":"The Monday snapshot the ranking uses."},"compared_with_week":{"type":["string","null"],"format":"date","description":"The Monday `accelerating_share_4_weeks_ago` refers to."},"data":{"type":"array","items":{"type":"object","properties":{"investor":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"},"url":{"type":"string"}}},"week":{"type":"string","format":"date"},"portfolio_companies":{"type":"integer"},"with_known_momentum":{"type":"integer"},"accelerating":{"type":"integer"},"accelerating_share":{"type":["number","null"]},"slowing_or_frozen":{"type":"integer"},"slowing_or_frozen_share":{"type":["number","null"]},"new_roles_30d":{"type":"integer"},"new_roles_per_30d_before":{"type":"number"},"pace":{"type":["number","null"]},"accelerating_share_4_weeks_ago":{"type":["number","null"]},"source":{"type":"string"}}}},"next_cursor":{"type":["string","null"]}}},"InvestorMomentumSeries":{"type":"object","properties":{"investor":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"},"url":{"type":"string"}}},"data":{"type":"array","items":{"type":"object","properties":{"week":{"type":"string","format":"date"},"portfolio_companies":{"type":"integer"},"with_known_momentum":{"type":"integer"},"accelerating":{"type":"integer"},"accelerating_share":{"type":["number","null"]},"slowing_or_frozen":{"type":"integer"},"slowing_or_frozen_share":{"type":["number","null"]},"new_roles_30d":{"type":"integer"},"new_roles_per_30d_before":{"type":"number"},"pace":{"type":["number","null"]}}}},"source":{"type":"string"}}},"FollowList":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"open_roles":{"type":"integer"},"hiring_momentum":{"type":["string","null"]},"followed_at":{"type":"string","format":"date-time"}}}},"limit":{"type":"integer"}}},"Following":{"type":"object","properties":{"domain":{"type":"string"},"following":{"type":"boolean"}}},"SavedSearch":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"filters":{"type":"object","additionalProperties":{"type":"string"}},"created_at":{"type":"string","format":"date-time"}}},"SearchList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/SavedSearch"}}}},"Deleted":{"type":"object","properties":{"id":{"type":"string"},"deleted":{"type":"boolean"}}},"Webhook":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"events":{"type":"array","items":{"type":"string"}},"secret_hint":{"type":"string"},"status":{"type":"string","enum":["active","failing","disabled"]},"disabled_reason":{"type":["string","null"]},"created_at":{"type":"string"},"last_success_at":{"type":["string","null"]},"last_failure_at":{"type":["string","null"]},"last_error":{"type":["string","null"]}}},"WebhookList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Webhook"}}}},"WebhookCreated":{"type":"object","properties":{"endpoint":{"$ref":"#/components/schemas/Webhook"},"secret":{"type":"string","description":"Shown once."}}},"WebhookTest":{"type":"object","properties":{"ok":{"type":"boolean"},"status":{"type":["integer","null"]},"error":{"type":["string","null"]},"event_id":{"type":"string"}}},"Event":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","const":"event"},"type":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"data":{"type":"object"}}},"EventList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Event"}},"next_cursor":{"type":["string","null"]}}},"ContextList":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"item":{"type":"string"},"found":{"type":"boolean"},"job":{"$ref":"#/components/schemas/Job"},"company":{"$ref":"#/components/schemas/Company"}}}}}}}}}