{
  "openapi": "3.0.1",
  "info": {
    "title": "Jiffy On Demand Scraper - Services, Profiles & Reviews",
    "description": "Extract public Jiffy On Demand service catalogs, professional contacts, reviews and rankings across eight Canadian and US cities. Pay per delivered row plus a start fee.",
    "version": "0.1",
    "x-build-id": "v8eXFx5SIm8WTlwqr"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lentic_clockss~jiffy-ondemand-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lentic_clockss-jiffy-ondemand-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/lentic_clockss~jiffy-ondemand-scraper/runs": {
      "post": {
        "operationId": "runs-sync-lentic_clockss-jiffy-ondemand-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/lentic_clockss~jiffy-ondemand-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-lentic_clockss-jiffy-ondemand-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "searchType": {
            "title": "Search type",
            "enum": [
              "auto",
              "catalog",
              "service",
              "pro",
              "regions",
              "privacy",
              "about",
              "home",
              "sitemap-pros",
              "families",
              "availability",
              "sitemap-services",
              "profiles",
              "reviews",
              "top-pros",
              "service-stats",
              "metadata"
            ],
            "type": "string",
            "description": "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"
          },
          "detailUrls": {
            "title": "Detail URLs",
            "type": "array",
            "description": "Supported jiffyondemand.com links, such as /pro/{slug}, /service/{slug} or /privacy_policy. Search and job URLs are not supported."
          },
          "uids": {
            "title": "Professional UIDs",
            "type": "array",
            "description": "Public UIDs for profiles mode, or one UID to select a reviews professional. Up to 200 per run.",
            "items": {
              "type": "string"
            }
          },
          "proSlug": {
            "title": "Pro slug",
            "type": "string",
            "description": "The slug from a current public Jiffy professional URL, such as /pro/{slug}. Use a profile that exists on the site."
          },
          "serviceSlug": {
            "title": "Service slug",
            "type": "string",
            "description": "The slug from a current Jiffy service URL, such as /service/{slug}. The service must be available in the selected city."
          },
          "region": {
            "title": "Region slug",
            "type": "string",
            "description": "One of the eight Jiffy cities. Empty uses Montreal for ca or Boston for us. An explicit city determines its actual market."
          },
          "regionId": {
            "title": "Region id",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Optional numeric 1-8. Overrides region slug when set."
          },
          "market": {
            "title": "Market",
            "enum": [
              "ca",
              "us"
            ],
            "type": "string",
            "description": "Choose ca for Canada or us for the United States. When no city is supplied, the Actor uses Montreal for ca or Boston for us; an explicit city determines its market.",
            "default": "ca"
          },
          "maxResults": {
            "title": "Max rows per input",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Maximum rows per detail URL or profile UID, or for one selected catalog, service, professional or review input: default 70, with larger values collected in parts of 70 and professional and review rows counted together. The whole run stops at your maximum total charge; the Free Apify plan allows up to 200 rows per run and 10 runs of this Actor.",
            "default": 70
          },
          "professionalId": {
            "title": "Professional ID",
            "minimum": 1,
            "type": "integer",
            "description": "Numeric ID for reviews. Alternatively use proSlug or a UID."
          },
          "serviceId": {
            "title": "Service ID",
            "minimum": 1,
            "type": "integer",
            "description": "Service identifier for statistics, rankings or a reviews filter."
          },
          "regionalServiceId": {
            "title": "Regional service ID",
            "minimum": 1,
            "type": "integer",
            "description": "Required with serviceId in top-pros mode. serviceSlug resolves both IDs for your city."
          },
          "startPage": {
            "title": "Start page",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "First review, ranking or gallery page to request. To continue collection, use nextPage when returned.",
            "default": 1
          },
          "pageSize": {
            "title": "Page size",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Keep this unchanged when resuming a paginated run.",
            "default": 20
          },
          "startOffset": {
            "title": "Start offset",
            "minimum": 0,
            "type": "integer",
            "description": "Ordered sitemap offset, or nextOffset within startPage when resuming reviews/rankings.",
            "default": 0
          },
          "maxRequests": {
            "title": "Request budget",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Upper bound on requests to jiffyondemand.com, retries included. If it is reached, the run returns the rows it already has and its status message says where to continue (startOffset).",
            "default": 3000
          },
          "includeReviews": {
            "title": "Include professional reviews",
            "type": "boolean",
            "description": "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
          },
          "includeStats": {
            "title": "Include service statistics",
            "type": "boolean",
            "description": "Add serviceStats with the published jobsRequested count for the last 30 days to service and catalog rows.",
            "default": false
          },
          "maxReviews": {
            "title": "Reviews per professional",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Maximum added review rows per professional, also limited by the remaining maxResults allowance. In standalone reviews mode, maxResults sets the row limit.",
            "default": 20
          },
          "maxGallery": {
            "title": "Gallery images per professional",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum gallery image URLs per professional when includeGallery and enrichDetails are enabled.",
            "default": 100
          },
          "enrichDetails": {
            "title": "Enrich details",
            "type": "boolean",
            "description": "Add available public contact details and profile information to professional rows. Catalog rows describe services and do not contain professional contacts.",
            "default": true
          },
          "allRegions": {
            "title": "All eight cities",
            "type": "boolean",
            "description": "Include all eight supported cities in catalog or sitemap-services mode. Availability mode already compares every city regardless of this setting.",
            "default": false
          },
          "includeInactive": {
            "title": "Include inactive services",
            "type": "boolean",
            "description": "Include services marked inactive in the selected cities. Leave off to collect active services only.",
            "default": false
          },
          "featuredOnly": {
            "title": "Featured services only",
            "type": "boolean",
            "description": "Keep only services marked featured by Jiffy.",
            "default": false
          },
          "seasonalOnly": {
            "title": "Seasonal services only",
            "type": "boolean",
            "description": "Keep only services marked seasonal by Jiffy.",
            "default": false
          },
          "quotedOnly": {
            "title": "Quoted-price services only",
            "type": "boolean",
            "description": "Set true for services requiring a quote or false for services not marked as quoted. Leave unset to avoid this filter."
          },
          "familySlug": {
            "title": "Service family slug",
            "type": "string",
            "description": "Filter service collection by a service family slug or name."
          },
          "familyId": {
            "title": "Service family id",
            "type": "integer",
            "description": "Filter service collection by a numeric service family identifier."
          },
          "tag": {
            "title": "Service tag",
            "type": "string",
            "description": "Filter services by a case-insensitive match against published tags or keywords."
          },
          "filterProsByRegion": {
            "title": "Filter pros by region",
            "type": "boolean",
            "description": "Keep professional profiles whose city matches the selected region. Leave off to allow profiles from other cities.",
            "default": false
          },
          "includeGallery": {
            "title": "Include gallery URLs",
            "type": "boolean",
            "description": "Add available gallery image URLs to professional rows when enrichDetails is true. Leave off to skip gallery collection.",
            "default": false
          },
          "maxPages": {
            "title": "Max pages",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "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
          },
          "cursor": {
            "title": "Continue from cursor",
            "type": "string",
            "description": "Continue a run that stopped at its time limit or was aborted gracefully: paste RUN_SUMMARY.nextCursor from that run and keep the rest of the input the same. A cursor works once and is valid for 6 hours. Usually leave empty."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}