fonciqAPI

Zones inondables au Québec : point, adresse ou lot (gratuit, sans clé)

Gratuit, sans clé. Free, no key. FR : indique si un point, une adresse (Référentiel québécois des adresses) ou les points d'adresse d'un lot touchent une zone inondable cartographiée parmi 9 sources ouvertes sous licence CC BY 4.0 (BDZI, grille de présence possible, ZIS 2017-2019 à titre historique, Gatineau, Québec, Sherbrooke, Montréal). Cartographie d’ancienne génération : la nouvelle génération n’est pas incluse (champ cartographie, avec le lien vers la carte interactive officielle). La limite du lot n'est pas évaluée. Une réponse sans zone se lit « Aucune zone trouvée à ce point » : ce n'est pas une attestation qu'une propriété est hors zone inondable. EN: tells whether a point, an address or a lot's address points hit a mapped flood zone. Lot boundary not evaluated. A no-hit reads "No zone found at this point". Exactly one of lat+lon, address or lot. Limits: 30 requests per minute and 1 000 per 24 h per IP. CORS Access-Control-Allow-Origin: *. Every 200 carries per-source attribution and the disclaimer. Docs: https://fonciq.ca/api-gratuite/zones-inondables

GET
/v1/free/zones-inondables

Paramètres de requête

lat?number

Latitude WGS84, Québec only (44.9 to 62.6). With lon.

Intervalle44.9 <= valeur <= 62.6
lon?number

Longitude WGS84, Québec only (-79.8 to -57.1). With lat.

Intervalle-79.8 <= valeur <= -57.1
address?string

Civic address, resolved in the Référentiel québécois des adresses (RQA).

Longueur3 <= longueur <= 200
lot?string

Cadastre du Québec lot number; spaces ignored. Answered through the lot's RQA address points.

Correspondance^[0-9 ]{5,12}$
lang?string
Défaut"fr"
Valeurs"fr" | "en"

Corps de la réponse

application/json

application/json

application/json

application/json

curl -X GET "https://api.fonciq.ca/v1/free/zones-inondables?lat=45.40527&lon=-75.87624&address=148+rue+de+la+C%C3%A9dri%C3%A8re%2C+Gatineau&lot=2+883+944"
{
  "api": "fonciq-free-zones-inondables",
  "version": "1",
  "lang": "fr",
  "query": {},
  "match": {
    "type": "coordinates",
    "quality": "exact",
    "other_candidates": [
      "string"
    ],
    "lot": "string",
    "address_points_truncated": true
  },
  "any_zone_found": true,
  "summary_label": "Zone trouvée à ce point",
  "lot_boundary_evaluated": false,
  "note": "string",
  "notes": {
    "fr": "string",
    "en": "string"
  },
  "coverage_note": "string",
  "cartographie": {
    "generation_des_sources": "ancienne_generation",
    "nouvelle_generation_incluse": false,
    "note": "string",
    "notes": {
      "fr": "string",
      "en": "string"
    },
    "carte_officielle_url": "https://www.quebec.ca/agriculture-environnement-et-ressources-naturelles/eau/zones-inondables-mobilite-rives-littoral/verifier-propriete",
    "carte_interactive_url": "https://zonesinondables.mrnf.gouv.qc.ca/"
  },
  "historical_note": "string",
  "results": [
    {
      "point": {
        "lat": 0,
        "lon": 0,
        "kind": "query_coordinates"
      },
      "address": {
        "rqa_id": "string",
        "address": "string",
        "municipality": "string",
        "lot_numbers": [
          "string"
        ],
        "positioning_quality": "string"
      },
      "zone_found_at_point": true,
      "status": "zone_found_at_point",
      "status_label": "Aucune zone trouvée à ce point",
      "fonciq_level": "eleve",
      "fonciq_level_label": "string",
      "zones": [
        {
          "source": "municipal_gat",
          "source_name": "string",
          "publisher": "string",
          "category": "mapped_zone",
          "category_label": "string",
          "zone_kind": "recurrence_20",
          "zone_label": "string",
          "source_zone_type": "string",
          "dataset_url": "http://example.com",
          "licence": "CC-BY-4.0",
          "mapping_generation": "ancienne_generation",
          "historical": true
        }
      ],
      "nearest_zone": {
        "distance_m": 0,
        "searched_within_m": 0,
        "source": "string",
        "zone_kind": "string"
      },
      "nearest_mapped_zone": {
        "distance_m": 0,
        "searched_within_m": 0,
        "source": "string",
        "zone_kind": "string"
      }
    }
  ],
  "data_freshness": {
    "oldest_source_checked_at": "2019-08-24T14:15:22Z",
    "newest_source_checked_at": "2019-08-24T14:15:22Z",
    "oldest_source_loaded_at": "2019-08-24T14:15:22Z",
    "newest_source_loaded_at": "2019-08-24T14:15:22Z"
  },
  "attribution": {
    "text": "string",
    "sources": [
      {
        "source": "string",
        "name": "string",
        "publisher": "string",
        "dataset_url": "http://example.com",
        "licence": "CC-BY-4.0",
        "licence_url": "http://example.com",
        "checked_at": "2019-08-24T14:15:22Z",
        "loaded_at": "2019-08-24T14:15:22Z"
      }
    ]
  },
  "disclaimer": "string",
  "limits": {
    "per_minute": 30,
    "per_day": 1000,
    "key_required": false
  },
  "docs": "http://example.com",
  "terms": "http://example.com",
  "request_id": "string"
}
{
  "error": {
    "code": "string",
    "message": "string",
    "request_id": "string",
    "suggestions": [
      "string"
    ]
  },
  "disclaimer": "string",
  "docs": "string"
}
{
  "error": {
    "code": "string",
    "message": "string",
    "request_id": "string",
    "suggestions": [
      "string"
    ]
  },
  "disclaimer": "string",
  "docs": "string"
}
{
  "error": {
    "code": "string",
    "message": "string",
    "request_id": "string",
    "suggestions": [
      "string"
    ]
  },
  "disclaimer": "string",
  "docs": "string"
}