Unmarkdown Convert API

The Convert API from Unmarkdown, for convert.

GitHub OpenAPI

Operations 1

POST /convert Convert markdown to destination-specific output #

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-convert-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-convert-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Unmarkdown Convert 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: Convert
paths:
  /convert:
    post:
      operationId: convertMarkdown
      summary: Convert markdown to destination-specific output
      description: Converts markdown to HTML optimized for a specific destination (Google Docs, Word, Slack, OneNote, Email, or plain text). Does not save the document. Use this when you need formatted output for pasting into other applications.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConvertRequest'
            example:
              markdown: '# Hello World


                This is a **bold** statement.'
              destination: google-docs
              template_id: swiss
              theme_mode: light
      responses:
        '200':
          description: Conversion successful
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConvertResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
      tags:
      - Convert
components:
  schemas:
    ConvertResponse:
      type: object
      properties:
        html:
          type: string
        plain_text:
          type: string
        destination:
          type: string
        template_id:
          type: string
        theme_mode:
          type: string
    ConvertRequest:
      type: object
      required:
      - markdown
      properties:
        markdown:
          type: string
          description: Markdown content to convert (max 100KB)
        destination:
          type: string
          enum:
          - google-docs
          - email
          - word
          - slack
          - onenote
          - plain-text
          - generic
          - html
          default: generic
          description: Target format for the conversion output
        template_id:
          type: string
          default: swiss
          description: Template ID to apply for styling
        theme_mode:
          type: string
          enum:
          - light
          - dark
          default: light
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            status:
              type: integer
          required:
          - code
          - message
          - status
  responses:
    RateLimited:
      description: Rate limit or quota exceeded
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: rate_limited
              message: 'Rate limit exceeded. Limit: 10 req/sec'
              status: 429
    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
    BadRequest:
      description: Invalid request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: validation_error
              message: markdown field is required
              status: 400
    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.