Hjarni Notes API

Markdown notes, their links, revision history and Trash.

GitHub OpenAPI

Operations 19

GET /notes List notes #
POST /notes Create a note #
GET /notes/inbox List inbox notes #
GET /notes/trash List notes in the Trash #
GET /notes/{id} Get a note #
PATCH /notes/{id} Update a note #
PUT /notes/{id} Update a note (PUT) #
DELETE /notes/{id} Move a note to the Trash #
PATCH /notes/{id}/archive Archive a note #
PATCH /notes/{id}/unarchive Unarchive a note #
PATCH /notes/{id}/move Move a note to another folder #
PATCH /notes/{id}/favorite Favorite a note #
PATCH /notes/{id}/unfavorite Unfavorite a note #
POST /notes/{id}/link Link two notes #
DELETE /notes/{id}/unlink Remove the link between two notes #
GET /notes/{id}/linked List linked notes #
GET /notes/{id}/history List a note's revisions #
POST /notes/{id}/revert Revert a note to an earlier revision #
POST /notes/{id}/restore Restore a note from the Trash #

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/hjarni-com:hjarni-com-notes-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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

hjarni-com-notes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Hjarni REST Notes API
  version: 1.0.0
  description: Hjarni is a Markdown knowledge base that AI assistants and people share; this API reads and writes the same notes, folders (called containers) and tags that its MCP server exposes. Requests go to https://hjarni.com/api/v1 with a bearer token in the Authorization header, send and receive JSON, and list endpoints page with `page` and `per_page` and report totals in the `X-Total-Count`, `X-Page` and `X-Per-Page` headers. Requests are limited to 100 a minute per account across all of its tokens, and going over answers 429 with a `Retry-After` header.
  termsOfService: https://hjarni.com/terms
  contact:
    name: Hjarni
    email: evert@hjarni.com
    url: https://hjarni.com/docs/api
servers:
- url: https://hjarni.com/api/v1
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (50 KB total) ---
# Full source: https://artifacts.apis.io/hjarni-com/openapi/hjarni-com-notes-api-openapi.yml