OnyeAkụkọ Logo
Public API & Partner Integrations

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

GET/api/news
Main JSON Feed (Array format)

Returns clustered news stories. Supports topic filtering (e.g. topic=election), keyword search (q=...), categories, and limit.

GET/api/v1/news
Versioned Public API (Object format)

Standardized REST format with status, metadata, and attribution object. Pass wrap=false for raw array.

GET/api/news/election
Dedicated 2027 Election Feed

Pre-filtered specifically for voter and electoral updates. Ideal for platforms like Nivo.

EMBED/embed/election
Drop-in HTML Widget

Pre-styled, ready-to-embed interactive widget. Drop into any web page with an iframe.

Query Parameters

ParameterTypeDefaultDescription / Examples
topicstringnoneFilter by curated topic, e.g. election, politics
q / searchstringnoneKeyword search against headlines and article summaries
limitnumber20Number of stories to return (1 - 100)
categorystringallpolitics, technology, culture, world
regionstringallnigeria, africa, global
formatstringstoriesstories (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