# Responses

> Shotfly API response headers, the JSON response with page metadata, and the error format.

- `X-Request-Id`: quote it when contacting support.
- `X-Cache`: `HIT` or `MISS`.
- `X-Credits-Charged`: credits this request cost (0 for failures and cache hits).
- `X-Render-Outcome`: `ok`, or why the render failed.
- `RateLimit-Limit`, `RateLimit-Remaining`, `RateLimit-Reset`.

With `response_type=json` you get `url` (a link valid for one hour), dimensions, `credits_charged` and page `metadata` (title, description, Open Graph image, favicon).

Errors are JSON: `{ "error": { "code", "message", "request_id", "docs_url" } }`. See [error codes](https://shotfly.dev/docs/errors).

---

Source: https://shotfly.dev/docs/responses · Last updated 2026-11-27
