{
  "openapi": "3.0.1",
  "info": {
    "title": "France Travail & Maddyness Scraper — Hiring & Startup Funding",
    "description": "Combine French B2B hiring signals (France Travail) and startup funding rounds (Maddyness / MaddyMoney) with resolved company domains and statutory /mentions-legales email discovery. Pay $0.008 only when a verified firstname.lastname@ email is delivered; generic info@/contact@ inboxes are included fr",
    "version": "1.0",
    "x-build-id": "lCQFgB6pGASAE8RzS"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/aperture~france-buying-signal-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-aperture-france-buying-signal-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/aperture~france-buying-signal-scraper/runs": {
      "post": {
        "operationId": "runs-sync-aperture-france-buying-signal-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/aperture~france-buying-signal-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-aperture-france-buying-signal-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": {
          "signalSources": {
            "title": "French Buying-Signal Sources",
            "minItems": 1,
            "type": "array",
            "description": "Select one or both French B2B intent feeds: 'france_travail_jobs' (France Travail public job board) and 'maddyness_funding' (Maddyness French startup fundraising announcements).",
            "items": {
              "type": "string",
              "enum": [
                "france_travail_jobs",
                "maddyness_funding"
              ],
              "enumTitles": [
                "France Travail — B2B Job Hiring Signals (signal_type: 'jobs')",
                "Maddyness — French Startup Funding Rounds (signal_type: 'funding')"
              ]
            },
            "default": [
              "france_travail_jobs",
              "maddyness_funding"
            ]
          },
          "keywords": {
            "title": "Job Role Keywords (France Travail Buying Signals)",
            "type": "array",
            "description": "Concrete French/English B2B job titles queried on France Travail when 'france_travail_jobs' is enabled (e.g., Account Executive, Business Developer, Commercial B2B, SDR, Head of Sales).",
            "items": {
              "type": "string"
            },
            "default": [
              "Business Developer",
              "Account Executive"
            ]
          },
          "location": {
            "title": "French Location / Department Code Filter (Optional)",
            "type": "string",
            "description": "Optional department code or city filter for France Travail job listings (e.g., 75, Paris, Lyon, 69). Leave empty to search nationwide across France.",
            "default": ""
          },
          "searchUrls": {
            "title": "Direct France Travail Search URLs (Copy-Paste from Browser)",
            "type": "array",
            "description": "Optional list of direct France Travail search URLs (candidat.francetravail.fr/offres/recherche?...) copied from your browser. Crawled alongside keyword searches.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "postedWithinDays": {
            "title": "Posted Within Days (France Travail Recency Filter)",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Optional recency filter to restrict France Travail search results to job offers published within the last 1, 3, 7, 14, or 30 days (&emission=N)."
          },
          "contractTypeFilter": {
            "title": "Contract Type Filter (CDI, CDD, Alternance)",
            "type": "array",
            "description": "Optional filter to restrict France Travail offers to specific French contract types (e.g., CDI, CDD, MIS, LIB, Alternance).",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "maxDaysSinceAnnouncement": {
            "title": "Max Days Since Funding Announcement (Maddyness)",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Maximum age in days for Maddyness startup fundraising articles when 'maddyness_funding' is enabled (default: 90 days).",
            "default": 90
          },
          "maxItems": {
            "title": "Max Buying-Signal Records (Max Items)",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum total number of normalized French buying-signal records to output across enabled sources. Free-tier Apify runs are capped at 25 items per run; paid Apify plans support unlimited runs.",
            "default": 5
          },
          "scraperMode": {
            "title": "Scraper Mode (Pay-Per-Event Tier)",
            "enum": [
              "basic",
              "enriched_with_email"
            ],
            "type": "string",
            "description": "Choose 'enriched_with_email' ($8.00 / 1,000 verified named contacts via buying-signal-enriched) to extract and verify decision-maker emails from French /mentions-legales, /equipe, and /contact pages. If only a generic company email (contact@, bonjour@, info@) is available, it is included free as 'role_fallback' and billed at the basic rate ($0.002 via job-signal-scraped). Choose 'basic' ($2.00 / 1,000 signals) for hiring and funding signals without email verification.",
            "default": "enriched_with_email"
          },
          "seniorityFilter": {
            "title": "Seniority Band Filter (Jobs)",
            "type": "array",
            "description": "Optional filter to include only specific normalized seniority_band values on job signals (entry, mid, senior, manager, director, vp, cxo). Funding signals are always retained.",
            "items": {
              "type": "string",
              "enum": [
                "entry",
                "mid",
                "senior",
                "manager",
                "director",
                "vp",
                "cxo"
              ]
            },
            "default": []
          },
          "blacklistDomains": {
            "title": "Blacklist Domains",
            "type": "array",
            "description": "Optional list of company root domains (e.g., client-existant.fr, competitor.com) to exclude. Matching companies are filtered out before charging so blacklisted domains cost $0.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "onlyNewSignals": {
            "title": "Delta Mode — Emit Only New Signals Across Scheduled Runs",
            "type": "boolean",
            "description": "When enabled, persists seen job/funding keys in a named Apify Key-Value Store (monitorScopeName) across scheduled runs and skips previously emitted signals BEFORE enrichment or PPE charging ($0 cost for already-seen jobs/funding rounds).",
            "default": false
          },
          "monitorScopeName": {
            "title": "Delta Deduplication Store Name (Monitor Scope)",
            "type": "string",
            "description": "Name of the persistent Apify Key-Value Store used to track seen signal keys when onlyNewSignals is enabled (default: 'buying-signal-dedup-store').",
            "default": "buying-signal-dedup-store"
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Optional Apify Proxy or custom proxy URLs. Lightweight HTTP requests run with zero cookies or login; enable Apify Proxy for high-volume scheduled runs.",
            "default": {
              "useApifyProxy": false
            }
          },
          "customEmailVerifierApiKey": {
            "title": "Custom Email Verifier API Key (Optional BYOK)",
            "type": "string",
            "description": "Optional Bring-Your-Own-Key (BYOK) token for third-party HTTPS SMTP verification during 'enriched_with_email' mode. Supports MillionVerifier ('mv:<API_KEY>' or raw key), ZeroBounce ('zb:<API_KEY>'), or Reacher ('reacher:<ENDPOINT_URL>|<HEADER_SECRET>'). Leave empty to use the built-in zero-cost DNS/DoH MX provider fingerprinting + SMTP verifier."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}