ANCT Périmètres API

The Périmètres API from ANCT — 4 operation(s) for périmètres.

GitHub OpenAPI

Operations 4

GET /api/perimeters/ Lister tous les périmètres #
GET /api/perimeters/data/ Lister les données supplémentaires sur un périmètre #
GET /api/perimeters/scales/ Lister tous les choix d'échelles #
GET /api/perimeters/{id}/ Retrouvez un périmètre par son identifiant #

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/anct:anct-p-rim-tres-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

anct-p-rim-tres-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Anct Périmètres API
  version: 1.8.4
  description: 'Operations tagged Périmètres across 2 of this provider''s published API definitions: anct-aides-territoires-openapi.json, anct-aides-territoires-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /
  description: ''
security:
- JWT: []
tags:
- name: Périmètres
paths:
  /api/perimeters/:
    get:
      operationId: api_perimeters_get_collection
      tags:
      - Périmètres
      responses:
        '200':
          description: perimeter collection
          content:
            application/ld+json:
              schema:
                type: object
                properties:
                  hydra:member:
                    type: array
                    items:
                      $ref: '#/components/schemas/perimeter.jsonld-perimeter.list'
                  hydra:totalItems:
                    type: integer
                    minimum: 0
                  hydra:view:
                    type: object
                    properties:
                      '@id':
                        type: string
                        format: iri-reference
                      '@type':
                        type: string
                      hydra:first:
                        type: string
                        format: iri-reference
                      hydra:last:
                        type: string
                        format: iri-reference
                      hydra:previous:
                        type: string
                        format: iri-reference
                      hydra:next:
                        type: string
                        format: iri-reference
                    example:
                      '@id': string
                      type: string
                      hydra:first: string
                      hydra:last: string
                      hydra:previous: string
                      hydra:next: string
                  hydra:search:
                    type: object
                    properties:
                      '@type':
                        type: string
                      hydra:template:
                        type: string
                      hydra:variableRepresentation:
                        type: string
                      hydra:mapping:
                        type: array
                        items:
                          type: object
                          properties:
                            '@type':
                              type: string
                            variable:
                              type: string
                            property:
                              type:
                              - string
                              - 'null'
                            required:
                              type: boolean
                required:
                - hydra:member
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/perimeter-perimeter.list'
      summary: Lister tous les périmètres
      parameters:
      - name: page
        in: query
        description: The collection page number
        required: false
        deprecated: false
        allowEmptyValue: true
        schema:
          type: integer
          default: 1
        style: form
        explode: false
        allowReserved: false
      - name: itemsPerPage
        in: query
        description: The number of items per page
        required: false
        deprecated: false
        allowEmptyValue: true
        schema:
          type: integer
          default: 50
          minimum: 0
          maximum: 100
        style: form
        explode: false
        allowReserved: false
      - name: q
        in: query
        description: '<div class="renderedMarkdown"><p>Rechercher par nom.<br><br>Note : il est possible d''avoir des résultats pertinents avec seulement le début du nom, ou un nom légerement erroné.</p></div>'
        required: false
        deprecated: false
        allowEmptyValue: true
        schema:
          type: string
        style: form
        explode: false
        allowReserved: false
        examples:
        - summary: lyon
          value: lyon
        - summary: par
          value: par
        - summary: grenble
          value: grenble
      - name: scale
        in: query
        description: <div class="renderedMarkdown"><p>oldFiltrer par l'échelle.<br><br>Voir <code>/api/perimeters/scales/</code> pour la liste complète.</p></div>
        required: false
        deprecated: false
        allowEmptyValue: true
        schema:
          type: string
        style: form
        explode: false
        allowReserved: false
        examples:
        - summary: commune
          value: commune
        - summary: epci
          value: epci
        - summary: Bassin hydrographique
          value: basin
        - summary: Département
          value: department
        - summary: Région
          value: region
        - summary: Outre-mer
          value: overseas
        - summary: Métropole
          value: mainland
        - summary: Ad-hoc
          value: adhoc
        - summary: Pays
          value: country
        - summary: Continent
          value: continent
      - name: zipcodes
        in: query
        description: '<div class="renderedMarkdown"><p>Filtrer par code postaux. Vous pouvez passer plusieurs fois le paramètre pour en rechercher plusieurs, ex: &zipcodes=91400&zipcodes=91640</p></div>'
        required: false
        deprecated: false
        allowEmptyValue: true
        schema:
          type: string
        style: form
        explode: false
        allowReserved: false
        examples:
        - summary: '91640'
          value: 91640
      - name: insees
        in: query
        description: '<div class="renderedMarkdown"><p>Filtrer par code insees. Vous pouvez passer plusieurs fois le paramètre pour en rechercher plusieurs, ex: &insees=91111&insees=91243</p></div>'
        required: false
        deprecated: false
        allowEmptyValue: true
        schema:
          type: string
        style: form
        explode: false
        allowReserved: false
        examples:
        - summary: '91111'
          value: 91111
      deprecated: false
    servers:
    - url: /
      description: ''
  /api/perimeters/data/:
    get:
      operationId: perimeter_data
      tags:
      - Périmètres
      responses:
        '200':
          description: perimeter_data collection
          content:
            application/ld+json:
              schema:
                type: object
                properties:
                  hydra:member:
                    type: array
                    items:
                      $ref: '#/components/schemas/perimeter_data.jsonld-perimeter_data.list'
                  hydra:totalItems:
                    type: integer
                    minimum: 0
                  hydra:view:
                    type: object
                    properties:
                      '@id':
                        type: string
                        format: iri-reference
                      '@type':
                        type: string
                      hydra:first:
                        type: string
                        format: iri-reference
                      hydra:last:
                        type: string
                        format: iri-reference
                      hydra:previous:
                        type: string
                        format: iri-reference
                      hydra:next:
                        type: string
                        format: iri-reference
                    example:
                      '@id': string
                      type: string
                      hydra:first: string
                      hydra:last: string
                      hydra:previous: string
                      hydra:next: string
                  hydra:search:
                    type: object
                    properties:
                      '@type':
                        type: string
                      hydra:template:
                        type: string
                      hydra:variableRepresentation:
                        type: string
                      hydra:mapping:
                        type: array
                        items:
                          type: object
                          properties:
                            '@type':
                              type: string
                            variable:
                              type: string
                            property:
                              type:
                              - string
                              - 'null'
                            required:
                              type: boolean
                required:
                - hydra:member
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/perimeter_data-perimeter_data.list'
      summary: Lister les données supplémentaires sur un périmètre
      description: Retrieves the collection of perimeter_data resources.
      parameters:
      - name: page
        in: query
        description: The collection page number
        required: false
        deprecated: false
        allowEmptyValue: true
        schema:
          type: integer
          default: 1
        style: form
        explode: false
        allowReserved: false
      - name: perimeter_id
        in: query
        description: Show the extra data for the specified perimeter
        required: false
        deprecated: false
        allowEmptyValue: true
        schema:
          type: string
        style: form
        explode: false
        allowReserved: false
        examples:
        - summary: '...'
        - summary: Sigean
          value: '75056'
        - summary: Fontenay-les-Briis
          value: '105876'
      deprecated: false
    servers:
    - url: /
      description: ''
  /api/perimeters/scales/:
    get:
      operationId: perimeter_scales_list
      tags:
      - Périmètres
      responses:
        '200':
          description: perimeter_scales collection
          content:
            application/ld+json:
              schema:
                type: object
                properties:
                  hydra:member:
                    type: array
                    items:
                      $ref: '#/components/schemas/perimeter_scales.jsonld-perimeter_scales.list'
                  hydra:totalItems:
                    type: integer
                    minimum: 0
                  hydra:view:
                    type: object
                    properties:
                      '@id':
                        type: string
                        format: iri-reference
                      '@type':
                        type: string
                      hydra:first:
                        type: string
                        format: iri-reference
                      hydra:last:
                        type: string
                        format: iri-reference
                      hydra:previous:
                        type: string
                        format: iri-reference
                      hydra:next:
                        type: string
                        format: iri-reference
                    example:
                      '@id': string
                      type: string
                      hydra:first: string
                      hydra:last: string
                      hydra:previous: string
                      hydra:next: string
                  hydra:search:
                    type: object
                    properties:
                      '@type':
                        type: string
                      hydra:template:
                        type: string
                      hydra:variableRepresentation:
                        type: string
                      hydra:mapping:
                        type: array
                        items:
                          type: object
                          properties:
                            '@type':
                              type: string
                            variable:
                              type: string
                            property:
                              type:
                              - string
                              - 'null'
                            required:
                              type: boolean
                required:
                - hydra:member
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/perimeter_scales-perimeter_scales.list'
      summary: Lister tous les choix d'échelles
      description: Retrieves the collection of perimeter_scales resources.
      parameters:
      - name: page
        in: query
        description: The collection page number
        required: false
        deprecated: false
        allowEmptyValue: true
        schema:
          type: integer
          default: 1
        style: form
        explode: false
        allowReserved: false
      deprecated: false
    servers:
    - url: /
      description: ''
  /api/perimeters/{id}/:
    get:
      operationId: api_perimeters_id_get
      tags:
      - Périmètres
      responses:
        '200':
          description: perimeter resource
          content:
            application/ld+json:
              schema:
                $ref: '#/components/schemas/perimeter.jsonld-perimeter.item'
            application/json:
              schema:
                $ref: '#/components/schemas/perimeter-perimeter.item'
        '404':
          description: Resource not found
      summary: Retrouvez un périmètre par son identifiant
      description: Retrieves a perimeter resource.
      parameters:
      - name: id
        in: path
        description: perimeter identifier
        required: true
        deprecated: false
        allowEmptyValue: false
        schema:
          type: string
        style: simple
        explode: false
        allowReserved: false
      deprecated: false
    servers:
    - url: /
      description: ''
components:
  schemas:
    perimeter-perimeter.list:
      type: object
      description: ''
      deprecated: false
    perimeter-perimeter.item:
      type: object
      description: ''
      deprecated: false
    perimeter_data-perimeter_data.list:
      type: object
      description: ''
      deprecated: false
    perimeter_scales.jsonld-perimeter_scales.list:
      type: object
      description: ''
      deprecated: false
      properties:
        '@id':
          readOnly: true
          type: string
        '@type':
          readOnly: true
          type: string
    perimeter_data.jsonld-perimeter_data.list:
      type: object
      description: ''
      deprecated: false
      properties:
        '@id':
          readOnly: true
          type: string
        '@type':
          readOnly: true
          type: string
    perimeter.jsonld-perimeter.item:
      type: object
      description: ''
      deprecated: false
      properties:
        '@context':
          readOnly: true
          oneOf:
          - type: string
          - type: object
            properties:
              '@vocab':
                type: string
              hydra:
                type: string
                enum:
                - http://www.w3.org/ns/hydra/core#
            required:
            - '@vocab'
            - hydra
            additionalProperties: true
        '@id':
          readOnly: true
          type: string
        '@type':
          readOnly: true
          type: string
    perimeter_scales-perimeter_scales.list:
      type: object
      description: ''
      deprecated: false
    perimeter.jsonld-perimeter.list:
      type: object
      description: ''
      deprecated: false
      properties:
        '@id':
          readOnly: true
          type: string
        '@type':
          readOnly: true
          type: string
  securitySchemes:
    JWT:
      type: apiKey
      description: Value for the Authorization header parameter.
      name: Authorization
      in: header
x-refined-from:
- anct-aides-territoires-openapi.json
- anct-aides-territoires-openapi.yml