> ## Documentation Index
> Fetch the complete documentation index at: https://doc.fluximmo.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Demander une revérification d'une property

> Contrôler à la demande la disponibilité des annonces en ligne d'un bien, pour 1 crédit forfaitaire.

## À quoi ça sert

`POST /v2/protected/properties/{flxId}/check` répond à une seule question, pour chacune des annonces en ligne du bien : **est-elle toujours publiée sur son portail ?** La route **n'attend aucun corps de requête** ni paramètre : seul le `flxId` du chemin compte. Elle répond **200 tout de suite**, les contrôles tournent en tâche de fond.

Rappel de vocabulaire : une **property** est un bien physique dédupliqué qui agrège N **adverts**, les annonces publiées sur des portails différents (voir [Property vs Advert](/concepts/property-vs-advert)). Ce sont donc **les annonces en ligne** qui repartent en collecte, pas la property elle-même.

<Warning>
  L'appel coûte **1 crédit, facturé sur toute réponse 2xx — y compris quand elle vaut `nothing_to_check`**. Un `404`, lui, ne facture rien. Suivez votre consommation sur [Consommation de crédits](/api-v2-reference/consumption/get-your-credit-consumption).
</Warning>

<Tip>
  Le crédit est **forfaitaire** : un seul appel peut déclencher jusqu'à 10 collectes pour ce même crédit. Sur un bien largement multi-diffusé, c'est l'appel le plus rentable de l'API.
</Tip>

## `/check` ou `/report` ?

* **`/check`** — **« ces annonces sont-elles toujours en ligne ? »** : pas de diagnostic à fournir, pas de corps, 1 crédit. Met à jour le statut en ligne, **et lui seul**.
* **[`/report`](/api-v2-reference/properties/report-an-issue-on-a-property)** — vous voulez **nous dire ce qui ne va pas** (prix faux, annonce disparue, doublon) : un motif est obligatoire, et c'est **gratuit**.

En pratique : si vous savez ce qui cloche, signalez-le — c'est gratuit, et **c'est le seul moyen de faire corriger un prix, une surface ou une géolocalisation**. Si vous voulez seulement confirmer que le bien est toujours disponible, utilisez `/check`. L'équivalent existe sur les annonces : [`POST /v2/protected/adverts/{flxId}/check`](/api-v2-reference/adverts/request-an-on-demand-check-of-an-advert).

## Ce qui est réellement revérifié

* **Seules les annonces en ligne** — celles déjà hors ligne sont ignorées.
* **10 annonces au maximum**, les plus récemment vues ; l'excédent est compté dans `skipped_count`.
* Une annonce **sans url source exploitable** est également comptée dans `skipped_count`.
* `skipped_count` peut aussi être non nul parce que certaines revérifications n'ont pas pu être lancées. Une rafale d'appels rapprochés rend ce cas plus probable. Ce n'est pas une erreur : espacez vos appels et réessayez.
* Si **aucune** annonce en ligne n'est revérifiable, la réponse vaut `status: "nothing_to_check"` avec `triggered_count: 0`, en **HTTP 200** — et le crédit est tout de même décompté.

Le tableau `triggered` liste les flx\_id **des annonces** confiées au scraper, jamais celui de la property. Le contrat exact est documenté plus bas par le bloc OpenAPI (`POST /v2/protected/properties/{flxId}/check`).

## Cas d'usage

* **Vérifier avant d'appeler** — s'assurer qu'un bien est toujours disponible juste avant de contacter le vendeur.
* **Rafraîchir une short-list** — remettre à jour les quelques biens qu'un utilisateur a mis en favori, à la demande.
* **Confirmer une disparition** — un bien absent depuis plusieurs jours de vos alertes : un `check` tranche.

<Note>
  Le résultat **n'est pas dans la réponse**. Relisez la property quelques minutes plus tard avec [`GET /v2/protected/properties/{flxId}`](/api-v2-reference/properties/get-a-property-by-its-flx_id), ou recevez-la sur votre [webhook d'alerte](/concepts/webhooks) si vous y êtes abonné. Ce qui aura changé, c'est le statut en ligne des annonces contrôlées — pas leur contenu.
</Note>

## Exemples

### 1 — Forcer la revérification d'un bien

<CodeGroup>
  ```bash curl theme={null}
  curl -X POST https://api.fluximmo.io/v2/protected/properties/123456789/check \
    -H "x-api-key: $FLUXIMMO_API_KEY"
  ```

  ```python Python theme={null}
  import os, requests

  resp = requests.post(
      "https://api.fluximmo.io/v2/protected/properties/123456789/check",
      headers={"x-api-key": os.environ["FLUXIMMO_API_KEY"]},
      timeout=30,
  )
  body = resp.json()
  # `data` en 2xx, `error` en 404.
  print(resp.status_code, body.get("data", body.get("error")))
  ```
</CodeGroup>

```json Réponse 200 theme={null}
{"data":{"status":"accepted","entity":"property","flx_id":"123456789","triggered":["987654321","987654322"],"triggered_count":2,"skipped_count":0,"message":"2 advert(s) queued for an on-demand re-check."}}
```

Quand des annonces sont écartées, `message` le dit : le suffixe ` 3 advert(s) skipped.` est ajouté au message nominal, et si **rien** n'a pu partir alors que des annonces étaient éligibles, le message devient `No advert queued: 3 advert(s) skipped (per-request cap, missing url, or too many scrapes already running).`

### 2 — Rien à revérifier (le crédit reste dû)

```json Réponse 200 theme={null}
{"data":{"status":"nothing_to_check","entity":"property","flx_id":"123456789","triggered":[],"triggered_count":0,"skipped_count":0,"message":"No online advert to re-check."}}
```

Toutes les annonces de ce bien sont hors ligne : il n'y a rien à collecter, et il n'y aura pas de mise à jour à relire. Testez `triggered_count > 0` avant de programmer une relecture.

## Erreurs spécifiques

* **404** — le flx\_id n'existe pas : `{"error":{"message":"Property with flx_id 123456789 not found","code":10003}}`. Non facturé.

Il n'y a pas d'erreur de validation `422` sur cette route, puisqu'elle n'accepte aucun corps. La liste complète des codes est sur [Codes d'erreur](/ressources/codes-erreur).

## Liens utiles

* [Relire la property après le check](/api-v2-reference/properties/get-a-property-by-its-flx_id)
* [Signaler un problème sur une property](/api-v2-reference/properties/report-an-issue-on-a-property) — gratuit, avec un motif, et seul moyen de faire corriger une donnée fausse.
* [Concept · Property vs Advert](/concepts/property-vs-advert)
* [Consommation de crédits](/api-v2-reference/consumption/get-your-credit-consumption)
* [Ressources · Limites et rate limits](/ressources/limites-rate-limits)
* [Ressources · Codes d'erreur](/ressources/codes-erreur)

<Card title="Clé test gratuite — 1 semaine" icon="key" href="https://my.fluximmo.io">
  Créez un compte sur **my.fluximmo.io** pour récupérer une clé API test gratuite (1 semaine, accès limité). Aucun paiement requis.
</Card>


## OpenAPI

````yaml post /v2/protected/properties/{flxId}/check
openapi: 3.0.0
info:
  title: Real-estate data API - Fluximmo V2
  description: >+
    ## Fluximmo

    ##### Real-time real estate data: Power workflows, business applications and
    decision-making.


    Real estate expert since 2017, Fluximmo aggregates, exploits, enriches &
    analyzes the 


    real-estate market in real time to offer data flows, APIs and innovative
    services to real estate professionals.


    ## Authentification

    You'll need to be authenticated with an active subscription to access our
    REST endpoints.


    To get an API-KEY please contact us at contact@fluximmo.com or book a call
    with our team: https://calendly.com/fluximmo/meet-fluximmo

    ##### How to use your API KEY

    Simply add to your HTTP request your API KEY in the headers:
    `{'x_api_key':'randomApiKey'}`


    ## Properties and Adverts

    Real-estate market can be conceptualized in different ways. We offer two
    different conceptualization depending on your needs: Properties & Adverts.

    #### Properties (BAAS)

    A property is a real-estate habitation/land/commercial/building to which is
    attached adverts.


    We gather all the adverts offering (selling or renting) this real-estate
    asset and consolidate all the information into one Property.


    A Property is by definition `de-duplicated` and can gather 1 to x adverts:
    these adverts are either duplicates from different portals or with mandates
    from different agencies or republication of the same advertising with a
    price update or not.


    The concept of property is in constant mutation until the real-estate asset
    is sold: We'll keep merging new adverts within the Property concept and
    update the price if needed.


    By it's nature in constant mutation, we do not offer the possibility to
    receive these Properties on webhooks. You'll need to use our APIs as a
    Backend As A Service (BaaS).


    #### Adverts (BAAS and WEBHOOK)

    Adverts are advertising of a real-estate property. Adverts can come from
    many sources: Agencies websites, Aggregation real-estate portals,
    Social-Networks, NewsPaper etc...


    After gathering all these adverts our proprietary AI algorithms will
    de-duplicate these adverts and associate them to a Property


    An advert have a unique URL. Meaning that the same advertising re-published
    twice (with our without any change, on the same website or not, by the same
    agency or not) is considered as 2 ads.


    You can choose either to retrieve all the Adverts or only the non duplicated
    ones. Adverts can be retrieved either by API (Search or Alerts) or Webhook

    ## Webhooks

    We offer the possibility to receive our real-estate Adverts data in
    real-time using webhooks. As soon as we gather the data, you'll receive it
    few moments later.


    Using ALERTS, you can receive new adverts matching your criteria on a
    webhook.


    ##### Webhook differences between Adverts and Properties

    As Properties are by nature in perpetual evolutions (new duplicated ads will
    be merged, new data to be consolidated etc..), we do not offer the
    possibility to receive through Webhooks the full body of the properties.
    Properties webhook will only send you the list of the properties FlxIds
    matching your search.


    You'll find below the schema of the data you would receive on your webhook
    (`/v2/sample/webhook/properties`, `/v2/sample/webhook/adverts`)

    ##### What is a webhook

    A webhook can be thought of as a type of API that is driven by events rather
    than requests


    .Instead of one application making a request to another to receive a
    response, a webhook is a service that allows one program to send data to
    another as soon as a particular event takes place.


    Webhooks are sometimes referred to as “reverse APIs,” because communication
    is initiated by the application sending the data rather than the one
    receiving it.


    With web services becoming increasingly interconnected, webhooks are seeing
    more action as a lightweight solution for enabling real-time notifications
    and data updates without the need to develop a full-scale API.

    ##### When to use a webhook instead of the REST API

    You're supposed to receive a high volume of data (frequently or not), you're
    looking for real-time data, you just have to relax and wait (no cron, no
    call on our API etc..)

    ##### Webhook implementation examples

    A webhook is simply a POST endpoint we can request

    * Python:
    https://gist.github.com/aloysius-tim/293772256526efa20d5c625c6ace036a

    * Node:
    https://gist.github.com/aloysius-tim/ea1d9feb2c527b5b09ffc356b662d14b

  version: 2.0.0
  contact: {}
  x-logo:
    url: https://www.fluximmo.com/assets/images/logo_text.png
    backgroundColor: '#F31051'
    altText: Fluximmo logo
servers:
  - url: https://api.fluximmo.io
security: []
tags:
  - name: PropertyModel
    description: <SchemaDefinition schemaRef="#/components/schemas/PropertyDto" />
  - name: AdvertModel
    description: <SchemaDefinition schemaRef="#/components/schemas/AdvertDto" />
paths:
  /v2/protected/properties/{flxId}/check:
    post:
      tags:
        - Properties
      summary: Request an on-demand check of a property
      description: >-
        Ask for an on-demand re-check of a property. Costs 1 credit, billed on
        any 2xx including `nothing_to_check`. Answers 200 immediately; the
        scrapes run in the background — read the refreshed documents a couple of
        minutes later with GET /v2/protected/properties/{flxId}, or receive them
        on your alert webhook. Only online adverts are re-checked (the 10 most
        recently seen at most): a property whose adverts are all offline answers
        `nothing_to_check`.
      operationId: PropertiesController_checkProperty
      parameters:
        - name: flxId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/RecheckResponseDto'
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExceptionDto'
        '401':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExceptionDto'
        '404':
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  error:
                    message: Not Found
                    code: 10003
      security:
        - x_api_key: []
components:
  schemas:
    RecheckResponseDto:
      type: object
      properties:
        status:
          type: string
          enum:
            - accepted
            - nothing_to_check
          example: accepted
        entity:
          type: string
          enum:
            - advert
            - property
          example: property
        flx_id:
          type: string
          description: flx_id the request was made on
          example: '123456789'
        triggered:
          description: flx_id of every advert handed to the scraper
          example:
            - '987654321'
            - '987654322'
          type: array
          items:
            type: string
        triggered_count:
          type: number
          example: 2
        skipped_count:
          type: number
          description: >-
            Online adverts that were NOT re-checked: beyond the per-request cap,
            missing a source url, or dropped because too many scrapes are
            already running
          example: 0
        message:
          type: string
          example: 2 advert(s) queued for an on-demand re-check.
      required:
        - status
        - entity
        - flx_id
        - triggered
        - triggered_count
        - skipped_count
        - message
    ExceptionDto:
      type: object
      properties:
        error:
          description: Error object
          allOf:
            - $ref: '#/components/schemas/ErrorDto'
      required:
        - error
    ErrorDto:
      type: object
      properties:
        message:
          type: string
          description: Error message
        code:
          type: number
          description: Error code
      required:
        - message
        - code
  securitySchemes:
    x_api_key:
      type: apiKey
      in: header
      name: x-api-key

````