๐ŸŸข All Systems Operational

Aevum News
API Documentation

Access Aevum News' comprehensive journalism data, search capabilities, and content management through our RESTful API. Build powerful news integrations in minutes.

GET https://api.aevumnews.com/v2/articles

๐Ÿ“‹ Overview

The Aevum News API provides programmatic access to our global news database. Retrieve articles, search across categories, manage subscriptions, and integrate real-time news feeds into your applications.

2.5M+
Articles
120+
Countries
50+
Categories
99.9%
Uptime
โ„น๏ธ
API Key Required: All API requests require authentication via API key. Generate yours from the Developer Dashboard.

๐ŸŒ Base URL

All API requests are made to the base URL below. Replace YOUR_API_KEY with your actual API key.

Production
https://api.aevumnews.com/v2/ Hide
Sandbox (Testing)
https://sandbox-api.aevumnews.com/v2/ Hide

๐Ÿ”‘ Authentication

Aevum News API uses API key authentication. Include your API key in the request header with every call. You can generate and manage your API keys from the Developer Dashboard.

How to authenticate
Include the Authorization header with your API key in every request:
HTTP Headers
Authorization: Bearer aev_live_sk_8x9fK2mN7pQ4wR6tY1zA3bC5dE0gH9jL Content-Type: application/json X-Api-Version: 2025-01-15

API Key Types

Key Format
/* Live / Production key */ aev_live_sk_{base64-encoded-key} /* Sandbox / Test key */ aev_test_sk_{base64-encoded-key} /* Read-only key */ aev_ro_sk_{base64-encoded-key}
โš ๏ธ
Keep your API key secret. Never expose it in client-side code, public repositories, or browser-accessible files. Use environment variables to store your keys securely.

โšก Rate Limiting

API requests are rate-limited to ensure fair usage and platform stability. Limits vary by subscription tier. Rate limit headers are included in every response.

Rate Limits by Tier

Choose a plan that fits your needs at aevumnews.com/pricing

100
Requests / Minute
Free
1,000
Requests / Minute
Pro
10,000
Requests / Minute
Enterprise
Response Headers
X-RateLimit-Limit: 1000 X-RateLimit-Remaining: 987 X-RateLimit-Reset: 1704067200 Retry-After: 42 /* Only on 429 responses */

โš ๏ธ Error Handling

The API uses standard HTTP status codes to indicate success or failure. Error responses include a structured JSON body with details about what went wrong.

Error Response Format
{ "error": { "code": "invalid_request", "message": "The 'q' parameter is required for search", "type": "bad_request", "details": { "field": "q", "reason": "missing_parameter" } } }

HTTP Status Codes

Status Meaning Description
200 OK Request succeeded. Response body contains the data.
201 Created Resource was successfully created.
400 Bad Request Malformed request. Check the error details for the issue.
401 Unauthorized Invalid or missing API key.
403 Forbidden API key lacks permission for this resource.
404 Not Found Requested resource does not exist.
429 Too Many Requests Rate limit exceeded. Wait and retry after Retry-After seconds.
500 Server Error Internal server error. Contact support if persistent.
503 Service Unavailable API is temporarily unavailable. Check status page.

๐Ÿ“ฐ Articles

Access and retrieve articles from Aevum News' global journalism database. Supports filtering by category, tags, date range, language, and more.

GET

/articles

โ— Stable
Retrieve a paginated list of articles. Supports filtering by category, tags, author, date range, language, and region. Results are sorted by publish date (newest first) by default.
Query Parameters
ParameterTypeRequiredDescription
pageintegerOptionalPage number (default: 1)
per_pageintegerOptionalResults per page (1-100, default: 20)
categorystringOptionalFilter by category slug (e.g., "world", "tech")
tagsstringOptionalComma-separated tags (e.g., "climate,AI")
authorstringOptionalFilter by author slug or ID
languagestringOptionalISO 639-1 language code (default: "en")
regionstringOptionalISO 3166-1 region code (e.g., "US", "GB", "IN")
from_datestringOptionalISO 8601 date (e.g., "2025-01-01")
to_datestringOptionalISO 8601 date (e.g., "2025-01-31")
sort_bystringOptional"date", "relevance", "popularity" (default: "date")
statusstringOptional"published", "draft", "archived" (default: "published")
featuredbooleanOptionalFilter for featured articles only
Example Response
{ "status": "success", "data": { "articles": [ { "id": "art_9xK2mN7pQ4wR", "title": "Global Climate Summit", "slug": "global-climate-summit-2025", "summary": "World leaders convene...", "category": "world", "author": { "id": "usr_eR5tY1zA3bC5", "name": "Elena Rodriguez", "slug": "elena-rodriguez" }, "published_at": "2025-01-14T08:30:00Z", "updated_at": "2025-01-14T09:15:00Z", "featured_image": "https://cdn.aevumnews.com/...", "read_time": 8, "views": 142530, "tags": ["climate", "summit", "global"] } ], "pagination": { "page": 1, "per_page": 20, "total": 2847, "total_pages": 143, "next": "/articles?page=2", "prev": null } } }
GET

/articles/:id

โ— Stable
Retrieve a single article by its ID or slug. Returns full content, metadata, author info, and related articles.
Path Parameters
ParameterTypeRequiredDescription
idstringRequiredArticle ID (e.g., "art_9xK2mN7pQ4wR") or slug (e.g., "global-climate-summit-2025")
Response Includes

Full article body, featured image (multiple resolutions), author profile with social links, category & tag objects, reading progress metrics, related articles (up to 5), and content formatting (HTML + markdown).

POST

/articles

New
Create a new article draft or publish it directly. Requires write scope API key.
Request Body
{ "title": "Breaking: Major Policy Shift", "slug": "major-policy-shift-2025", "category": "politics", "tags": ["policy", "reform"], "body": "Full article content in markdown...", "summary": "Brief 2-sentence summary...", "featured_image": "https://cdn.example.com/img.jpg", "status": "draft", "language": "en", "region": "US" }
Response
{ "status": "success", "data": { "article": { "id": "art_2bC5dE0gH9jL", "status": "draft", "created_at": "2025-01-15T12:00:00Z" } } }
โœ…
New Feature: The create article endpoint now supports AI-assisted drafting. Pass "auto_expand": true to generate an expanded outline from your brief.

๐Ÿ“ก Live Feed

Real-time news streaming via Server-Sent Events (SSE) or WebSocket connections. Get breaking news as it happens.

GET

/feed/live

โ— Beta
Establish a real-time connection to receive live news updates. Supports filtering by category, priority level, and region.
SSE Connection
const source = new EventSource( "https://api.aevumnews.com/v2/feed/live?categories=world,tech&priority=critical", { headers: { "Authorization": "Bearer YOUR_API_KEY" } } ); source.addEventListener("news_event", (event) => { const article = JSON.parse(event.data); console.log(article.title); });

๐Ÿท๏ธ Categories

Retrieve all available content categories with metadata, article counts, and hierarchy information.

GET

/categories

โ— Stable
Returns all categories. Use ?parent=none for top-level only.

#๏ธโƒฃ Tags

Query tags for article classification and filtering.

GET

/tags

โ— Stable
List all tags. Parameters: ?q=climate to search, ?limit=50.

๐Ÿ–ผ๏ธ Media Library

Access and upload media assets for your articles.

GET

/media

โ— Stable
List media assets. Supports filtering by type, date, and collection.
POST

/media/upload

โ— Stable
Upload images, videos, or documents. Max file size: 25MB. Supported formats: JPEG, PNG, WebP, MP4, PDF.

โœ๏ธ Writers

Access journalist profiles, portfolios, and contact information.

GET

/writers

โ— Stable
List all writers. Parameters: ?q=name to search, ?specialization=tech.
GET

/writers/:id

โ— Stable
Get writer profile including bio, photo, social links, and article portfolio.

๐Ÿ‘ค Users

Manage user accounts, profiles, and preferences.

GET

/users/me

โ— Stable
Returns the authenticated user's profile and subscription details.
PUT

/users/me/preferences

โ— Stable
Update user preferences: newsletter settings, notification channels, and content filters.

๐Ÿ“Œ Subscriptions

Manage user subscriptions to categories, tags, and authors.

GET

/subscriptions

โ— Stable
List all active subscriptions for the authenticated user.
POST

/subscriptions

โ— Stable
Subscribe to a category, tag, or author. Request body: {"type": "category", "target_id": "cat_tech"}.
DELETE

/subscriptions/:id

โ— Stable
Unsubscribe from a category, tag, or author.

๐Ÿ”– Bookmarks

Save and organize article bookmarks for later reading.

GET

/bookmarks

โ— Stable
List bookmarked articles. Parameters: ?collection=default.
POST

/bookmarks

โ— Stable
Bookmark an article. Request body: {"article_id": "art_xxx", "collection": "default"}.

๐Ÿช Webhooks

Receive real-time notifications for events. Configure webhook endpoints from your dashboard or the API.

GET

/webhooks

โ— Stable
List all configured webhooks for your account.

Available Events

article.published Triggered when a new article is published
article.updated Triggered when an article is modified
trending.reached Triggered when an article enters trending
subscription.created Triggered on new subscription
breaking.news Triggered for breaking news alerts
โ„น๏ธ
Verification: All webhook payloads include an X-Aevum-Signature header. Verify using your webhook secret to ensure authenticity.

๐Ÿ“ฆ SDKs & Libraries

Official SDKs for popular languages. Community SDKs are also available.

๐ŸŸจ
JavaScript
v2.4.0
๐Ÿ
Python
v2.4.0
๐Ÿ”ต
Go
v2.3.1
๐Ÿ’Ž
Ruby
v2.4.0
โ˜•
Java
v2.3.0
๐Ÿน
Go
v2.2.4
Python Quick Start
import aevumnews client = aevumnews.Client( api_key="aev_live_sk_xxxx", base_url="https://api.aevumnews.com/v2" ) # Fetch articles articles = client.articles.list( category="tech", per_page=10, sort_by="date" ) for article in articles.data: print(article.title) # Search results = client.search.execute( q="AI regulation", fuzziness="auto" )

๐Ÿงช Sandbox Environment

Test the API in our sandbox environment with sample data. No production data is affected.

โœ…
Sandbox Benefits: Pre-loaded with sample articles, users, and categories. Use your aev_test_sk_... key to connect to sandbox-api.aevumnews.com.
Sandbox Base URL
https://sandbox-api.aevumnews.com/v2/

๐Ÿ“ Changelog

January 15, 2025
v2.4.0 โ€” Live Feed & Article Creation
Added real-time live feed endpoint (SSE). New article creation endpoint with AI-assisted drafting. Enhanced search with proximity queries and field-specific search.
December 1, 2024
v2.3.0 โ€” Enhanced Search & SDK Updates
Improved search relevance scoring by 40%. Added Go and Java SDKs. New trending endpoint with real-time velocity tracking.
October 15, 2024
v2.2.0 โ€” Webhooks & Media Library
Added webhook support for event-driven integration. Media library endpoint with upload capabilities. Writer profiles with portfolio data.
September 1, 2024
v2.1.0 โ€” Categories, Tags & User APIs
Category and tag query endpoints. User management and subscription APIs. Bookmark management. Rate limit increases for Pro and Enterprise tiers.
June 15, 2024
v2.0.0 โ€” Major API Redesign
Complete RESTful redesign. New authentication system. Pagination, filtering, and sorting across all endpoints. Breaking changes from v1.x.

๐ŸŸข API Status

View real-time system status and incident history.

โœ…
All Systems Operational
Last updated: 2 minutes ago
โ— API Gateway
99.99% uptime (30d)
โ— Search Engine
99.97% uptime (30d)
โ— Live Feed
99.95% uptime (30d)
โ— CDN
99.99% uptime (30d)
View Full Status Page โ†’

๐Ÿ’ฌ Support

๐Ÿ’ฌ
Need help? Contact our developer support team at api-support@aevumnews.com or join our Discord community for real-time assistance.
๐Ÿ“ง
Email
api-support@aevumnews.com
๐Ÿ’ฌ
Discord
discord.gg/aevumdevs
๐Ÿ›
GitHub Issues
github.com/aevum/api/issues