curl. Paste.
Done.
Create a ShareNotes note from a script, a CI pipeline, or your terminal — one POST request, no API key, no account. Pipe a log file in, get a shareable link back. Free, 20 requests a day per IP.
Is there a free API for creating shareable notes?
ShareNotes has a free public REST API that needs no API key and no account. POST plain text or JSON to https://sharenotes.dev/api/v1/notes and the response contains a shareable URL. JSON bodies accept a custom slug, an expiry of 1h, 24h, 7d or 30d, a PIN, a burnAfterRead flag for single-use notes, and maxViews to delete a note after a set number of reads. The rate limit is 20 note creations per day per IP address.
Built for scripts, not for sign-ups.
No API keys, none to leak.
Nothing to provision, store in a secrets manager, or rotate. The endpoint is open — rate limiting is the only gate.
No CAPTCHA to solve.
The web editor uses reCAPTCHA; the API doesn't, because a CI runner can't click a checkbox. That's exactly what this endpoint is for.
20 a day, free.
Per IP address, no tiers, no upsell. Enough for a script that posts a daily log digest or a CI job that shares a failing build's output.
Three endpoints. That's the whole API.
Send your content as a raw text/plain body, or as JSON (application/json or text/json) if you want a custom slug, an expiry timer, or PIN protection.
Response — 201 Created:
ownerToken makes you the note's owner: it deletes the note, and ownerUrl opens its Manage page in a browser (open count, timer, PIN, delete). Keep both out of public logs: anyone with them can change or delete the note.
20 requests per day per IP address. Every response includes RateLimit-* headers showing your remaining quota for the window. Exceeding the limit returns 429.
Returns the same note shape the editor itself uses: content, updatedAt, passwordRequired, title, expiresAt. 404 if the slug doesn't exist, 410 if it expired.
The note's text and nothing else, as text/plain — a link you can hand to curl, wget, an importer or a script. Every note has one; the Raw button on a note opens it. Notes sent through this API come back exactly as sent. Notes written in the web editor come back as the text you see in the note: line breaks and indentation kept, formatting dropped. https://sharenotes.dev/api/v1/notes/:slug/raw is the same endpoint.
Same rules as the JSON read: 404 / 410 as above, 401 for a note PIN-locked for viewing, and a delete-after-reading note is consumed by this read (link-preview bots get an empty body and don't consume it).
Raw links allow 120 requests a minute per IP. Across everyone, there is also a limit of 30 reads a minute of notes over 1 MB, and of 20 MB a minute of editor notes being converted to text. Over a limit you get 429 with Retry-After in seconds, and a refused read never uses up a delete-after-reading note.
With the ownerToken from the create response. Returns {"deleted": true, "slug": "…"}; the note is gone at once, and pages showing it are told. 401 without a token, 403 for a wrong one, 404 if the note isn't there. Wrong tokens are limited like wrong PINs: after 10, the note's owner checks pause for a while (429 with Retry-After).
If pastebinit stopped working for you after paste.ubuntu.com shut down, this config points it at ShareNotes instead. It works with pastebinit 1.5.1 (Ubuntu 20.04 and 22.04), 1.6.2 (24.04) and 1.7 / 1.8 (25.04 and later); we tested 1.5.1, 1.6.2 and 1.8.0. Why pastebinit broke, and other options.
Notes last 24 hours unless you pass -e 1h, 7d or 30d (-e needs pastebinit 1.7 or newer; check with pastebinit -v); -t sets a title. To make ShareNotes the default so you can drop -b, put <pastebinit><pastebin>sharenotes.dev</pastebin></pastebinit> in ~/.pastebinit.xml. View the config file.
ShareNotes runs a remote MCP server (use cases and setup), so an AI assistant can put text into a note and hand you the link, or read a ShareNotes link you give it. No key, no account.
In claude.ai, add it as a custom connector at claude.ai/customize/connectors. Any other client that supports remote MCP servers over Streamable HTTP takes the same URL.
Four tools. create_note publishes text and returns the link; notes expire after 7 days unless the assistant picks 1h, 24h or 30d, and can be delete-after-reading. read_note reads a note by link or name, a PIN-protected one only with the PIN you give it, and never a delete-after-reading one, because an assistant should not be able to destroy a one-time note meant for a person. check_item ticks a checklist item and add_to_note adds text at the end; neither deletes anything. Notes created this way share a limit of 500 per day across all assistants, and like every note made through the API or MCP they are stored on our server, not end-to-end encrypted.
Answers, briefly.
Do I need an API key?
No. The API is public and unauthenticated — there's no key to request, store, or rotate. Abuse is controlled purely by a per-IP rate limit.
What's the rate limit, and can I get more?
20 POST requests per day per IP address. There's currently no paid tier to raise that limit — it's a flat free limit for everyone.
Can I set an expiry or password through the API?
Yes, if you send a JSON body instead of plain text. Include expiresIn (one of 1h, 24h, 7d, 30d) for a self-destruct timer, or password plus passwordMode to PIN-protect the note.
Does it work with pastebinit?
Yes. Save the ShareNotes config into ~/.pastebin.d/, then pipe to pastebinit -b sharenotes.dev. Notes from pastebinit last 24 hours; with pastebinit 1.7 or newer, pass -e 1h, 7d or 30d to change that. Works with pastebinit 1.5.1 (Ubuntu 20.04 and 22.04) and newer.
Is there an official client library?
No — it's a plain REST API, so any HTTP client or curl works. There's no SDK to install.
Is the API stable? Will it change without warning?
The endpoint is versioned at /api/v1/ specifically so it can stay stable. Any breaking change would ship under a new /api/v2/ path rather than altering v1's behavior.
Why use text/plain instead of JSON?
It's the simplest way to pipe a file straight into a note from a shell script — curl --data-binary @file.txt with a text/plain Content-Type, no JSON escaping required. Use JSON only when you need options like a custom slug or expiry.