API Documentation v1

Programmatically access 2.4M+ verified encyclopedia articles, knowledge graphs, and semantic search capabilities. Built for researchers, educators, and developers.

📘 New to the API? Start with a free tier (1,000 requests/hour). No credit card required. All endpoints return JSON unless otherwise specified. Pagination uses cursor-based navigation. Read time: ~8 mins.

Quick Example

curl https://api.aevumencyclopedia.com/v1/articles/quantum-computing \n  -H Authorization: Bearer YOUR_API_KEY \n  -H Accept: application/json

Authentication

Access to the Aevum Encyclopedia API requires a valid API key. Include it in the Authorization header using the Bearer scheme. Keys are scoped to your account tier and can be rotated in the dashboard.

Authorization: Bearer sk_live_7x9m2k4p8q1w3e5r7t9y0u2i4o6p8a1s3d5f7g9h
⚠️ Security Notice Never expose your API key in client-side code or public repositories. Use environment variables or server-side proxies. Keys starting with sk_live_ have full read access.

Base URL

All API requests must be made to the following endpoint:

https://api.aevumencyclopedia.com/v1

Versioning is URL-based. Breaking changes will trigger a new major version (v2, v3). Deprecated versions are supported for 12 months after sunset.

Articles

GET /articles/{id}

Retrieve a single encyclopedia article by its unique identifier or slug.

Parameters

NameInTypeDescription
idREQUIRED Path string Article slug or UUID (e.g., quantum-computing)
languageOPTIONAL Query string ISO 639-1 code (default: en)
formatOPTIONAL Query string Response format: json or markdown

Response

{
  "id": "qc_9f82a1b4",
  "title": "Quantum Computing",
  "slug": "quantum-computing",
  "language": "en",
  "excerpt": "Quantum computing leverages quantum mechanical phenomena...",
  "content": "# Quantum Computing\n\nLeverages superposition...",
  "tags": ["physics", "technology", "computing"],
  "verified": true,
  "last_updated": "2025-03-14T09:22:00Z"
}

Categories

GET /categories

List all knowledge domains and subcategories with article counts.

Knowledge Graph

GET /knowledge-graph/{entity}

Retrieve nodes, edges, and relationship metadata for a specific entity. Returns a graph-optimized JSON structure suitable for visualization libraries like D3 or Cytoscape.

Submit Contributions

POST /contributions/submit

Submit new articles, revisions, or corrections for editorial review. Requires elevated permissions or contributor verification.

Request Body

{
  "title": "CRISPR-Cas9 Gene Editing",
  "content_md": "# CRISPR-Cas9\n\nA revolutionary gene-editing tool...",
  "category": "biology",
  "sources": [
    "https://doi.org/10.1126/science.120...",
    "https://www.nature.com/articles/s41..."
  ],
  "tags": ["genetics", "biotech", "medicine"]
}

Rate Limits

API access is governed by tiered rate limits. Exceeding limits returns 429 Too Many Requests. Limits reset per rolling window.

Free
1,000 req/hr
Pro
10,000 req/hr
Enterprise
Custom / Dedicated
📊 Monitoring Usage Response headers include X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset. Implement exponential backoff for resilience.

Error Handling

The API uses standard HTTP status codes and returns structured JSON error payloads for debugging.

CodeMeaningCommon Causes
400Bad RequestMissing required parameters, malformed JSON
401UnauthorizedInvalid or expired API key
403ForbiddenInsufficient permissions for endpoint
404Not FoundResource does not exist or slug invalid
429Too Many RequestsRate limit exceeded
500Internal ErrorServer-side failure (contact support)

Error Response Format

{
  "error": {
    "code": "AUTH_INVALID",
    "message": "The provided API key is invalid or revoked.",
    "status": 401,
    "request_id": "req_8x2m9k4p1q"
  }
}

SDKs & Libraries

Official client libraries are available for rapid integration. All are open-source and maintained by the Aevum team.

Python
pip install aevum-sdk
JavaScript
npm i @aevum/enc-sdk
Go
go get github.com/aevum/sdk-go
Rust
cargo add aevum-sdk

Changelog

v1.4.2 (2025-03-10)

• Added knowledge-graph endpoint for entity relationship mapping
• Improved semantic search relevance scoring algorithm
• Fixed pagination cursor regression in /search
• Rate limit headers now include precise reset timestamps

v1.4.0 (2025-02-15)

• Introduced contributor submission workflow
• Added markdown export format for articles
• Multi-language filtering support