Nooknear API documentation
The Nooknear API documentation covers a REST API that takes your image uploads, turns them into WebP variants and serves them through a CDN with no bandwidth fees. The API is at version v0.1, lives at https://api.nooknear.com, and is already used in production by a restaurant menu platform and an events app.
The flow in four steps:
- Your server calls
POST /v1/media/upload-requestto get a signed upload URL. - The file is sent with
PUTstraight to object storage (Cloudflare R2). - A background queue processes the image and produces
thumb,small,mediumandlargeWebP variants. - You call
GET /v1/media/:assetId, take the variant URLs and drop them into an<img srcset>.
Pages
Getting started
- Quickstart: Upload your first image and show it on a page in a few minutes, with curl, Node.js and browser examples.
- Authentication: The
X-API-Keyheader, keeping keys on the server, key rotation andIdempotency-Key. - Uploads: Every upload-request field and limit,
outputFormats, tags, metadata, thePUTstep and the status lifecycle. - Variants and CDN: Default variants, the CDN URL format, the
tokenparameter and asrcset/sizesexample. - Listing and filtering:
GET /v1/mediaquery parameters, tag and metadata filters, updates and deletes. - GDPR: Data export (NDJSON), data deletion and the audit log.
- Errors and limits: The error body, status codes, rate limit headers, quotas and safe retries.
API
- API reference: Every customer-facing endpoint with method, path, parameters and example requests and responses. Interactive Swagger UI: api.nooknear.com/documentation.
Available today
| Feature | Status |
|---|---|
| API key authentication, key rotation | Available |
| Signed (presigned) direct uploads, JPEG, PNG, WebP, GIF and AVIF up to 10 MB | Available |
Automatic WebP variants (thumb, small, medium, large) |
Available |
| Optional full-size JPEG variant (for example, for Instagram) | Available |
| Delivery through the Cloudflare CDN with no egress fees | Available |
| Tag and metadata filtering | Available |
| Usage, audit log, GDPR export and delete endpoints | Available |
Rate limiting, quota checks, Idempotency-Key |
Available |
Coming soon
These are on the roadmap and are not in the API today:
- Web dashboard: You will be able to manage keys, usage and images from the browser. Today, keys are created by our team when you sign up and sent to you.
- On-the-fly URL transforms: Parameters such as
?w=600&format=avifwill return any size and format on demand. AVIF output and automatic format selection based on theAcceptheader are planned too. - Upload SDK and drop-in component: A TypeScript SDK and a drag-and-drop upload widget.
- Webhooks: Signed notifications for events such as
asset.readyandasset.failed. Until then, poll the asset status. - Projects and teams: Multiple projects per account, with per-project keys and quotas.
- AI features: Automatic alt text, background removal, upscaling and smart cropping.
See the pricing page for plans.