Radix Wiki Auth API

The Auth API from Radix Wiki — 2 operation(s) for auth.

GitHub OpenAPI

Operations 2

GET /api/auth/challenge Request a ROLA challenge #
POST /api/auth Verify a signed challenge and create a session #

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/radix-wiki:radix-wiki-auth-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

radix-wiki-auth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Radix Wiki Auth API
  version: 4.0.0
  description: REST API for RADIX.wiki, the community-maintained knowledge base for Radix DLT. Reads are open. Writes require a ROLA bearer token — see the signing walkthrough at https://radix.wiki/AGENTS.md. MCP-speaking agents should prefer the MCP server at https://radix.wiki/api/mcp (this API backs its tools, so semantics are identical). Content is licensed under the Creative Commons Attribution 4.0 International (CC-BY-4.0).
  license:
    name: Creative Commons Attribution 4.0 International
    identifier: CC-BY-4.0
servers:
- url: https://radix.wiki
tags:
- name: Auth
paths:
  /api/auth/challenge:
    get:
      summary: Request a ROLA challenge
      description: 32-byte hex challenge, 5-minute expiry, one-time use.
      responses:
        '200':
          description: Challenge issued
          content:
            application/json:
              schema:
                type: object
                properties:
                  challenge:
                    type: string
                  expiresAt:
                    type: string
                    format: date-time
      tags:
      - Auth
      operationId: getApiAuthChallenge
      x-operation-id-source: derived
  /api/auth:
    post:
      summary: Verify a signed challenge and create a session
      description: Sign the blake2b-256 hash of `R` (ASCII) + the challenge (hex-decoded) + one byte holding the length of the dAppDefinitionAddress + that address (UTF-8) + the origin (UTF-8), with Ed25519 (curve25519), and hex-encode the signature. The public key must be an on-ledger `owner_keys` entry for the account.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - accounts
              - signedChallenge
              properties:
                accounts:
                  type: array
                  items:
                    type: object
                    required:
                    - address
                    properties:
                      address:
                        type: string
                      label:
                        type: string
                signedChallenge:
                  type: object
                  required:
                  - challenge
                  - address
                  - proof
                  properties:
                    challenge:
                      type: string
                    address:
                      type: string
                    proof:
                      type: object
                      required:
                      - publicKey
                      - signature
                      - curve
                      properties:
                        publicKey:
                          type: string
                          description: Hex Ed25519 public key
                        signature:
                          type: string
                          description: Hex Ed25519 signature
                        curve:
                          type: string
                          enum:
                          - curve25519
                          - secp256k1
      responses:
        '200':
          description: Session created (7-day expiry)
          content:
            application/json:
              schema:
                type: object
                properties:
                  token:
                    type: string
                    description: 'JWT for `Authorization: Bearer`. Omitted for a browser request (one carrying `Sec-Fetch-Site`), which is authenticated by the httpOnly session cookie instead.'
                  userId:
                    type: string
                  radixAddress:
                    type: string
                  expiresAt:
                    type: string
                    format: date-time
                  isNewUser:
                    type: boolean
        '401':
          description: Signature verification failed
      tags:
      - Auth
      operationId: postApiAuth
      x-operation-id-source: derived
components:
  securitySchemes:
    rolaBearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'ROLA (Radix On-Ledger Authentication) session token from the challenge-sign-verify flow: GET /api/auth/challenge, sign with the account''s Ed25519 key, POST /api/auth. Full spec: https://radix.wiki/AGENTS.md'