TaParcelle Documents API

The Documents API from TaParcelle, for documents.

GitHub OpenAPI

Operations 1

GET /v1/documents/{doc_id} Document officiel et texte de la page citée #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/taparcelle-ca:taparcelle-ca-documents-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

taparcelle-ca-documents-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TaParcelle Documents API
  version: '1.0'
  description: 'API du forfait Premium de TaParcelle : le renseignement foncier du Québec en lecture, lot par lot. Décisions des conseils municipaux enrichies et citées à la page du document officiel, zonage du terrain entier avec sa grille des usages et normes, évaluation municipale et sa trajectoire, contraintes de constructibilité, ventes forcées, permis, démographie.


    Authentification : une clé d''API créée dans Paramètres, envoyée dans l''en-tête `X-API-Key` ou `Authorization: Bearer`. Le compte de la clé doit porter le forfait Premium.


    Aucune réponse ne porte l''identité d''une personne physique (Loi 25) : parties, acteurs et propriétaires en sont retirés. Un champ absent veut dire « non chargé pour ce secteur », jamais zéro.'
  termsOfService: https://www.taparcelle.ca/conditions
  contact:
    name: TaParcelle
    url: https://www.taparcelle.ca/connecteur
servers:
- url: https://mcp.taparcelle.ca
security:
- cleApi: []
- jeton: []
tags:
- name: Documents
paths:
  /v1/documents/{doc_id}:
    get:
      tags:
      - Documents
      summary: Document officiel et texte de la page citée
      description: 'Document source d''une décision : lien vers le PDF (URL présigné temporaire, ancré à la page ; le PDF reste privé, l''URL ouvre le document officiel à la bonne page) et, avec `page`, le texte de cette page (`texte`) : la couche texte du PDF, ou l''OCR d''un document numérisé, découpée comme la page de chaque citation (`anchor_page` d''une décision ou d''un fait). `texte` nul : aucun texte lisible sur cette page, le document se lit au lien ; `texte_tronque` = coupé à 12 000 caractères ; avec `echecs`, la lecture du texte a échoué.'
      operationId: v1_document_v1_documents__doc_id__get
      parameters:
      - name: doc_id
        in: path
        required: true
        schema:
          type: string
          title: Doc Id
      - name: page
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Page
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response V1 Document V1 Documents  Doc Id  Get
        '401':
          description: Clé absente, inconnue ou révoquée (`cle_requise`, `cle_inconnue_ou_revoquee`).
        '402':
          description: Le compte de la clé n'a pas le forfait Premium (`premium_requis`).
        '429':
          description: 'Débit dépassé : 60 appels par minute, 2000 par jour, par compte.'
        '502':
          description: 'Donnée indisponible pour cette requête (`donnee_indisponible`) : jamais un 200 vide.'
        '503':
          description: 'Service temporairement indisponible : réessayer plus tard.'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    cleApi:
      type: apiKey
      in: header
      name: X-API-Key
    jeton:
      type: http
      scheme: bearer
      description: La même clé, en jeton porteur.