API
No auth. Rate limit: 100 req/min. Base URL: https://paste.db9.ai
POST
/api/paste| content * | string | Markdown content |
| chunk_size | number | Chars per chunk. Default: 200 |
| ttl_minutes | number | Minutes until expiry. Default: 300 (5h) |
$ curl -s -X POST https://paste.db9.ai/api/paste \ -H 'Content-Type: application/json' \ -d '{"content": "# Hello", "chunk_size": 200}' {"url":"https://paste.db9.ai/p/x7kQ...","id":"x7kQ..."}
GET
/p/{id}Returns full markdown.
$ curl -s https://paste.db9.ai/p/{id}
GET
/p/{id}?q=...&limit=N| q | string | Semantic search query |
| limit | number | Max results. Default: 3 |
$ curl -s "https://paste.db9.ai/p/{id}?q=deploy&limit=1" ## Deploy Use Vercel preview for staging.
Pastes auto-expire. No auth, no rate limit, free.
Content > 100 chars is auto-indexed for semantic search.