API & Tracking Reference
The Aevum News Developer Platform provides programmatic access to our real-time news feed, audience analytics, event tracking, and conversion APIs. Integrate seamlessly with your CMS, ad tech stack, or internal data pipelines.
Core Capabilities
- Real-time news content delivery with regional/localized filtering
- Audience event tracking (views, scrolls, shares, dwell time)
- Server-to-server conversion & attribution reporting
- Webhook delivery for live content updates and analytics events
- Rate-limited public endpoints and authenticated commercial tiers
Authentication
All authenticated endpoints require a Bearer token issued via your developer dashboard. Tokens are scoped to specific keys and cannot be shared publicly.
Exchange your API Key & Secret for a short-lived Bearer token (15min TTL).
curl -X POST https://api.aevumnews.com/v2/auth/token \
-H "Content-Type: application/json" \
-d '{"api_key": "ak_live_x8f9s...", "api_secret": "sk_live_9d2k..."}'
const response = await fetch('https://api.aevumnews.com/v2/auth/token', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
api_key: 'ak_live_x8f9s...',
api_secret: 'sk_live_9d2k...'
})
});
const { access_token, expires_in } = await response.json();
Note: Store tokens server-side only. Client-side exposure violates our security policy and will result in immediate key revocation.
Event Tracking API
Track reader behavior across web and mobile environments. Events are processed in real-time and available via dashboard and webhooks.
Request Body Schema
| Field | Type | Required | Description |
|---|---|---|---|
| event_name | string | Yes | Canonical event identifier (e.g., article_view, share_click) |
| user_id | string | Optional | Authenticated user identifier. Falls back to session_id if missing |
| session_id | string | Yes | UUID generated on page load |
| properties | object | Optional | Key-value metadata (article_id, category, referrer, etc.) |
| timestamp | ISO 8601 | Yes | UTC timestamp of event occurrence |
curl -X POST https://api.aevumnews.com/v2/events \
-H "Authorization: Bearer " \
-H "Content-Type: application/json" \
-d '{
"event_name": "article_view",
"session_id": "sess_7f8a9b",
"timestamp": "2025-07-14T08:23:11Z",
"properties": { "article_id": "aev_9921", "category": "technology", "read_duration_sec": 142 }
}'
fetch('https://api.aevumnews.com/v2/events', {
method: 'POST',
headers: {
'Authorization': 'Bearer ' + TOKEN,
'Content-Type': 'application/json'
},
body: JSON.stringify({
event_name: 'article_view',
session_id: 'sess_7f8a9b',
timestamp: new Date().toISOString(),
properties: { article_id: 'aev_9921', category: 'technology', read_duration_sec: 142 }
})
});
Content Feed API
Retrieve curated news articles with filtering by region, category, publication time, and freshness. Supports pagination and etag caching.
Query Parameters
| Param | Type | Description |
|---|---|---|
| region | string | ISO 3166-1 alpha-2 code (e.g., US, EU, APAC) |
| category | string | Filter by slug: politics, tech, business, science, culture |
| limit | integer | Max results per page (default: 20, max: 100) |
| cursor | string | Pagination cursor from previous response |
| etag | string | If-None-Match header for cache validation |
Response Schema
| Field | Type | Description |
|---|---|---|
| id | string | Unique article identifier |
| headline | string | HTML-safe title string |
| slug | string | SEO-friendly URL path |
| summary | string | Executive paragraph (max 280 chars) |
| published_at | ISO 8601 | UTC publication timestamp |
| author | object | Author name, avatar, and bio_url |
| category | string | Primary classification slug |
Tracking & Pixel Integration
Deploy Aevum News tracking across your properties using the JavaScript SDK or server-side pixel. Enables cross-domain attribution, audience segmentation, and real-time analytics.
Privacy Compliance: All tracking respects GDPR, CCPA, and IAB TCF 2.0. Configure consent modes via the dashboard before deployment.
JavaScript SDK Setup
<script src="https://cdn.aevumnews.com/tracking/v2/aevum-track.min.js"></script>
<script>
AevumTrack.init({
publisher_id: 'pub_aev_8821',
region: 'global',
consent_mode: 'granted',
debug: false
});
AevumTrack.identify({ uid: 'user_1293', email_hash: 'sha256(...)' });
</script>
// Track custom actions
AevumTrack.track('newsletter_signup', {
source: 'article_footer',
tier: 'premium'
});
// Page view (auto-tracked, but can override)
AevumTrack.pageView({
article_id: 'aev_9921',
dwell_time_ms: 42000,
scroll_depth: 0.85
});
Webhooks & Delivery
Receive real-time payloads for content publication, tracking events, and system alerts. Configure endpoints in your developer dashboard.
Event Types
| Event | Trigger | Payload Keys |
|---|---|---|
| content.published | New article goes live | article_id, headline, category, published_at |
| tracking.conversion | Goal completion | user_id, session_id, goal_slug, value |
| tracking.alert | Anomaly or threshold breach | metric, current_value, threshold, region |
| system.status | API maintenance/rollout | type, message, effective_from, resolved_at |
Webhook Signature Verification
Aevum signs all webhook payloads using HMAC-SHA256. Verify using the X-Aevum-Signature header and your webhook secret.
const crypto = require('crypto');
const sig = req.headers['x-aevum-signature'];
const payload = JSON.stringify(req.body);
const expected = crypto.createHmac('sha256', WEBHOOK_SECRET).update(payload).digest('hex');
if (sig !== expected) throw new Error('Invalid signature');
Session Tracking
Aevum automatically generates anonymous session identifiers via first-party cookies or URL parameter fallback. Sessions persist across subdomains within your configured domain scope.
- Auto-captured: page_load, scroll_depth, back_button, share_click
- Custom properties merged via
AevumTrack.setSessionProperties() - Session TTL: 30 minutes of inactivity
Conversion API
Server-to-server conversion tracking for offline or high-value actions. Bypasses browser restrictions and improves attribution accuracy.
Matchable Fields
| Field | Encoding | Required |
|---|---|---|
| SHA-256 hex | Optional | |
| phone | E.164 format | Optional |
| first_name | lowercase trim | Optional |
| last_name | lowercase trim | Optional |
| conversion_value | float | Yes |
| currency | ISO 4217 | Yes |
SDKs & Libraries
Official client libraries for rapid integration. Community wrappers available on npm, pypi, and go modules.
Rate Limits
API tiers enforce request throttling to ensure platform stability. Exceeded limits return 429 Too Many Requests with Retry-After header.
| Tier | Requests/min | Batch Max | Retention |
|---|---|---|---|
| Free | 60 | 10 events | 7 days |
| Developer | 300 | 50 events | 30 days |
| Enterprise | 1,200 | Unbounded | 90 days |
API Status
Monitor live status and historical incidents at status.aevumnews.com
Developer Support
Need integration help, custom endpoints, or enterprise SLAs? Our API team reviews submissions within 24 business hours.
- Email: api@aevumnews.com
- Dashboard: developer.aevumnews.com
- Status Page: status.aevumnews.com
- Changelog: /developer/changelog
© 2025 Aevum News. API documentation v2.4. All rights reserved. Usage subject to Developer Terms and Data Processing Agreement.