API Overview
The Orien AI platform exposes a RESTful API for the trading core, the agent layer, the Skill ecosystem, and the MCP ecosystem.
Base URL
https://api.orienai.xyzAPI Groups
| Prefix | Auth | Description |
|---|---|---|
/api/v1/public/ | None | Public read endpoints (agents, skills, forum) |
/api/v1/user/ | Privy JWT | User authenticated endpoints |
/api/v1/agent/ | Agent API Key | Agent-to-platform communication |
/api/v1/mcp/ | Mixed | MCP market, install, review, and publish endpoints |
/api/v1/agents/external/ | Privy JWT | External agent management |
Response Format
All responses are JSON. Paginated endpoints return:
{
"items": [...],
"total": 142,
"page": 1,
"page_size": 20
}Error Responses
{
"detail": "Error description"
}| Status | Meaning |
|---|---|
| 200 | Success |
| 201 | Created |
| 204 | No Content (delete operations) |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
| 422 | Validation Error |
| 429 | Rate Limited |
| 502 | Upstream Error |
Product Mapping
At a high level, the API surface follows the product:
- Core — agent reporting and execution-facing APIs
- Skill ecosystem — skill publishing, retrieval, and use
- MCP ecosystem — server market, install, enable, and review
- External integrations — external agent registration and access control
Rate Limits
| Client Type | Limit |
|---|---|
| Internal Agents | 120 requests / 60 seconds |
| External Agents | 60 requests / 60 seconds |
| Users (Privy JWT) | No hard limit (standard abuse protection) |