Ashby Discover Company Board
ashby.company-board-discovery
Look up a board: the company name, website, careers page, its teams and how many jobs are listed.
At a glance
- Endpoint ID
ashby.company-board-discovery- Price
- 1 credit per call; failed calls are free
- Runs for up to
- 30 seconds
Request
Send the endpoint ID as capability and its fields as input. Set UPSCRAPE_API_KEY to your key first.
curl --request POST \ --url https://data.upscrape.com/execute \ --header "Authorization: Bearer $UPSCRAPE_API_KEY" \ --header "Content-Type: application/json" \ --header "Prefer: wait=30" \ --data '{ "capability": "ashby.company-board-discovery", "input": { "board_slug": "ashby" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "ashby.company-board-discovery", "input": { "board_slug": "ashby" }}''')response = requests.post( "https://data.upscrape.com/execute", headers={ "Authorization": f"Bearer {os.environ['UPSCRAPE_API_KEY']}", "Content-Type": "application/json", "Prefer": "wait=30", }, json=payload,)response.raise_for_status()print(json.dumps(response.json(), indent=2))
const response = await fetch("https://data.upscrape.com/execute", { method: "POST", headers: { "Authorization": `Bearer ${process.env.UPSCRAPE_API_KEY}`, "Content-Type": "application/json", "Prefer": "wait=30", }, body: JSON.stringify({ "capability": "ashby.company-board-discovery", "input": { "board_slug": "ashby" }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
Input
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
board_slug |
string | one of | The board name, such as ashby. | ashby |
board_url |
string | one of | The board's link, instead of the name. |
Response
A finished call answers with HTTP 200; the data is in results[0].data, and billing.credits_charged is what it cost. A call still running after the wait answers 202: see jobs and results.
This is results[0].data from a real run:
{ "company": "Ashby", "custom_jobs_page_url": "https://www.ashbyhq.com/careers", "job_count": 62, "jobs_page_slug": "Ashby", "organization_id": "4ea5f68e-c33e-4ac9-831a-e732bee4a303", "public_website": "https://www.ashbyhq.com", "teams": [ { "name": "Americas Engineering", "id": "d22def71-84b4-4837-b73f-854a46fdb3fc" }, { "name": "Contract Management", "id": "10afb3d0-fa1c-472f-87ef-9bf66de9dcc3" } ]}
Fields
| Field | Type | What it is | Example |
|---|---|---|---|
company |
string | The company's name. | Ashby |
job_count |
integer | How many jobs the board lists. | 62 |
public_website |
string | The company's website. | https://www.ashbyhq.com |
custom_jobs_page_url |
string | The company's own careers page. | https://www.ashbyhq.com/careers |
jobs_page_slug |
string | The board's name in its Ashby address. | Ashby |
organization_id |
string | Ashby's ID for the company. | 4ea5f68e-c33e-4ac9-831a-e732bee4a303 |
teams |
array | The company's teams. | 20 records |
teams[].id |
string | Ashby's ID for the team. | d22def71-84b4-4837-b73f-854a46fdb3fc |
teams[].name |
string | The team's name. | Americas Engineering |
If a call fails
A failed call costs nothing. The response carries an error.code you can branch on; Errors and retries lists every code and which ones to retry.
Other Ashby Jobs endpoints
Something missing or unclear? Ask the team that builds the Ashby Jobs endpoints.