{"openapi":"3.0.0","info":{"title":"Care.com Caregivers Day Care and Jobs","version":"1.0.0","description":"Public caregiver profiles, child care centers, care businesses and jobs from Care.com across US, UK, CA and AU, one row per entity."},"servers":[{"url":"https://ah-care-com.opendata.best/s/care-com"}],"paths":{"/v1/search":{"post":{"operationId":"search","summary":"Search Care.com caregivers, day care and care jobs","description":"Query Care.com caregivers, nannies, housekeepers, senior care businesses and care job listings by vertical and location.","tags":["search"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"searchType":{"type":"string","enum":["listings","caregiver","business","job","jobs","about","all-states","all-cities","all-services","search","map","login","en-gb","en-ca","en-au"],"description":"Search type. Choose listings, caregiver, business, job, jobs, about, all-states, all-cities, or all-services. Directory types return navigation rows with nextInput for a separate run; options marked not available return no supported results.","default":"listings","example":"listings"},"vertical":{"type":"string","enum":["housekeepers","babysitters","nannies","tutors","senior-care","pet-sitters","overnight-babysitters","special-needs","day-care","preschools","nanny-agencies","family-day-care","child-care-centers","child-care","all-services"],"description":"Service category. Service category, such as housekeepers, nannies, tutors, senior-care, pet-sitters, or day-care. Use all-services with searchType=all-services to collect directory links.","default":"housekeepers","example":"housekeepers"},"location":{"type":"string","description":"City slug. Use a city-state slug such as chicago-il, or a two-letter state for all-cities, not a ZIP code. Empty input starts a small housekeeper example in chicago-il.","example":"chicago-il"},"detailUrls":{"type":"array","items":{"type":"string","pattern":"^https://([A-Za-z0-9-]+\\.)*care\\.com/"},"description":"Detail URLs. HTTPS Care.com profile (/p/), business (/b/l/), or job (/job/) links, used before other targets. Each link is an input for the row limit; links from other websites are rejected."},"maxResults":{"type":"integer","minimum":1,"maximum":20,"description":"Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).","default":10,"example":3},"city":{"type":"string","description":"City name. Alternative city name, used with state. Explicitly set location to an empty string when using this field; omitting location currently retains chicago-il."},"state":{"type":"string","description":"State code. Two-letter US state code used with city. For all-cities, put the state code in location.","default":"","example":""},"username":{"type":"string","description":"Caregiver username. Caregiver username copied from a /p/ URL. Use with searchType=caregiver and verticalCode when detailUrls is empty."},"verticalCode":{"type":"string","description":"Profile vertical code. Profile service code copied from the last part of a /p/ URL, such as cc, sc, hk, or tu. Use with username for a caregiver profile.","default":"","example":""},"businessSlug":{"type":"string","description":"Business slug. Business identifier from a /b/l/ URL. Use with searchType=business and location when detailUrls is empty."},"market":{"type":"string","enum":["us","gb","ca","au"],"description":"Market. United States only. The UK, Canada, and Australia choices are not available.","default":"us","example":"us"},"enrichDetails":{"type":"boolean","description":"Enrich details. Add available profile ZIP codes and business phones or street addresses to listing rows. Enabled by default; unnamed listings may still need detail pages to obtain a name when this is off.","default":true,"example":true},"maxPages":{"type":"integer","minimum":1,"maximum":10,"description":"Max pages. Maximum listing pages to collect, from 1 to 10. The row limit can stop collection earlier.","default":1,"example":1},"requestId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,80}$","description":"Optional. Your id for this request: repeating it while the job runs returns the same job."}}},"example":{"searchType":"listings","vertical":"housekeepers","location":"chicago-il","market":"us","enrichDetails":true,"maxResults":3}}}},"responses":{"200":{"description":"Done within the request: the rows.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RowsPage"}}}},"404":{"description":"No results matched the query (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid or missing parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"At capacity, too many running jobs, or rolling 24-hour row limit reached; retry after Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The source could not be collected this time (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"504":{"description":"Synchronous timeout reached before completion; task cancelled (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/health":{"get":{"operationId":"health","summary":"API health check","description":"Lightweight readiness check for this API. Never starts a collection and always bills 0 rows.","tags":["health"],"responses":{"200":{"description":"API is operational (0 rows).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}},"503":{"description":"API is temporarily unavailable (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}}}}}},"components":{"schemas":{"Row":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"type":{"type":"string"},"kind":{"nullable":true,"type":"string"},"rowType":{"nullable":true,"type":"string"},"entityId":{"nullable":true,"type":"string"},"seedKind":{"nullable":true,"type":"string"},"nextInput":{"nullable":true,"type":"object"},"vertical":{"nullable":true,"type":"string"},"phones":{"type":"array","items":{"type":"object"}},"emails":{"type":"array","items":{"type":"object"}},"address":{"type":"object","properties":{"street":{"nullable":true,"type":"string"},"unit":{"nullable":true,"type":"string"},"locality":{"nullable":true,"type":"string"},"region":{"nullable":true,"type":"string"},"postalCode":{"nullable":true,"type":"string"},"country":{"nullable":true,"type":"string"},"full":{"nullable":true,"type":"string"}}},"person":{"type":"object","properties":{"name":{"nullable":true,"type":"string"},"role":{"nullable":true,"type":"string"}}},"org":{"nullable":true,"type":"object"},"leadSource":{"nullable":true,"type":"string"},"leadReveal":{"nullable":true,"type":"string"},"leadAbsences":{"type":"object"}},"additionalProperties":true,"description":"One collected entity. Field availability depends on rowType and the source. Fields always present (a|b = at least one of them): every row: id, name, url."},"Error":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"ErrorDetail":{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string","example":"invalid_input"},"message":{"type":"string"},"retryable":{"type":"boolean"}}},"JobStatus":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string","enum":["queued","running","succeeded","partial","failed","cancelled"]},"done":{"type":"boolean"},"rowsAvailable":{"type":"integer"},"rowsDelivered":{"type":"integer","description":"Rows already delivered (and billed) to you for this job."},"rowsLimit":{"type":"integer","description":"Most rows this job can deliver."},"estimatedFinishSec":{"type":"integer","description":"While running: estimated seconds until done."},"statusUrl":{"type":"string"},"resultsUrl":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"retentionHours":{"type":"integer"},"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"RowsPage":{"allOf":[{"$ref":"#/components/schemas/JobStatus"},{"type":"object","properties":{"offset":{"type":"integer"},"nextOffset":{"type":"integer"},"hasMore":{"type":"boolean"},"rowCount":{"type":"integer"},"rowsBilled":{"type":"integer","description":"Rows delivered by this response."},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Row"}},"meta":{"type":"object","additionalProperties":true}}}]},"HealthStatus":{"type":"object","required":["ok","site","status","endpoints","rowsBilled"],"properties":{"ok":{"type":"boolean"},"site":{"type":"string"},"status":{"type":"string","enum":["operational","unavailable"]},"endpoints":{"type":"array","items":{"type":"string"}},"rowsBilled":{"type":"integer"}}}}}}