OnyeAkụkọ News API
Integrate live Nigerian and African news, election updates, and Ground News-style media bias distribution into your website, dashboard, or civic tool.
Open CORS Enabled
Call our endpoints directly from client-side browser JavaScript, React widgets, or backend microservices without CORS blocks.
Multi-Perspective Clustered
Every story groups reporting across independent, state, and private media to combat echo chambers and fake news.
2027 Election Focused
Dedicated filtering for voter education, INEC updates, candidates, polling logistics, and electoral reforms.
Available Endpoints
/api/newsReturns clustered news stories. Supports topic filtering (e.g. topic=election), keyword search (q=...), categories, and limit.
/api/v1/newsStandardized REST format with status, metadata, and attribution object. Pass wrap=false for raw array.
/api/news/electionPre-filtered specifically for voter and electoral updates. Ideal for platforms like Nivo.
/embed/electionPre-styled, ready-to-embed interactive widget. Drop into any web page with an iframe.
Query Parameters
| Parameter | Type | Default | Description / Examples |
|---|---|---|---|
| topic | string | none | Filter by curated topic, e.g. election, politics |
| q / search | string | none | Keyword search against headlines and article summaries |
| limit | number | 20 | Number of stories to return (1 - 100) |
| category | string | all | politics, technology, culture, world |
| region | string | all | nigeria, africa, global |
| format | string | stories | stories (clustered) or flat (individual articles) |
Implementation Examples
// Fetch 2027 Election Updates from OnyeAkụkọ
async function getElectionNews() {
const response = await fetch("https://onyeakuko.online/api/news?topic=election&limit=5", {
method: "GET",
headers: {
"Accept": "application/json"
}
});
const news = await response.json();
console.log("Live Election News:", news);
return news;
}Interactive Live Tester
Test endpoint queries directly right now and inspect the real JSON response.
Attribution Guidelines
When displaying news from OnyeAkụkọ on external websites or apps (such as Nivo), please include visible attribution:"Powered by OnyeAkụkọ" linking back to https://onyeakuko.online