{"openapi":"3.0.0","info":{"title":"Jiffy On Demand Home Services Data","version":"1.0.0","description":"Jiffy On Demand service catalogs, home service professionals, ratings and reviews across Canadian and US cities, one row per entity."},"servers":[{"url":"https://ah-jiffyondemand-com.opendata.best/s/jiffyondemand-com"}],"paths":{"/v1/search":{"post":{"operationId":"search","summary":"Search Jiffy On Demand service catalogs and pros","description":"Query Jiffy On Demand home service categories, regional pros, ratings and reviews across Canada and US markets.","tags":["search"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"searchType":{"type":"string","enum":["auto","catalog","service","pro","regions","privacy","about","home","sitemap-pros","families","availability","sitemap-services","profiles","reviews","top-pros","service-stats","metadata"],"description":"Search type. Choose what to collect, or leave auto to select a mode from the target fields you fill. Only public information is supported; booking actions and job listings are excluded.","default":"auto","example":"auto"},"detailUrls":{"type":"array","items":{"type":"string"},"description":"Detail URLs. Supported jiffyondemand.com links, such as /pro/{slug}, /service/{slug} or /privacy_policy. Search and job URLs are not supported."},"uids":{"type":"array","items":{"type":"string"},"description":"Professional UIDs. Public UIDs for profiles mode, or one UID to select a reviews professional. Up to 200 per run."},"proSlug":{"type":"string","description":"Pro slug. The slug from a current public Jiffy professional URL, such as /pro/{slug}. Use a profile that exists on the site."},"serviceSlug":{"type":"string","description":"Service slug. The slug from a current Jiffy service URL, such as /service/{slug}. The service must be available in the selected city."},"region":{"type":"string","description":"Region slug. One of the eight Jiffy cities. Empty uses Montreal for ca or Boston for us. An explicit city determines its actual market.","example":"montreal"},"regionId":{"type":"integer","minimum":1,"maximum":8,"description":"Region id. Optional numeric 1-8. Overrides region slug when set."},"market":{"type":"string","enum":["ca","us"],"description":"Market. Choose ca for Canada or us for the United States.","default":"ca","example":"ca"},"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":1},"professionalId":{"type":"integer","minimum":1,"description":"Professional ID. Numeric ID for reviews. Alternatively use proSlug or a UID."},"serviceId":{"type":"integer","minimum":1,"description":"Service ID. Service identifier for statistics, rankings or a reviews filter."},"regionalServiceId":{"type":"integer","minimum":1,"description":"Regional service ID. Required with serviceId in top-pros mode. serviceSlug resolves both IDs for your city."},"startPage":{"type":"integer","minimum":1,"maximum":100000,"description":"Start page. First review, ranking or gallery page to request. To continue collection, use nextPage when returned.","default":1,"example":1},"pageSize":{"type":"integer","minimum":1,"maximum":100,"description":"Page size. Keep this unchanged when resuming a paginated run.","default":20,"example":20},"startOffset":{"type":"integer","minimum":0,"description":"Start offset. Ordered sitemap offset, or nextOffset within startPage when resuming reviews/rankings.","default":0,"example":0},"maxRequests":{"type":"integer","minimum":1,"maximum":5000,"description":"Request budget. Upper bound on requests to jiffyondemand.com, retries included. If it is reached, the request returns the rows it already has and its status message says where to continue (startOffset).","default":3000,"example":3000},"includeReviews":{"type":"boolean","description":"Include professional reviews. Add each available review as a separate billed row alongside professional rows. Professional and review rows share maxResults; job locations are not business addresses.","default":false,"example":false},"includeStats":{"type":"boolean","description":"Include service statistics. Add serviceStats with the published jobsRequested count for the last 30 days to service and catalog rows.","default":false,"example":false},"maxReviews":{"type":"integer","minimum":1,"maximum":200,"description":"Reviews per professional. Maximum added review rows per professional, also limited by the remaining maxResults allowance. In standalone reviews mode, maxResults sets the row limit.","default":20,"example":20},"maxGallery":{"type":"integer","minimum":1,"maximum":500,"description":"Gallery images per professional. Maximum gallery image URLs per professional when includeGallery and enrichDetails are enabled.","default":100,"example":100},"enrichDetails":{"type":"boolean","description":"Enrich details. Add available public contact details and profile information to professional rows. Catalog rows describe services and do not contain professional contacts.","default":true,"example":true},"allRegions":{"type":"boolean","description":"All eight cities. Include all eight supported cities in catalog or sitemap-services mode. Availability mode already compares every city regardless of this setting.","default":false,"example":false},"includeInactive":{"type":"boolean","description":"Include inactive services. Include services marked inactive in the selected cities. Leave off to collect active services only.","default":false,"example":false},"featuredOnly":{"type":"boolean","description":"Featured services only. Keep only services marked featured by Jiffy.","default":false,"example":false},"seasonalOnly":{"type":"boolean","description":"Seasonal services only. Keep only services marked seasonal by Jiffy.","default":false,"example":false},"quotedOnly":{"type":"boolean","description":"Quoted-price services only. Set true for services requiring a quote or false for services not marked as quoted. Leave unset to avoid this filter."},"familySlug":{"type":"string","description":"Service family slug. Filter service collection by a service family slug or name."},"familyId":{"type":"integer","description":"Service family id. Filter service collection by a numeric service family identifier."},"tag":{"type":"string","description":"Service tag. Filter services by a case-insensitive match against published tags or keywords."},"filterProsByRegion":{"type":"boolean","description":"Filter pros by region. Keep professional profiles whose city matches the selected region. Leave off to allow profiles from other cities.","default":false,"example":false},"includeGallery":{"type":"boolean","description":"Include gallery URLs. Add available gallery image URLs to professional rows when enrichDetails is true. Leave off to skip gallery collection.","default":false,"example":false},"maxPages":{"type":"integer","minimum":1,"maximum":1000,"description":"Max pages. Requested page limit for reviews, rankings and galleries; catalogs are not paginated. Collection may read additional pages to fill the requested row count.","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":"auto","region":"montreal","market":"ca","enrichDetails":true,"includeReviews":false,"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":{"rowType":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"type":{"nullable":true,"type":"string"},"status":{"nullable":true,"type":"string","description":"Listing status is null because Jiffy does not publish this field."},"country":{"nullable":true,"type":"string"},"authority":{"nullable":true,"type":"string"},"id":{"nullable":true,"type":"string"},"url":{"nullable":true,"type":"string"},"kind":{"nullable":true,"type":"string"},"slug":{"nullable":true,"type":"string"},"uid":{"nullable":true,"type":"string"},"regionId":{"nullable":true,"type":"integer"},"serviceId":{"nullable":true,"type":"integer"},"professionalId":{"nullable":true,"type":"integer"},"professionalUid":{"nullable":true,"type":"string"},"professionalName":{"nullable":true,"type":"string"},"professionalUrl":{"nullable":true,"type":"string"},"reviewsFetched":{"nullable":true,"type":"integer"},"bio":{"nullable":true,"type":"string"},"experienceStartYear":{"nullable":true,"type":"integer"},"profilePictureUrl":{"nullable":true,"type":"string"},"receiptsCount":{"nullable":true,"type":"integer"},"uniqueUserCount":{"nullable":true,"type":"integer"},"regionalServiceIds":{"type":"array","items":{"type":"integer"}},"ratingSummary":{"type":"object"},"ratingTags":{"type":"array","items":{}},"reviews":{"type":"array","items":{"type":"object"}},"reviewsMeta":{"type":"object"},"jobAddress":{"type":"object","description":"Review job location, never a professional business address."},"comment":{"nullable":true,"type":"string"},"approximateCostCents":{"nullable":true,"type":"integer"},"serviceStats":{"nullable":true,"type":"object"},"jobsRequested":{"nullable":true,"type":"integer"},"metadata":{"type":"object"},"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":{"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; rowType=service: id, slug, url, name, serviceId|service_id, regionId|region_id; rowType=family: id, url, name, familyId; rowType=availability: id, slug, url, name, serviceId|service_id, activeRegionIds; rowType=pro: id, slug, url, name, professionalId|uid, regionId|region_id; rowType=review: id, professionalId, rating|binaryRating, page; rowType=region: id, name, slug, url, province, country; rowType=company: id, name, slug, url; rowType=about: id, name, slug, url; rowType=service-stats: serviceId, regionalServiceId, timePeriod, jobsRequested; rowType=metadata: metadata."},"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"}}}}}}