/docs/reference
Every endpoint, one page.
Auth, chat, image, credits, contact — method, path, params, response shape, status codes, and drop-in curl / JavaScript / Python samples per call. Search live, copy everything.
API Documentation
Complete reference for all 19 NARA API endpoints
Quick Start
Authenticate every request with a Bearer token in the Authorization header. Obtain your API key from the Settings page.
Authorization: Bearer YOUR_API_KEY
Credit Costs at a Glance
Authentication
2 endpointsAll API requests require a Bearer token. Obtain your API key from the dashboard and include it in the Authorization header.
Chat API
3 endpointsGenerate text completions and have multi-turn conversations with various AI models. Supports streaming responses.
Image API
9 endpointsGenerate, edit, enhance, and analyze images using AI. All image endpoints accept multipart/form-data for file uploads.
Credits API
4 endpointsQuery credit balances, view usage history, estimate costs, and manage credit transactions.
Contact
1 endpointPublic contact form endpoint for support inquiries.
Interactive API Explorer
Try service endpoints live with Swagger UI