# Vérifier un lien : statut, redirections et certificat

**Use case:** 

Contrôlez example.com : réponse HTTP, redirections, certificat TLS et présence du texte Example Domain. Remplacez l'URL par un site public que vous pouvez vérifier. / Check a public URL, redirects, TLS expiry and expected text. Requête réelle, pas de démo fictive ni de surveillance continue.

## Input

```json
{
  "urls": [
    "https://example.com"
  ],
  "method": "GET",
  "expectedStatus": [
    "2xx"
  ],
  "expectedText": "Example Domain",
  "minTlsDays": 7,
  "timeoutSecs": 10,
  "maxRedirects": 5,
  "retries": 1,
  "concurrency": 5,
  "trackChanges": false
}
```

## Output

```json
{
  "url": {
    "label": "URL",
    "format": "string"
  },
  "finalUrl": {
    "label": "URL finale / Final URL",
    "format": "string"
  },
  "category": {
    "label": "Catégorie / Category",
    "format": "string"
  },
  "passed": {
    "label": "Conforme / Passed",
    "format": "boolean"
  },
  "statusCode": {
    "label": "HTTP",
    "format": "integer"
  },
  "responseTimeMs": {
    "label": "Durée ms / Duration ms",
    "format": "integer"
  },
  "redirectCount": {
    "label": "Redirections / Redirects",
    "format": "integer"
  },
  "tls.valid": {
    "label": "TLS valide / Valid TLS",
    "format": "boolean"
  },
  "tls.daysRemaining": {
    "label": "Jours TLS restants / TLS days remaining",
    "format": "integer"
  },
  "contentMatch": {
    "label": "Texte trouvé / Expected text",
    "format": "boolean"
  },
  "error": {
    "label": "Erreur / Error",
    "format": "string"
  },
  "checkedAt": {
    "label": "Contrôle / Checked",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Bulk URL Checker: HTTP status, redirects & TLS Actor is ready to run with the inputs already set for "Vérifier un lien : statut, redirections et certificat". [Sign up or log in](https://console.apify.com/create-task-from-example/ZFLRobYdI7pGe6C27) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Vérifier un lien : statut, redirections et certificat" task

The Bulk URL Checker: HTTP status, redirects & TLS Actor will start running based on the input automatically. You can also change all the input fields, like URLs / URL, HTTP method / Méthode, and more, to match your specific use case.

### 3. Receive the "Vérifier un lien : statut, redirections et certificat" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as URL, URL finale / Final URL, catégorie / category, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Vérifier un lien : statut, redirections et certificat" task via API](https://apify.com/westbrook_data/url-health-check.md).

## FAQ

### Quelles entrées sont possibles ? / Which inputs?

URLs explicites, texte collé, fichier texte/CSV public ou sitemap XML. Les listes sont dédoublonnées. / Use explicit URLs, pasted text, a public text/CSV file or XML sitemap; inputs are deduplicated.

### Une panne est-elle facturée ? / Are failed checks billed?

Une URL réellement contrôlée produit un résultat, même en panne. Les doublons et URL refusées avant contrôle ne sont pas facturés comme résultats. / A real check is billed even on failure; rejected URLs and duplicates are not.

### Le sitemap entier est-il garanti ? / Is the whole sitemap checked?

Le budget peut limiter les contrôles. SUMMARY indique checked/requested ; skippedByBudget apparaît si le budget écarte des URL. / Budget may limit checks; skippedByBudget appears when URLs are skipped by budget.

### Surveillance ou JavaScript ? / Continuous monitoring or JavaScript?

Le contrôle est ponctuel, sans rendu JavaScript. trackChanges compare les verdicts entre runs, sans alerte automatique. / Checks are point-in-time without JavaScript; trackChanges compares runs without automatic alerts.

### Quel prix et plafond ? / What price and spending cap?

FREE : 0,0025 USD/contrôle / check livré ; plafond 0,01 USD. Autres offres : Pricing. / FREE $0.0025/delivered result, cap $0.01. Ressources plateforme mesurées séparément / Platform resources measured separately.

### Exemple de valeurs fictives / Synthetic output values

FICTIF / SYNTHETIC : statusCode=200 ; passed=true ; tls.daysRemaining=32. Illustration, pas un résultat réel / not a live result.

## About this Actor

This example demonstrates how to use [Bulk URL Checker: HTTP status, redirects & TLS](https://apify.com/westbrook_data/url-health-check.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/westbrook_data/url-health-check.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/westbrook_data/url-health-check.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
