Overview

The Aevum API is a RESTful JSON interface designed for scalability and precision. All responses are wrapped in a consistent envelope, and every endpoint supports structured filtering, semantic querying, and real-time knowledge graph traversal.

Base URL: https://api.aevum.com/v2

Authentication

Authenticate using a Bearer token in the Authorization header. Tokens are obtained via the OAuth 2.0 client credentials flow or by generating API keys in your dashboard.

POST /oauth/token

Exchange client credentials for an access token.

ParameterTypeRequiredDescription
grant_typestringYesAlways client_credentials
client_idstringYesYour API client ID
client_secretstringYesYour API client secret

GET /articles

Retrieve verified encyclopedia articles. Supports filtering by category, language, expertise level, and recency.

curl -X GET "https://api.aevum.com/v2/articles?limit=10&lang=en&category=science" \\
  -H "Authorization: Bearer $AEVUM_TOKEN"
const response = await fetch('https://api.aevum.com/v2/articles?limit=10&lang=en', {
  headers: { 'Authorization': `Bearer ${process.env.AEVUM_TOKEN}` }
});
const data = await response.json();
import requests

resp = requests.get(
    "https://api.aevum.com/v2/articles?limit=10&lang=en",
    headers={"Authorization": f"Bearer {AEVUM_TOKEN}"}
)
data = resp.json()
200 OK
{
  "data": [
    {
      "id": "art_8x9k2m",
      "title": "Quantum Entanglement",
      "category": "physics",
      "verified": true,
      "updated_at": "2025-03-14T09:22:00Z"
    }
  ],
  "meta": { "total": 14230, "page": 1, "per_page": 10 }
}

Error Handling

The API uses standard HTTP status codes. Errors return a consistent JSON structure with a machine-readable code and human-readable message.

StatusCodeDescription
400INVALID_REQUESTMalformed JSON or missing required parameters
401UNAUTHORIZEDMissing or expired authentication token
403FORBIDDENInsufficient permissions for requested resource
404NOT_FOUNDArticle, category, or endpoint does not exist
429RATE_LIMITEDToo many requests. Check X-RateLimit-Reset header
500INTERNAL_ERRORUnexpected server failure. Retry with exponential backoff

Rate Limits & Pagination

ℹ️ Tier Limits

Free tier: 100 requests/minute, 10K/day
Pro tier: 1,000 requests/minute, unlimited
Enterprise: Custom allocation with dedicated endpoints

All list endpoints support cursor-based pagination. Use the next_cursor value from the response meta object to fetch subsequent pages.