La Truite d'Argent Boeken API

Prijsofferte + directe boekingslink (deeplink naar la-truite.com met UTM-tags). Read-only — boeking voltooit de gast zelf op de site.

GitHub OpenAPI

Operations 1

POST /quote Prijsofferte + boekingslink voor één type #

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/la-truite-com:la-truite-com-boeken-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

la-truite-com-boeken-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: La Truite d'Argent Booking Boeken API
  version: 1.0.0
  description: 'Publieke REST API voor AI agents om beschikbaarheid, prijzen en

    boekingslinks van La Truite d''Argent op te vragen. Adults-only

    mini-resort in de Belgische Ardennen met 7 accommodatietypes,

    een weekend-restaurant en camperplaatsen.


    **Gebruik:** de lees-endpoints (`/info`, `/accommodaties`,

    `/beschikbaarheid`, `/restaurant`, `/camper-beschikbaarheid`) zijn

    publiek toegankelijk zonder API-sleutel, met een rate-limit van 60

    requests per uur per IP. `POST /quote` vereist wél een `X-API-Key`

    header (recht `lezen`), aan te vragen via `contact@la-truite.com`.


    **Boekingen:** de API is alleen-lezen. Boekingen gebeuren via de

    `booking_url` die in iedere response wordt meegestuurd — deze wijst

    direct naar de online boekingsengine op la-truite.com en opent het

    boekingspaneel met datum, type en personenaantal al ingevuld.


    **AI-attributie:** elke `booking_url` bevat UTM-parameters

    (`utm_source=api&utm_medium=ai`) zodat conversies vanuit AI-agents

    in onze analytics zichtbaar zijn.


    **Bij een 429-statuscode:** de rate-limit is bereikt. Vertel de gebruiker

    dat het systeem even druk is, wacht het aantal seconden uit de

    `X-RateLimit-Reset` header en probeer het daarna opnieuw — niet sneller.'
  contact:
    name: La Truite d'Argent
    email: contact@la-truite.com
    url: https://www.la-truite.com
  license:
    name: Proprietary
servers:
- url: https://www.la-truite.com/api/v1
  description: Productie
security: []
tags:
- name: Boeken
  description: Prijsofferte + directe boekingslink (deeplink naar la-truite.com met UTM-tags). Read-only — boeking voltooit de gast zelf op de site.
paths:
  /quote:
    post:
      tags:
      - Boeken
      operationId: calculateQuote
      summary: Prijsofferte + boekingslink voor één type
      description: 'Genereert een prijsofferte en directe boekingslink voor één

        accommodatietype (of `camper`). Stateless: er wordt niets opgeslagen.

        De `booking_url` is een deeplink naar de boekingsengine die bij openen

        zelf live de beschikbaarheid hercheckt.


        **Authenticatie vereist** (`X-API-Key`, recht `lezen`) — deze endpoint

        genereert links en is daarom beschermd tegen scraping.'
      security:
      - ApiKeyAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QuoteRequest'
      responses:
        '200':
          description: Offerte (ook bij beschikbaar=false met restriction_reason)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteResponse'
        '400':
          description: Ongeldige of ontbrekende parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: Onbekend accommodatietype
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  schemas:
    QuoteResponse:
      type: object
      properties:
        ok:
          type: boolean
        data:
          type: object
          properties:
            beschikbaar:
              type: boolean
            type_slug:
              type: string
            type_naam:
              type: string
            aankomst:
              type: string
              format: date
            vertrek:
              type: string
              format: date
            nachten:
              type: integer
            personen:
              type: integer
            restriction_reason:
              type: string
              nullable: true
              description: Aanwezig wanneer beschikbaar=false.
            prijs:
              type: object
              properties:
                per_nacht_euro:
                  type: number
                totaal_bruto_euro:
                  type: number
                totaal_na_korting_euro:
                  type: number
                waarborg_euro:
                  type: number
                totaal_te_betalen_euro:
                  type: number
            booking_url:
              type: string
              format: uri
              description: Deeplink die de boekingsengine voorvult.
        meta:
          $ref: '#/components/schemas/Meta'
    ErrorResponse:
      type: object
      properties:
        ok:
          type: boolean
          example: false
        error:
          type: object
          properties:
            code:
              type: string
              example: MISSING_API_KEY
            message:
              type: string
            hint:
              type: string
              description: Actiegerichte suggestie voor de gebruiker.
        meta:
          $ref: '#/components/schemas/Meta'
    Meta:
      type: object
      properties:
        api_version:
          type: string
          example: '1.0'
        timestamp:
          type: string
          format: date-time
        lang:
          type: string
    QuoteRequest:
      type: object
      required:
      - type_slug
      - aankomst
      - vertrek
      properties:
        type_slug:
          type: string
          example: cabane
          description: Slug uit /accommodaties, of 'camper'.
        aankomst:
          type: string
          format: date
          example: '2026-07-15'
        vertrek:
          type: string
          format: date
          example: '2026-07-18'
        personen:
          type: integer
          minimum: 1
          maximum: 6
          default: 2
          description: Genegeerd voor camper.
        lang:
          type: string
          enum:
          - nl
          - en
          - fr
          - de
          default: nl
  responses:
    RateLimited:
      description: 'Rate limit bereikt. Vertel de gebruiker dat het systeem druk is en wacht het aantal seconden uit de X-RateLimit-Reset header voordat je het opnieuw probeert.

        '
      headers:
        X-RateLimit-Limit:
          schema:
            type: integer
        X-RateLimit-Remaining:
          schema:
            type: integer
        X-RateLimit-Reset:
          schema:
            type: integer
            description: Seconden tot reset
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Ongeldige of ontbrekende API-sleutel
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key