Unmarkdown Demo API

The Demo API from Unmarkdown, for demo.

GitHub OpenAPI

Operations 2

POST /demo/publish Publish a demo page (no authentication required) #
POST /demo/claim Claim a demo document #

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/unmarkdown-com:unmarkdown-com-demo-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

unmarkdown-com-demo-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Unmarkdown Demo API
  version: 1.0.0
  description: Markdown publishing platform API. Turn markdown into beautiful, hosted web pages in one API call. Supports 62 templates, Mermaid diagrams, Chart.js charts, Graphviz graphs, KaTeX math, and more.
  contact:
    name: Unmarkdown
    url: https://unmarkdown.com/developers
servers:
- url: https://api.unmarkdown.com/v1
  description: Production
security:
- bearerAuth: []
tags:
- name: Demo
paths:
  /demo/publish:
    post:
      operationId: demoPublish
      summary: Publish a demo page (no authentication required)
      description: Creates a temporary published page without requiring authentication. Pages expire after 72 hours. Use the returned claim_token with POST /demo/claim to permanently save the document to your account. Ideal for LLM agents, quick demos, and try-before-you-sign-up flows.
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DemoPublishRequest'
            example:
              title: Quick Demo
              content: '# Hello World


                This page was published via the API.'
              template_id: github
              theme_mode: light
      responses:
        '201':
          description: Demo page published
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DemoPublishResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '500':
          $ref: '#/components/responses/InternalError'
      tags:
      - Demo
  /demo/claim:
    post:
      operationId: claimDemoDocument
      summary: Claim a demo document
      description: Transfers ownership of a demo page to your account, making it permanent. Requires the claim_token returned from POST /demo/publish. The document gets a new URL under your username. Supports both API key and session cookie authentication.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClaimRequest'
            example:
              claim_token: 550e8400-e29b-41d4-a716-446655440000
      responses:
        '200':
          description: Document claimed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClaimResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '410':
          description: Demo page expired
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          $ref: '#/components/responses/InternalError'
      tags:
      - Demo
components:
  schemas:
    DemoPublishResponse:
      type: object
      properties:
        url:
          type: string
          format: uri
        claim_token:
          type: string
          format: uuid
        expires_at:
          type: string
          format: date-time
        template_id:
          type: string
        id:
          type: string
          format: uuid
    ClaimResponse:
      type: object
      properties:
        id:
          type: string
          format: uuid
        title:
          type: string
        published_url:
          type: string
          format: uri
        slug:
          type: string
        template_id:
          type: string
    DemoPublishRequest:
      type: object
      required:
      - content
      properties:
        content:
          type: string
          description: Markdown content (max 100KB)
        title:
          type: string
          default: Untitled
        template_id:
          type: string
          default: swiss
        theme_mode:
          type: string
          enum:
          - light
          - dark
          default: light
    ClaimRequest:
      type: object
      required:
      - claim_token
      properties:
        claim_token:
          type: string
          format: uuid
          description: Token from demo publish response
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            status:
              type: integer
          required:
          - code
          - message
          - status
  responses:
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: not_found
              message: Document not found
              status: 404
    BadRequest:
      description: Invalid request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: validation_error
              message: markdown field is required
              status: 400
    Unauthorized:
      description: Authentication required
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: unauthorized
              message: 'Missing Authorization header. Use: Bearer um_your_key'
              status: 401
    InternalError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: internal_error
              message: An unexpected error occurred
              status: 500
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key with um_ prefix. Create keys in Settings > API tab.