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:

  1. Your server calls POST /v1/media/upload-request to get a signed upload URL.
  2. The file is sent with PUT straight to object storage (Cloudflare R2).
  3. A background queue processes the image and produces thumb, small, medium and large WebP variants.
  4. 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-Key header, keeping keys on the server, key rotation and Idempotency-Key.
  • Uploads: Every upload-request field and limit, outputFormats, tags, metadata, the PUT step and the status lifecycle.
  • Variants and CDN: Default variants, the CDN URL format, the token parameter and a srcset/sizes example.
  • Listing and filtering: GET /v1/media query 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

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=avif will return any size and format on demand. AVIF output and automatic format selection based on the Accept header 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.ready and asset.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.