KentekenKompas Fuel API

Fail-closed fuel-price source status.

GitHub OpenAPI

Operations 2

GET /v1/fuel-prices/latest Read fuel-price source status #
HEAD /v1/fuel-prices/latest Read fuel-price source status (headers only) #

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/kentekenkompas-nl:kentekenkompas-nl-fuel-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

kentekenkompas-nl-fuel-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: KentekenKompas Public Knowledge Fuel API
  version: 1.1.0
  description: Public, read-only Dutch vehicle-model knowledge with explicit provenance, freshness, limitations and human citation targets. No authentication is required for public v1. CORS permits public GET/HEAD access without credentials. KentekenKompas is an independent information service and is not affiliated with or part of RDW. The API does not offer per-registration-plate lookup and does not use a runtime LLM.
  license:
    name: API contract documentation; underlying source rights remain with their respective owners.
servers:
- url: https://api.kentekenkompas.nl
  description: Production API
security: []
tags:
- name: Fuel
  description: Fail-closed fuel-price source status.
paths:
  /v1/fuel-prices/latest:
    get:
      summary: Read fuel-price source status
      description: Fail-closed endpoint. Until a validated runtime adapter exists, status is SOURCE_REQUIRED_AT_RUNTIME and prices is empty; generatedAt is never presented as a price measurement date.
      parameters:
      - $ref: '#/components/parameters/IfNoneMatch'
      responses:
        '200':
          description: Successful JSON response.
          headers:
            ETag:
              $ref: '#/components/headers/ETag'
            X-Request-Id:
              $ref: '#/components/headers/RequestId'
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/KnowledgeEnvelope'
                - type: object
                  properties:
                    data:
                      $ref: '#/components/schemas/FuelPriceContext'
                  required:
                  - data
        '304':
          description: Not modified because If-None-Match matched the current representation.
        '400':
          description: The request contains invalid encoding, control characters, ambiguous parameters or another invalid public input.
          headers:
            X-Request-Id:
              $ref: '#/components/headers/RequestId'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '414':
          description: The complete request URL exceeds 2,048 UTF-8 bytes.
          headers:
            X-Request-Id:
              $ref: '#/components/headers/RequestId'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: The anonymous route-class limit was exceeded at this Cloudflare location. This is not a globally exact quota.
          headers:
            Retry-After:
              $ref: '#/components/headers/RetryAfter'
            X-Request-Id:
              $ref: '#/components/headers/RequestId'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: RATE_LIMIT_EXCEEDED
                  message: Too many requests. Retry later.
                  requestId: 1d4e9ca4-35f3-47fe-9595-5fbc7965c9d3
        '503':
          description: The selected knowledge release is not ready at this edge location, or the fail-closed request-protection binding is temporarily unavailable.
          headers:
            Retry-After:
              $ref: '#/components/headers/RetryAfter'
            X-Request-Id:
              $ref: '#/components/headers/RequestId'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: RATE_LIMIT_UNAVAILABLE
                  message: Request protection is temporarily unavailable. Retry later.
                  requestId: 1d4e9ca4-35f3-47fe-9595-5fbc7965c9d3
      tags:
      - Fuel
      operationId: getFuelPriceContext
    head:
      summary: Read fuel-price source status (headers only)
      description: Returns the same status and headers as GET without a response body.
      parameters:
      - $ref: '#/components/parameters/IfNoneMatch'
      responses:
        '200':
          description: Headers for the successful representation.
        '304':
          description: Not modified because If-None-Match matched the current representation.
        '400':
          description: The request contains invalid encoding, control characters, ambiguous parameters or another invalid public input.
          headers:
            X-Request-Id:
              $ref: '#/components/headers/RequestId'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '414':
          description: The complete request URL exceeds 2,048 UTF-8 bytes.
          headers:
            X-Request-Id:
              $ref: '#/components/headers/RequestId'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: The anonymous route-class limit was exceeded at this Cloudflare location. This is not a globally exact quota.
          headers:
            Retry-After:
              $ref: '#/components/headers/RetryAfter'
            X-Request-Id:
              $ref: '#/components/headers/RequestId'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: RATE_LIMIT_EXCEEDED
                  message: Too many requests. Retry later.
                  requestId: 1d4e9ca4-35f3-47fe-9595-5fbc7965c9d3
        '503':
          description: The selected knowledge release is not ready at this edge location, or the fail-closed request-protection binding is temporarily unavailable.
          headers:
            Retry-After:
              $ref: '#/components/headers/RetryAfter'
            X-Request-Id:
              $ref: '#/components/headers/RequestId'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: RATE_LIMIT_UNAVAILABLE
                  message: Request protection is temporarily unavailable. Retry later.
                  requestId: 1d4e9ca4-35f3-47fe-9595-5fbc7965c9d3
      tags:
      - Fuel
      operationId: headFuelPriceContext
components:
  headers:
    RetryAfter:
      description: Whole seconds before a bounded retry is appropriate.
      schema:
        type: integer
        minimum: 1
      example: 60
    ETag:
      description: Content hash ETag; weak If-None-Match comparison is supported for GET/HEAD.
      schema:
        type: string
    RequestId:
      description: Validated client request ID or generated UUID.
      schema:
        type: string
  schemas:
    Classification:
      type: string
      enum:
      - OFFICIAL
      - DERIVED
      - EDITORIAL
      description: 'OFFICIAL: directly stated by the identified official/primary source. DERIVED: reproducibly derived by KentekenKompas from source data. EDITORIAL: KentekenKompas interpretation or guidance; never an official RDW fact.'
    Evidence:
      type: object
      additionalProperties: false
      required:
      - evidenceId
      - classification
      - sourceIds
      properties:
        evidenceId:
          type: string
        classification:
          $ref: '#/components/schemas/Classification'
        sourceIds:
          type: array
          items:
            type: string
          uniqueItems: true
    Error:
      type: object
      additionalProperties: false
      required:
      - error
      properties:
        error:
          type: object
          additionalProperties: false
          required:
          - code
          - message
          - requestId
          properties:
            code:
              type: string
              description: Stable machine-readable error code.
            message:
              type: string
              description: Safe public explanation without stacktrace, filesystem path or KV key.
            requestId:
              type: string
    Freshness:
      type: object
      additionalProperties: false
      description: Independent content dates. generatedAt only describes bundle generation and never substitutes for dataAsOf, sourceCheckedAt or editorialReviewedAt.
      properties:
        dataAsOf:
          type: string
          format: date
          description: Date represented by the underlying data.
        sourceCheckedAt:
          type: string
          format: date
          description: Date the source was checked.
        editorialReviewedAt:
          type: string
          format: date
          description: Date editorial interpretation was reviewed.
        generatedAt:
          type: string
          format: date-time
          description: Bundle generation timestamp; not proof of source actuality.
    Source:
      oneOf:
      - $ref: '#/components/schemas/SourceRecord'
      - $ref: '#/components/schemas/SourceGroup'
      discriminator:
        propertyName: kind
        mapping:
          SOURCE: '#/components/schemas/SourceRecord'
          SOURCE_GROUP: '#/components/schemas/SourceGroup'
    SourceGroup:
      allOf:
      - $ref: '#/components/schemas/SourceBase'
      - type: object
        description: Explicit KentekenKompas evidence group. The group classification cannot be interpreted as making KentekenKompas an official source.
        required:
        - description
        - memberSourceIds
        - memberOrderMeaning
        - citationUrls
        properties:
          kind:
            const: SOURCE_GROUP
          description:
            type: string
          memberSourceIds:
            type: array
            minItems: 1
            uniqueItems: true
            items:
              type: string
          memberOrderMeaning:
            type: string
          citationUrls:
            type: array
            items:
              type: string
              format: uri
    KnowledgeEnvelope:
      type: object
      additionalProperties: false
      required:
      - schemaVersion
      - knowledgeVersion
      - data
      - evidence
      - sources
      - freshness
      - limitations
      properties:
        schemaVersion:
          const: kk-api-v1
        knowledgeVersion:
          type: string
          description: Immutable source-knowledge version.
        data: {}
        evidence:
          type: array
          items:
            $ref: '#/components/schemas/Evidence'
        sources:
          type: array
          items:
            $ref: '#/components/schemas/Source'
        freshness:
          $ref: '#/components/schemas/Freshness'
        coverage:
          $ref: '#/components/schemas/Coverage'
        limitations:
          type: array
          items:
            $ref: '#/components/schemas/Limitation'
        citationUrl:
          type: string
          format: uri
          description: Human KentekenKompas page supporting the response's core explanation; not the same as underlying sources.
    Limitation:
      type: string
      minLength: 1
      description: Explicit constraint on scope, applicability, freshness or interpretation.
    SourceRecord:
      allOf:
      - $ref: '#/components/schemas/SourceBase'
      - type: object
        required:
        - sourceUrl
        properties:
          kind:
            const: SOURCE
          sourceUrl:
            type: string
            format: uri
            description: Underlying public evidence location.
    FuelPriceContext:
      type: object
      additionalProperties: true
      required:
      - status
      - prices
      - classification
      - sourceIds
      - freshness
      - limitations
      - citationUrl
      properties:
        status:
          const: SOURCE_REQUIRED_AT_RUNTIME
          description: No validated current runtime source adapter is configured.
        prices:
          type: array
          maxItems: 0
        classification:
          $ref: '#/components/schemas/Classification'
        sourceIds:
          type: array
          items:
            type: string
        freshness:
          $ref: '#/components/schemas/Freshness'
        limitations:
          type: array
          items:
            $ref: '#/components/schemas/Limitation'
        citationUrl:
          type: string
          format: uri
    Coverage:
      type: object
      description: Machine-readable scope and completeness boundaries supplied by the canonical bundle.
      additionalProperties: true
    SourceCategory:
      type: string
      enum:
      - OFFICIAL_PRIMARY_DATA
      - OFFICIAL_GUIDANCE
      - PRIMARY_NON_GOVERNMENT
      - REPUTABLE_EDITORIAL
      - BACKGROUND_REFERENCE
      - KENTEKENKOMPAS_DERIVED
      - KENTEKENKOMPAS_EDITORIAL
      description: Detailed provenance category. KENTEKENKOMPAS_DERIVED and KENTEKENKOMPAS_EDITORIAL are not official RDW sources.
    SourceBase:
      type: object
      additionalProperties: true
      required:
      - sourceId
      - kind
      - visibility
      - label
      - category
      - citationUrl
      - freshness
      - limitations
      properties:
        sourceId:
          type: string
        kind:
          type: string
          enum:
          - SOURCE
          - SOURCE_GROUP
        visibility:
          const: PUBLIC
        label:
          type: string
        category:
          $ref: '#/components/schemas/SourceCategory'
        citationUrl:
          type: string
          format: uri
          description: Human KentekenKompas explanation target, distinct from sourceUrl.
        freshness:
          $ref: '#/components/schemas/Freshness'
        limitations:
          type: array
          items:
            $ref: '#/components/schemas/Limitation'
  parameters:
    IfNoneMatch:
      name: If-None-Match
      in: header
      required: false
      description: Return 304 when the representation ETag matches, including weak Cloudflare ETags.
      schema:
        type: string
        maxLength: 256
externalDocs:
  description: Human KentekenKompas website and methodology
  url: https://kentekenkompas.nl/methodologie