REST Endpoints¶
Every AtomGPT.org web app exposes REST API endpoints. All POST endpoints require authentication.
Authentication¶
Get your key at AtomGPT.org → Account → Settings.
Common Patterns¶
Every app follows the same URL pattern:
| Method | Path | Description |
|---|---|---|
GET |
/{app_name} |
HTML web interface |
POST |
/{app_name}/search |
Search/query |
POST |
/{app_name}/compute |
Run computation |
GET |
/{app_name}/detail/{id} |
Get single item |
Key Endpoints¶
Materials Explorer¶
{
"formula": "SrTiO3",
"elements": ["Ti", "O"],
"element_mode": "all",
"bandgap_min": 0.5,
"bandgap_max": 3.0
}
ALIGNN Predictor¶
ALIGNN-FF¶
SlakoNet¶
XRD / DiffractGPT¶
Structure Tools¶
OPTIMADE¶
Rate Limits¶
- 100 requests/minute per API key
- Larger queries (bandstructure, MD) may take 10-60 seconds
Error Responses¶
Common HTTP status codes: 401 (unauthorized), 400 (bad request), 404 (not found), 500 (server error).