{
  "openapi": "3.0.1",
  "info": {
    "title": "AlloVoisins Scraper - French & DOM-TOM Service SIRET Leads",
    "description": "Extract public AlloVoisins service providers, SIRET corporate registry data, ratings, reviews, public /s/{id} demands and 1,248 rental object categories across Metropolitan France and 11 French Overseas territories (DOM-TOM/COM). Export JSON, CSV or Excel.",
    "version": "0.1",
    "x-build-id": "keuZqcR0GYEPjrD4D"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lentic_clockss~allovoisins-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lentic_clockss-allovoisins-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~allovoisins-scraper/runs": {
      "post": {
        "operationId": "runs-sync-lentic_clockss-allovoisins-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~allovoisins-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-lentic_clockss-allovoisins-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",
              "category",
              "intent",
              "profile",
              "demand",
              "demand_preview",
              "askings_objects",
              "company",
              "catalog",
              "cities",
              "rental",
              "sitemap",
              "api",
              "themes",
              "askings",
              "about",
              "press",
              "privacy",
              "pros",
              "crawl"
            ],
            "type": "string",
            "description": "Leave Auto selected to choose a mode from your URLs (/p/, /v/, /s/{id}, /askings/list_objects), profile slugs, demand IDs, intent, category or city. Or pick a directory, demand, catalog, metadata or company mode directly.",
            "default": "auto"
          },
          "citySlug": {
            "title": "City slug",
            "type": "string",
            "description": "City identifier for category or crawl mode; when omitted, category mode uses the selected market's default city (such as lille for fr, saint-denis-2 for re, fort-de-france for mq, or baie-mahault for gp). Paris (mapped to paris-75) and its 20 arrondissements are supported alongside metropolitan and overseas communes."
          },
          "categorySlug": {
            "title": "Category slug",
            "type": "string",
            "description": "Service identifier for category or crawl mode. All 258 AlloVoisins categories are accepted, including the 156 /v/ service subcategories and common French trade names such as plombier, jardinier, femme-de-menage or bricolage-petits-travaux. The fallback is femme-de-menage."
          },
          "intentSlug": {
            "title": "Intent slug",
            "type": "string",
            "description": "Service intent identifier from a /v/si/ URL, such as entretien-de-jardin. Select intent mode or leave searchType on Auto."
          },
          "profileSlugs": {
            "title": "Profile slugs",
            "type": "array",
            "description": "Profile identifiers copied from real AlloVoisins /p/ URLs. Auto selects profile mode when this is your highest-priority target.",
            "items": {
              "type": "string"
            }
          },
          "demandIds": {
            "title": "Demand IDs",
            "type": "array",
            "description": "Public AlloVoisins demand identifiers from /s/{id} URLs, such as 17557353. Auto selects demand mode when set.",
            "items": {
              "type": "string"
            }
          },
          "detailUrls": {
            "title": "Detail URLs",
            "type": "array",
            "description": "Supported AlloVoisins URLs, including provider profiles (/p/...), service lists (/v/...), public demands (/s/{id}), rental object directory (/askings/list_objects), rentals (/r/...), company pages, sitemaps and public metadata URLs."
          },
          "maxResults": {
            "title": "Max results per input",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Most rows for each profile slug, demand ID or detail URL; modes without a list have one input. Default 70; larger numbers are collected in parts of 70. Provider, review, demand, company and directory row types share the limit. The whole run stops at your maximum total charge. Free Apify plan: up to 200 rows per run and 10 runs of this Actor.",
            "default": 70
          },
          "market": {
            "title": "Market",
            "enum": [
              "fr",
              "gp",
              "mq",
              "gf",
              "re",
              "yt",
              "pm",
              "bl",
              "mf",
              "wf",
              "pf",
              "nc",
              "dom-tom",
              "all"
            ],
            "type": "string",
            "description": "French Republic market: Metropolitan France (fr), any of the 11 French Overseas territories (gp, mq, gf, re, yt, pm, bl, mf, wf, pf, nc), all overseas territories (dom-tom), or all 12 markets combined (all).",
            "default": "fr"
          },
          "enrichDetails": {
            "title": "Enrich details",
            "type": "boolean",
            "description": "Fetch full /p/ profile details (SIRET, locality, approximate coordinates, verifications and opening hours) into provider rows. Enriched provider profile rows are billed at the provider-detail event rate.",
            "default": false
          },
          "enrichCompanyRegistry": {
            "title": "Enrich official company registry (SIRET)",
            "type": "boolean",
            "description": "When a professional row exposes a 14-digit SIRET (requires Enrich details or Profile mode), attach official French corporate registry data (SIREN, VAT number, NAF code, employee bracket, creation date, RGE certifications, directors and headquarters coordinates).",
            "default": false
          },
          "includeReviews": {
            "title": "Include reviews",
            "type": "boolean",
            "description": "Add one separately billed review event row per review after its provider row, sharing the same maxResults limit. Reviews require profile collection or enrichDetails=true on provider lists.",
            "default": false
          },
          "maxReviewsPerProvider": {
            "title": "Max reviews per provider",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Optional cap on review rows emitted per provider (1 to 50) when Include reviews is enabled, preventing a single profile from consuming your maxResults budget."
          },
          "reviewsCutoffDate": {
            "title": "Reviews cutoff date (YYYY-MM-DD)",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Optional earliest review date in YYYY-MM-DD format when Include reviews is enabled. Older reviews are skipped."
          },
          "apiResource": {
            "title": "API resource",
            "enum": [
              "address_search",
              "address_reverse",
              "objects_or_services",
              "service_prediction",
              "subscription_context",
              "categories",
              "mobile_apps_information",
              "blog_article"
            ],
            "type": "string",
            "description": "Optional public metadata endpoint for api mode, such as service_prediction (NLP category weights), address_reverse (requires latitude and longitude), objects_or_services (requires query), or categories."
          },
          "query": {
            "title": "Query",
            "type": "string",
            "description": "Optional filter or lookup text for askings_objects (rental object substring) or api mode (objects_or_services, service_prediction, subscription_context, address_search, or blog_article ID/slug)."
          },
          "latitude": {
            "title": "Latitude",
            "minimum": -90,
            "maximum": 90,
            "type": "number",
            "description": "Decimal latitude (-90 to 90) for apiResource=address_reverse, used together with longitude."
          },
          "longitude": {
            "title": "Longitude",
            "minimum": -180,
            "maximum": 180,
            "type": "number",
            "description": "Decimal longitude (-180 to 180) for apiResource=address_reverse, used together with latitude."
          },
          "offset": {
            "title": "Offset",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Number of rows to skip in list modes. Continue with diagnostics.searchMeta.nextOffset from RUN_SUMMARY until it is null.",
            "default": 0
          },
          "maxPages": {
            "title": "Max pages",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum pages for provider lists or the commune crawl, from 1 to 50. Provider pagination uses /page/{n} and stops on an empty or duplicate page.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}