GET /api/pastes
Create a public paste.
contentquery · required- UTF-8 paste content, maximum 1 MiB.
titlequery- Optional title.
languagequery- Language label. Default:
"text".
Everything you submit here is recorded and kept. We store every request and response, including the full text of every paste, your IP address, approximate location, and network/browser fingerprints. By using freepastebin.com, you understand and agree to this. Data notice →
Free pastebin for text and code. Create a paste, share a link, and download raw text. No account needed.
Base URL: https://freepastebin.com. Public access with no accounts, API keys or application rate limits. All APIs support cross-origin requests. Use the OpenAPI specification for machine-readable request and response schemas.
Send POST bodies as JSON or URL-encoded form data unless an endpoint specifies a raw body. Errors return JSON with error.code and error.message. See the usage notes for request bounds and usage notes.
GET /api/pastesCreate a public paste.
content query · requiredtitle querylanguage query"text".POST /api/pastesCreate a public paste.
content body · requiredtitle bodylanguage body"text".GET /api/pastes/{id}Retrieve paste content and metadata.
id path · requiredGET /raw/{id}Retrieve raw UTF-8 text. Supports HEAD and If-None-Match.
id path · requiredGET /{id}View escaped paste HTML.
id path · requiredGET /docsServer-rendered HTML API reference.
GET /robots.txtCrawler access rules and sitemap location.
GET /sitemap.xmlPublic documentation sitemap.
GET /healthWorker liveness (does not probe external dependencies).
GET /llms.txtPlain-text agent usage guide.