Senior Living Community Contacts
Contact emails, main phone and named staff — activity and life-enrichment directors first — read from senior living communities' own websites.
398 rows in the dataset
Download the dataset
Get every row this scraper has collected as one CSV or JSONL file. If the data is older than maxAgeHours, the scraper is re-run with its configured settings first. The key needs the datasets:export scope.
DOWNLOAD_ID=$(curl -s -X POST "https://api.pandorlabs.com/v1/datasets/senior-community-contacts/downloads" \ -H "Authorization: Bearer $PANDORLABS_KEY" \ -H "Content-Type: application/json" \ -d '{"maxAgeHours":24,"format":"csv"}' | jq -r '.id')while true; do STATUS=$(curl -s "https://api.pandorlabs.com/v1/downloads/$DOWNLOAD_ID" \ -H "Authorization: Bearer $PANDORLABS_KEY" | jq -r '.status') [ "$STATUS" != "refreshing" ] && break sleep 5donecurl -s "https://api.pandorlabs.com/v1/downloads/$DOWNLOAD_ID/file" \ -H "Authorization: Bearer $PANDORLABS_KEY" \ -o dataset.csvAt its current 398 rows, this download costs 4 credits when the data is fresh enough, or 8 credits when it has to be refreshed first.
The rate is 1 credit per 100 rows cached and 2 credits live, charged on the rows in the dataset when the download becomes ready. A failed refresh is not charged. The file stays downloadable for 24 hours. See pricing.
Start a run
To choose the targets yourself, send the parameters below as input. The call returns 202 with the run; the key needs the scrapers:run scope and the account a positive credit balance.
curl -X POST "https://api.pandorlabs.com/v1/scrapers/senior-community-contacts/runs" \ -H "Authorization: Bearer $PANDORLABS_KEY" \ -H "Content-Type: application/json" \ -d '{ "input": { "urls": [ "https://www.example-seniorliving.com | Example Gardens | OR" ], "sourceScraperId": "senior-living-facilities", "sourceLimit": 100, "maxPagesPerSite": 8 } }'A run is billed at the live rate once it finishes: 2 credits per 100 rows it collected. A run that collects nothing costs nothing.
Parameters
Every parameter is optional. Anything you leave out uses the default shown here; an unknown name or an invalid value is rejected with a 400 that lists each problem.
Targeting
urlsstring[]
Community websites
One community website per line. Optionally add the facility name and state after pipes: `url | name | state`.
- Default
- none
- Example
https://www.example-seniorliving.com | Example Gardens | OR
sourceScraperIdstring
Read websites from dataset
Id of another scraper whose rows carry a `website` or `url` column. Its rows are read from that scraper's collection and enriched alongside any URLs above.
- Default
- none
- Example
senior-living-facilities
sourceExecutionIdstring
Source run id
Restrict the source dataset to the rows of one run.
- Default
- none
sourceLimitnumber
Max rows from dataset
- Default
100- Range
- 1 to 5000
Advanced
maxPagesPerSitenumber
Max pages per site
Home page included. Team, life-enrichment, activities and contact pages are visited first.
- Default
8- Range
- 1 to 20
concurrencynumber
Sites in parallel
- Default
4- Range
- 1 to 12
requestTimeoutMsnumber
Request timeout (ms)
- Default
15000- Range
- 2000 to 60000
pageDelayMsnumber
Delay between pages of one site (ms)
- Default
250- Range
- 0 to 10000
respectRobotsboolean
Respect robots.txt
- Default
true
includeOtherStaffboolean
Keep other named staff
Off keeps only activity, life-enrichment, lifestyle, executive and sales roles.
- Default
true
Input as JSON Schema
The same schema the API validates against. Use it as a tool input schema or to generate a typed client.
{ "type": "object", "additionalProperties": false, "properties": { "urls": { "type": "array", "items": { "type": "string" }, "maxItems": 1000, "title": "Community websites", "description": "One community website per line. Optionally add the facility name and state after pipes: `url | name | state`.", "default": [], "examples": [ "https://www.example-seniorliving.com | Example Gardens | OR" ] }, "sourceScraperId": { "type": "string", "maxLength": 2000, "title": "Read websites from dataset", "description": "Id of another scraper whose rows carry a `website` or `url` column. Its rows are read from that scraper's collection and enriched alongside any URLs above.", "examples": [ "senior-living-facilities" ] }, "sourceExecutionId": { "type": "string", "maxLength": 2000, "title": "Source run id", "description": "Restrict the source dataset to the rows of one run." }, "sourceLimit": { "type": "number", "minimum": 1, "maximum": 5000, "title": "Max rows from dataset", "default": 100 }, "maxPagesPerSite": { "type": "number", "minimum": 1, "maximum": 20, "title": "Max pages per site", "description": "Home page included. Team, life-enrichment, activities and contact pages are visited first.", "default": 8 }, "concurrency": { "type": "number", "minimum": 1, "maximum": 12, "title": "Sites in parallel", "default": 4 }, "requestTimeoutMs": { "type": "number", "minimum": 2000, "maximum": 60000, "title": "Request timeout (ms)", "default": 15000 }, "pageDelayMs": { "type": "number", "minimum": 0, "maximum": 10000, "title": "Delay between pages of one site (ms)", "default": 250 }, "respectRobots": { "type": "boolean", "title": "Respect robots.txt", "default": true }, "includeOtherStaff": { "type": "boolean", "title": "Keep other named staff", "description": "Off keeps only activity, life-enrichment, lifestyle, executive and sales roles.", "default": true } }}Run, poll, read rows
The run is asynchronous. Poll it until it reaches a terminal status and its billing is paid, then page through its rows. Until then the rows endpoint answers 409 (still queued or running) or 402 (payment required).
RUN_ID=$(curl -s -X POST "https://api.pandorlabs.com/v1/scrapers/senior-community-contacts/runs" \ -H "Authorization: Bearer $PANDORLABS_KEY" \ -H "Content-Type: application/json" \ -d '{ "input": { "urls": [ "https://www.example-seniorliving.com | Example Gardens | OR" ], "sourceScraperId": "senior-living-facilities", "sourceLimit": 100, "maxPagesPerSite": 8 } }' | jq -r '.id')while true; do RUN=$(curl -s "https://api.pandorlabs.com/v1/runs/$RUN_ID" \ -H "Authorization: Bearer $PANDORLABS_KEY") STATUS=$(echo "$RUN" | jq -r '.status') BILLING=$(echo "$RUN" | jq -r '.billing.status') case "$STATUS" in queued|running) ;; *) [ "$BILLING" != "pending" ] && break ;; esac sleep 5doneecho "$RUN" | jq '{status, rowCount, billing}'curl -s "https://api.pandorlabs.com/v1/runs/$RUN_ID/rows?page=1&limit=100" \ -H "Authorization: Bearer $PANDORLABS_KEY"See the API reference for pagination, cancelling and listing runs.
Output fields
Rows have no fixed schema; these are the fields observed in the rows collected so far. Coverage is the share of rows where the field is present.
| Field | Type | Coverage |
|---|---|---|
| activity_director_found | boolean | 100% |
| activity_staff_count | number | 100% |
| community_key | string | 100% |
| domain | string | 100% |
| emails | array | 100% |
| error | string | 20% |
| final_url | string | 75% |
| has_activities_calendar | boolean | 100% |
| learning_signals | array | 100% |
| mentions_learning | boolean | 100% |
| name | string | 77% |
| pages_blocked_by_robots | number | 100% |
| pages_visited | array | 100% |
| phones | array | 100% |
| staff | array | 100% |
| status | string | 100% |
| url | string | 95% |
| created_at | date | 100% |
| updated_at | date | 100% |
| _id | string | 100% |
