Reference
All endpoints below live under https://civitai.com/api/v1/.
| Resource | Endpoints |
|---|---|
| Models | GET /models, GET /models/{id} |
| Model versions | GET /model-versions/{id}, GET /model-versions/by-hash/{hash} |
| Images | GET /images |
| Creators | GET /creators |
| Tags | GET /tags |
| Users | GET /me |
| Enums | GET /enums |
Conventions used on this page
- Base URL:
https://civitai.com/api/v1 - Content type: All responses are
application/json; charset=utf-8. - Auth class (shown on each endpoint):
- Public — no token required.
- Mixed — works without a token, but some parameters or response fields require one.
- Authenticated — 401 without a valid token.
- Caching: Public endpoints set
Cache-Control: public, s-maxage=300, stale-while-revalidate=150; authenticated calls skip the cache. - Region gating: Responses may be filtered to SFW-only content regardless of the
nsfwparam when the request comes from a restricted region or Civitai's "green" domain. This is silent — you just see fewer results.
See the Guide for cross-cutting topics (authentication, pagination, errors, AIR identifiers).