Rijwind Tiles API

Short-lived signed URLs for the vector basemap.

GitHub OpenAPI

Operations 2

GET /tiles/v1/token Sign a tile-server URL #
GET /tiles/v1/terrain/{z}/{x}/{y} Terrain DEM tile (for Outdoor-style contour lines) #

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/rijwind-com:rijwind-com-tiles-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

rijwind-com-tiles-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rijwind Com Tiles API
  version: 1.0.0
  contact:
    name: Rijwind support
    url: https://rijwind.com
    email: info@rijwind.com
  license:
    name: Terms of service
    url: https://rijwind.com/terms
  description: 'Operations tagged Tiles across 2 of this provider''s published API definitions: rijwind-com-openapi-openapi.json, rijwind-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.rijwind.com
  description: Production
tags:
- name: Tiles
  description: Short-lived signed URLs for the vector basemap.
paths:
  /tiles/v1/token:
    get:
      tags:
      - Tiles
      summary: Sign a tile-server URL
      description: 'Returns a short-lived, IP-bound signed URL for the vector basemap. Feed it to MapLibre''s `pmtiles://` protocol handler. Pass a stable `session` id (one per map instance) so background URL refreshes within the session are billed once — the `@rijwind/sdk` tile-session helper manages this for you.


        **Quota cost:** 1 unit per tile session; refreshes within the same session are free. Omit `session` to be billed per request instead.'
      operationId: sign_tile_url
      parameters:
      - name: session
        in: query
        description: Stable, client-minted identifier for the map instance (e.g. a UUID, `[A-Za-z0-9_-]`, ≤128 chars). The first token for a session is billed 1 unit; subsequent tokens for the same session within the session window are free. Omit to be billed per request.
        required: false
        schema:
          type: string
        example: 8f14e45f-ceea-467a-9e0b-1c2d3e4f5a6b
      responses:
        '200':
          description: Signed URL.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SignedTileUrl'
        '401':
          description: Missing, malformed, or revoked API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Origin not in the project's allow-list.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Monthly quota exhausted (hard-cap plans only).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
      - ApiKey: []
    servers:
    - url: https://api.rijwind.com
      description: Production
  /tiles/v1/terrain/{z}/{x}/{y}:
    get:
      description: 'Raw elevation tiles that power the **Outdoor** style''s contour lines. The `@rijwind/sdk` `Map` wires these up automatically when you use `MapStyle.OUTDOOR`. Integrating without the SDK? Point a contour generator such as maplibre-contour at this URL (Terrarium encoding, max zoom 12) and pass your key as `?key=` — contour generators run in a web worker and can''t send an `Authorization` header, so the key rides the query string (use an origin-restricted key). Tiles are Terrarium-encoded WebP.


        **Quota cost:** free — terrain tiles are part of the map session, billed once when the session opens (see `/tiles/v1/token`).'
      operationId: get_terrain_tile
      parameters:
      - description: Zoom level (0–12).
        example: 12
        in: path
        name: z
        required: true
        schema:
          format: int32
          minimum: 0
          type: integer
      - description: Tile column.
        example: 2116
        in: path
        name: x
        required: true
        schema:
          format: int32
          minimum: 0
          type: integer
      - description: Tile row (an optional `.webp`/`.png` suffix is accepted).
        example: 1375
        in: path
        name: y
        required: true
        schema:
          format: int32
          minimum: 0
          type: integer
      responses:
        '200':
          content:
            image/webp: {}
          description: Terrarium-encoded WebP terrain tile.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Zoom out of range or malformed tile coordinate.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Missing, malformed, or revoked API key.
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Origin not in the project's allow-list.
        '404':
          description: No terrain tile at this coordinate (e.g. open ocean).
      security:
      - ApiKey: []
      summary: Terrain DEM tile (for Outdoor-style contour lines)
      tags:
      - Tiles
    servers:
    - description: Production
      url: https://api.rijwind.com
components:
  schemas:
    ErrorResponse:
      type: object
      description: Standard error envelope. The `error` field is a stable, machine-readable code; the `message` field is for humans and may be rewritten for clarity between releases.
      required:
      - error
      - message
      properties:
        error:
          type: string
          description: Machine-readable error code, e.g. `quota_exhausted`.
          example: quota_exhausted
        message:
          type: string
          description: Human-readable explanation.
          example: Monthly request quota exceeded for this key.
    SignedTileUrl:
      type: object
      description: Short-lived signed URL pointing at the basemap on `cdn.rijwind.com`. The signature is bound to the requester's IP and expires after a short TTL — refresh it within a tile session rather than re-signing on a fixed schedule (the `@rijwind/sdk` tile-session helper does this for you).
      required:
      - url
      - expiresAt
      properties:
        expiresAt:
          type: integer
          format: int64
          description: Unix timestamp (seconds) when the signature expires.
          example: 1715680000
        url:
          type: string
          description: Signed URL ready to feed to MapLibre's `pmtiles://` protocol handler.
          example: https://cdn.rijwind.com/tiles/planet.pmtiles?token=2Tw9…&expires=1715680000
    SignedTileUrl_2:
      description: Short-lived signed URL pointing at the basemap on `cdn.rijwind.com`. The signature is bound to the requester's IP and expires after a short TTL — refresh it within a tile session rather than re-signing on a fixed schedule (the `@rijwind/sdk` tile-session helper does this for you).
      properties:
        buildings:
          $ref: '#/components/schemas/BuildingsAccess'
          description: 'Access descriptor for the 3D-buildings tilesets. Always included —

            rendering 3D buildings is part of the same tile session, so it adds

            no quota cost. Compose the per-country tileset URL as

            `{baseUrl}/{CC}/tileset.json?{query}` and append the same query to

            every tile it references. Refresh together with the tile URLs.'
        expiresAt:
          description: Unix timestamp (seconds) when the signature expires.
          example: 1715680000
          format: int64
          type: integer
        imagery:
          description: 'Every satellite / aerial imagery archive available to this session,

            bottom → top: draw them in this order (later entries above earlier

            ones — country aerials, highest resolution last). The named

            `satellite…Url` fields above point at the same archives and stay for

            existing integrations; new countries only appear here. Empty when no

            imagery is available. Same session, no extra quota cost.'
          items:
            $ref: '#/components/schemas/ImageryLayer'
          type: array
        satelliteBaseUrl:
          description: 'Signed URL for the global base imagery archive (raster, z0–7) — ocean

            bathymetry and polar ice. Layer it BELOW the satellite source: the

            satellite mosaic covers land only, so this is what fills open water

            and the poles. Same session, no extra quota cost.'
          example: https://cdn.rijwind.com/tiles/satellite-base.pmtiles?token=2Nc5…&expires=1715680000
          type:
          - string
          - 'null'
        satelliteBesUrl:
          description: 'Signed URL for the Caribbean Netherlands aerial archive (raster,

            z13–21). A separate source from the mainland one — it reaches a deeper

            zoom — layered the same way. Same session, no extra quota cost.'
          example: https://cdn.rijwind.com/tiles/satellite-nl-bes.pmtiles?token=5Rt9…&expires=1715680000
          type:
          - string
          - 'null'
        satelliteNlUrl:
          description: 'Signed URL for the high-resolution Netherlands aerial archive

            (raster, z13–18) — layer it above the global satellite source.

            Same session, no extra quota cost. Kept for existing integrations;

            `imagery` lists this archive and every other covered country.'
          example: https://cdn.rijwind.com/tiles/satellite-nl.pmtiles?token=4Xp8…&expires=1715680000
          type:
          - string
          - 'null'
        satelliteOceanUrl:
          description: 'Signed URL for the water-only overlay (raster, z0–7). Draw it ABOVE the

            satellite source and fade it out past ~z9: the satellite mosaic covers

            water poorly, so this renders the sea instead. Same session, no extra

            quota cost.'
          example: https://cdn.rijwind.com/tiles/satellite-ocean.pmtiles?token=8Yh3…&expires=1715680000
          type:
          - string
          - 'null'
        satelliteUrl:
          description: 'Signed URL for the global satellite imagery archive (raster, z0–13).

            Feed it to a MapLibre `raster` source for the Satellite / Hybrid

            styles. Present once satellite imagery is available on the account''s

            region; rendering it is part of the same tile session, so it adds no

            quota cost. Refresh together with the tile URLs.'
          example: https://cdn.rijwind.com/tiles/satellite.pmtiles?token=7Kd2…&expires=1715680000
          type:
          - string
          - 'null'
        terrainUrl:
          description: 'Signed URL for the optional terrain (elevation) archive — feed it to a

            MapLibre `raster-dem` source with `encoding: "terrarium"` for hillshade

            or 3D terrain. Shares this session''s expiry; refresh both together.

            Rendering terrain is part of the same tile session, so it adds no quota

            cost.'
          example: https://cdn.rijwind.com/tiles/terrain.pmtiles?token=9bQ1…&expires=1715680000
          type: string
        traffic:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/TrafficAccess'
            description: 'Present when the request opted into the live traffic layer via

              `?traffic=`. Compose artifact URLs as `{baseUrl}/{path}?{query}` —

              the signed query validates for every traffic artifact, so the

              rotating live-state filenames need no re-signing. Refresh together

              with the tile URLs.'
        url:
          description: Signed URL ready to feed to MapLibre's `pmtiles://` protocol handler.
          example: https://cdn.rijwind.com/tiles/planet.pmtiles?token=2Tw9…&expires=1715680000
          type: string
      required:
      - url
      - expiresAt
      - terrainUrl
      - imagery
      - buildings
      type: object
    BuildingsAccess:
      description: 'Access descriptor for the 3D-buildings tilesets (OGC 3D Tiles, real roof shapes): a CDN base URL plus a signed query string that validates for every tileset artifact beneath it. The `@rijwind/sdk` `Map` consumes this automatically when 3D buildings are shown.'
      properties:
        baseUrl:
          description: Buildings CDN origin to prepend to tileset paths.
          example: https://cdn.rijwind.com/buildings
          type: string
        countries:
          description: 'Countries with 3D-building coverage (ISO 3166-1 alpha-2). The

            tileset for a country lives at `{baseUrl}/{CC}/tileset.json`.'
          example:
          - NL
          items:
            type: string
          type: array
        coverage:
          additionalProperties:
            items:
              format: double
              type: number
            type: array
          description: 'Bounding box `[west, south, east, north]` (WGS84) per covered country —

            use it to load a country''s tileset only when the viewport reaches it.'
          example:
            NL:
            - 3.2
            - 50.7
            - 7.3
            - 53.6
          propertyNames:
            type: string
          type: object
        expiresAt:
          description: Unix timestamp (seconds) when the signature expires.
          example: 1715680000
          format: int64
          type: integer
        query:
          description: Signed query string — append after `?` on any tileset artifact URL.
          example: token=9bQ1…&expires=1715680000&token_path=%2Fbuildings%2F
          type: string
      required:
      - baseUrl
      - query
      - expiresAt
      - countries
      - coverage
      type: object
    TrafficAccess:
      description: 'Access descriptor for the live traffic layer: a CDN base URL plus a signed query string that validates for every traffic artifact (geometry tiles, live state, incidents) beneath it.'
      properties:
        baseUrl:
          description: Traffic CDN origin to prepend to artifact paths.
          example: https://cdn.rijwind.com/traffic
          type: string
        countries:
          description: Countries included in this grant (ISO 3166-1 alpha-2).
          example:
          - NL
          items:
            type: string
          type: array
        expiresAt:
          description: Unix timestamp (seconds) when the signature expires.
          example: 1715680000
          format: int64
          type: integer
        query:
          description: Signed query string — append after `?` on any artifact URL.
          example: token=9bQ1…&expires=1715680000&token_path=%2F
          type: string
      required:
      - baseUrl
      - query
      - expiresAt
      - countries
      type: object
    ImageryLayer:
      description: One satellite or aerial imagery archive (raster PMTiles) in the session. Feed `url` to a MapLibre `raster` source through the `pmtiles://` protocol.
      properties:
        attribution:
          description: 'Required credit as an HTML snippet — put it in the source''s

            `attribution` so it shows in the map''s attribution control. `null`

            when the source needs none.'
          example: 'Luchtfoto: <a href="https://www.beeldmateriaal.nl" target="_blank" rel="noreferrer">Beeldmateriaal.nl</a> CC BY 4.0'
          type:
          - string
          - 'null'
        bounds:
          description: '`[west, south, east, north]` (WGS84); `null` = global.'
          example:
          - 3.2
          - 50.7
          - 7.3
          - 53.6
          items:
            format: double
            type: number
          type:
          - array
          - 'null'
        country:
          description: Country the archive covers (ISO 3166-1 alpha-2); `null` = global.
          example: NL
          type:
          - string
          - 'null'
        id:
          description: Stable identifier of the archive (also a good MapLibre source id).
          example: satellite-nl
          type: string
        maxzoom:
          description: Deepest zoom with tiles; beyond it the layer is overzoomed.
          example: 18
          format: int32
          minimum: 0
          type:
          - integer
          - 'null'
        minzoom:
          description: 'Lowest zoom with tiles (cross-fade an `aerial` layer in over the

            half zoom level above it).'
          example: 13
          format: int32
          minimum: 0
          type:
          - integer
          - 'null'
        region:
          description: Optional part of the country, e.g. `Caribisch Nederland`.
          example: null
          type:
          - string
          - 'null'
        role:
          description: 'Where it sits in the stack: `base` (fills open ocean and the poles),

            `mosaic` (global satellite), `ocean` (water overlay — fade it out

            past ~z9), `aerial` (high-resolution country imagery).'
          example: aerial
          type:
          - string
          - 'null'
        url:
          description: Signed archive URL; refresh together with the tile URLs.
          example: https://cdn.rijwind.com/tiles/satellite-nl.pmtiles?token=4Xp8…&expires=1715680000
          type: string
      required:
      - id
      - url
      type: object
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer
      bearerFormat: rw_live_…
      description: Pass your API key as a Bearer token in the `Authorization` header. Keys are scoped to a project; their plain text is shown once at creation in the dashboard. Keys starting with `rw_test_` use the same routes but are intended for staging/CI.
x-refined-from:
- rijwind-com-openapi-openapi.json
- rijwind-com-openapi.json