API Reference
Complete reference for the Get3W REST API.
Base URL
https://api.get3w.com/api/v3Authentication
All endpoints require a Bearer token in the Authorization header:
Authorization: Bearer YOUR_API_KEYEndpoints
Task Management
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/v3/{model-id} | Submit a task |
| GET | /api/v3/predictions/{id} | Get result |
| GET | /api/v3/predictions/{id}/result | Get result (alt) |
| DELETE | /api/v3/predictions/{id} | Delete task |
File Management
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/v3/files/upload | Upload files |
Models
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v3/models | List models |
Account
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v3/balance | Check balance |
| GET | /api/v3/usage | Check usage |
| GET | /api/v3/billings | Check billings |
Response Format
All API responses follow this format:
json
{
"code": 200,
"message": "success",
"data": { ... }
}Error Format
json
{
"code": 400,
"message": "Invalid parameters",
"data": null
}See Error Codes for a complete list.
Rate Limits
Rate limits depend on your account level. When you exceed your rate limit, the API returns 429 Too Many Requests.