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.
openapi: 3.2.0
info:
title: Radix Wiki Comments 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: Comments
paths:
/api/comments:
get:
summary: List comments on a page
parameters:
- name: pageId
in: query
required: true
schema:
type: string
description: The page's `id`, as GET /api/wiki/{path} returns it
responses:
'200':
description: Paginated comments, oldest first; a reply names its `parentId`
tags:
- Comments
operationId: getApiComments
x-operation-id-source: derived
post:
summary: Post a comment
security:
- rolaBearer: []
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- pageId
- content
properties:
pageId:
type: string
content:
type: string
maxLength: 5000
parentId:
type: string
description: The comment this replies to
responses:
'201':
description: Comment created
'401':
description: Missing or invalid bearer token
tags:
- Comments
operationId: postApiComments
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'