RiskRouter Keys API

The Keys API from RiskRouter — 1 operation(s) for keys.

GitHub OpenAPI

Operations 1

POST /api/v1/sandbox/keys Issue a self-serve sandbox key, shown once #

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/riskrouter-eu:riskrouter-eu-keys-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

riskrouter-eu-keys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: RiskRouter Keys API
  version: 1.0.0
  summary: Deterministic micro-insurance pricing and a tamper-evident, independently verifiable audit ledger for licensed insurance distributors.
  description: 'RiskRouter is infrastructure for insurance distributors: it prices a configuration server-side and, when a distributor key is presented, records the quote in an append-only, SHA-256 hash-chained ledger whose head is signed (ECDSA P-256) so anyone can verify it offline.


    Status, stated plainly: this is a validation build. Prices come from a published mock rating matrix, no carrier, bank or payment rail is contacted, and no insurance cover is in force. RiskRouter does not sell insurance and never contacts the policyholder.


    Pricing needs no authentication. Recording needs a key; a sandbox key can be taken on the spot from POST /api/v1/sandbox/keys. Keys are sent as `Authorization: Bearer ` or `X-RiskRouter-Key: `. Only the SHA-256 of a key is ever stored.


    Human-readable reference: https://riskrouter.eu/docs. Offline verifier: https://github.com/aniljangrabe-dev/riskrouter-verify.'
  contact:
    name: RiskRouter
    url: https://riskrouter.eu/contact
servers:
- url: https://api.riskrouter.eu
tags:
- name: Keys
paths:
  /api/v1/sandbox/keys:
    post:
      tags:
      - Keys
      operationId: issueSandboxKey
      summary: Issue a self-serve sandbox key, shown once
      description: 'No account and nothing about the caller is stored. The key is returned once; only its SHA-256 digest is kept. Limits are enforced by the database: 50 recorded entries per key per day and a shared hourly allowance of new keys. Sandbox only.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - acknowledge_permanent
              properties:
                acknowledge_permanent:
                  type: boolean
                  const: true
                  description: Entries recorded with the key are written to an append-only ledger and can never be deleted. Must be the boolean true.
                src:
                  type: string
                  description: Optional campaign tag of the link the visitor arrived through. A malformed tag is dropped, never refused.
            example:
              acknowledge_permanent: true
      responses:
        '201':
          description: Issued. The key appears in this response and nowhere else.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SandboxKey'
        '400':
          $ref: '#/components/responses/Error'
        '413':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
        '503':
          $ref: '#/components/responses/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        ok:
          type: boolean
          const: false
        error:
          type: object
          required:
          - code
          - message
          - docs
          properties:
            code:
              type: string
            message:
              type: string
            docs:
              type: string
              format: uri
              description: The row of the error table on https://riskrouter.eu/docs that explains this code and what to do about it.
            details: {}
    SandboxKey:
      type: object
      properties:
        ok:
          type: boolean
        key:
          type: string
          pattern: ^rr_sandbox_[0-9a-f]{48}$
        key_prefix:
          type: string
        environment:
          type: string
          const: sandbox
        distributor:
          type: object
          properties:
            id:
              type: string
              format: uuid
            slug:
              type: string
        warning:
          type: string
        limits:
          type: object
          properties:
            ledger_entries_per_day:
              type: integer
            production:
              type: string
        next_steps:
          type: array
          items:
            type: object
            properties:
              step:
                type: string
              command:
                type: string
              url:
                type: string
        generated_at:
          type: string
          format: date-time
  responses:
    Error:
      description: Every error carries the same envelope with a stable code.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerKey:
      type: http
      scheme: bearer
      description: A RiskRouter API key, e.g. rr_sandbox_…
    headerKey:
      type: apiKey
      in: header
      name: X-RiskRouter-Key
externalDocs:
  description: Integration guide
  url: https://riskrouter.eu/integrate