# Zones inondables du Québec (Fonciq) / Québec flood zones (`fonciq/fonciq-zones-inondables`) Actor

Contexte de zones inondables au Québec par point, adresse ou lot, gratuit et sans clé, par Fonciq (service indépendant). Free Québec flood-zone context by point, address or lot.

- **URL**: https://apify.com/fonciq/fonciq-zones-inondables.md
- **Developed by:** [Fonciq](https://apify.com/fonciq) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Zones inondables du Québec (Fonciq) / Québec flood zones

*[English below](#english)*

Cet Actor interroge l'API gratuite de zones inondables de Fonciq, un élément à la fois (point, adresse ou lot), et écrit une ligne de jeu de données par élément, exportable en JSON, CSV ou Excel. Aucune clé requise.

### Français

Contexte de zones inondables au Québec, par Fonciq. Indiquez un point, une adresse ou un numéro de lot : la réponse liste les zones cartographiées trouvées à ce point, à partir de sources ouvertes, avec la source et l'attribution de chacune.

- Usage gratuit, sans clé.
- Si rien n'est trouvé, la réponse indique « Aucune zone trouvée à ce point ». Cela ne veut pas dire que la propriété est hors zone inondable. La limite du lot n'est pas évaluée.
- Information indicative, pas une attestation officielle : chaque réponse renvoie à la carte officielle du gouvernement du Québec pour confirmer.
- Pour les notaires, courtiers, évaluateurs, prêteurs et cabinets qui vérifient le contexte d'une propriété au Québec.

Fonciq offre aussi, avec votre compte, les fiches de lot, les documents du Registre foncier sur l'accès au Registre de votre organisation et la surveillance de lots.

**Se connecter**

- Documentation : https://fonciq.ca/api-gratuite/zones-inondables · https://api.fonciq.ca
- Assistants IA (MCP) : https://mcp.fonciq.ca/v1/ (connexion OAuth par fonciq.ca au besoin). Guide : https://mcp.fonciq.ca · https://fonciq.ca/mcp
- Tarifs des autres services et détails : https://fonciq.ca/tarifs

> Fonciq est un service indépendant; il n'est pas affilié au Registre foncier du Québec ni au gouvernement du Québec.

***

This Actor queries Fonciq's free flood-zone API one item at a time (point, address or lot) and writes one dataset row per item, exportable as JSON, CSV or Excel. No key needed.

### English

Québec flood-zone context, by Fonciq. Give a point, an address or a lot number: the answer lists the mapped zones found at that point, from open sources, with each source and its attribution.

- Free to use, no key.
- When nothing is found, the answer says "No zone found at this point". It does not mean the property is outside a flood zone. The lot boundary is not evaluated.
- Indicative information, not an official certificate: each answer links to the Government of Québec's official map to confirm.
- For notaries, brokers, appraisers, lenders and firms checking a property's context in Québec.

With an account, Fonciq also offers lot records, Registre foncier documents on your organisation's own Registre access, and lot watches.

**Connect**

- Docs: https://fonciq.ca/api-gratuite/zones-inondables · https://api.fonciq.ca
- AI assistants (MCP): https://mcp.fonciq.ca/v1/ (OAuth sign-in through fonciq.ca when needed). Guide: https://mcp.fonciq.ca · https://fonciq.ca/mcp
- Pricing for other services and details: https://fonciq.ca/tarifs

> Fonciq is an independent service, not affiliated with the Registre foncier du Québec or the Government of Québec.

# Actor input Schema

## `items` (type: `array`):

Chaque élément contient exactement un de : {"lat", "lon"} (WGS84, Québec seulement), {"address"} (adresse civique, Référentiel québécois des adresses) ou {"lot"} (numéro de lot du Cadastre du Québec). / Each item has exactly one of: {"lat", "lon"} (WGS84, Québec only), {"address"} (civic address) or {"lot"} (Cadastre du Québec lot number).

## `lang` (type: `string`):

Langue des libellés renvoyés par l'API. / Language of the API's labels.

## `delayMs` (type: `integer`):

Pause entre deux requêtes, appelées une à la fois. Limites : « voir fonciq.ca/tarifs ». / Pause between requests, sent one at a time. Limits: "see fonciq.ca/tarifs".

## Actor input object example

```json
{
  "items": [
    {
      "lat": 45.40527,
      "lon": -75.87624
    },
    {
      "lat": 46.8,
      "lon": -71.2
    },
    {
      "address": "148 rue de la Cédrière, Gatineau"
    },
    {
      "lot": "2 883 944"
    }
  ],
  "lang": "fr",
  "delayMs": 300
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "items": [
        {
            "lat": 45.40527,
            "lon": -75.87624
        },
        {
            "lat": 46.8,
            "lon": -71.2
        },
        {
            "address": "148 rue de la Cédrière, Gatineau"
        },
        {
            "lot": "2 883 944"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("fonciq/fonciq-zones-inondables").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "items": [
        {
            "lat": 45.40527,
            "lon": -75.87624,
        },
        {
            "lat": 46.8,
            "lon": -71.2,
        },
        { "address": "148 rue de la Cédrière, Gatineau" },
        { "lot": "2 883 944" },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("fonciq/fonciq-zones-inondables").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "items": [
    {
      "lat": 45.40527,
      "lon": -75.87624
    },
    {
      "lat": 46.8,
      "lon": -71.2
    },
    {
      "address": "148 rue de la Cédrière, Gatineau"
    },
    {
      "lot": "2 883 944"
    }
  ]
}' |
apify call fonciq/fonciq-zones-inondables --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fonciq/fonciq-zones-inondables"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/9GkPJo08MeKK9W8Ij/builds/1qx1SxB8NUchFhcCK/openapi.json
