How do I authenticate with this API?
Create an API key in your Datpaq dashboard and send it with each request as a bearer token in the Authorization header.
A production-ready image processing REST API to resize, compress, convert, crop, and run multi-step pipelines. Designed for reliability with consistent outputs, health checks, metrics, and predictable error handling.
One request, multiple operations. Ideal for “ingest then optimize” flows.
{
"image_url": "https://example.com/image.jpg",
"operations": [
{ "operation": "resize", "width": 512, "height": 512 },
{ "operation": "convert", "format": "webp" },
{ "operation": "metadata" }
],
"output": { "type": "json" }
}Monitoring routes + consistent error shapes make it easy to operate.
https://datpaq.com/api/v1/image-processing/health
Status, version, uptime, environment, temp directory.
https://datpaq.com/api/v1/image-processing/metrics
Prometheus request counts, histograms, and error rate.
Supported formats
Legacy routes
{
"error": "Unsupported image format",
"correlationId": "req-123456789"
}Common failure cases return clear HTTP codes + a correlation ID for debugging.
FAQ
Create an API key in your Datpaq dashboard and send it with each request as a bearer token in the Authorization header.
Yes. Datpaq APIs include a free tier for building, testing, and small production workloads before you move to a paid plan.
Datpaq APIs use REST over HTTPS and return JSON by default. Endpoint docs show the supported methods, query parameters, request bodies, and response fields.
Each API documents rate limits, validation rules, and error responses in the landing page and API docs so integrations can retry and fail cleanly.
Replace ad-hoc scripts with a stable API: resize for thumbnails, convert to WebP, compress for performance, and monitor it all in production.