Errors

All errors share one envelope:

{ "error": { "code": "rate_limited", "status": 429, "message": "…", "retry_after_s": 37,
  "docs_url": "https://api.spritefetch.dev/docs/errors#rate_limited", "request_id": "req_…" } }
CodeHTTPMessage / what to do
invalid_parameter400A parameter is invalid. param names it.
invalid_cursor400The cursor is malformed or expired. Start the search again without a cursor.
inline_too_large400MCP download inline is limited to 1 MiB. Fetch file_url instead.
invalid_api_key401That API key didn't work. Check it, or remove it to keep searching without one.
maintainer_only403include=pending needs a maintainer key.
not_found404No such asset, version, or pack. Pending assets also return 404 publicly.
method_not_allowed405Only GET and HEAD are supported (POST for /mcp).
gone410Not available for download. This asset was rejected, so its file URLs return 410 Gone. The body includes a tombstone asset object.
rate_limited429You've hit the search limit for now. Try again in a moment, or add a free API key for higher limits. See Retry-After.
internal_error500Something went wrong. Quote the request_id at support@spritefetch.com.
unavailable503The catalog (or, for mode=semantic, the embedder) is temporarily unavailable.

Checksum mismatch

This download didn't match its checksum. Expected {expected_sha256}, got {actual_sha256}. Try again, or tell us at support@spritefetch.com.

echo "<sha256>  <filename>" | sha256sum -c