> For the complete documentation index, see [llms.txt](https://docs.gemified.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gemified.net/use-cases/breaking-news-and-macro-feeds.md).

# Breaking News & Macro Feeds

### Programmatic Contextual Matching for Breaking News & Macro Feeds

#### **The Concept**

Large-scale publishers manage thousands of dynamically updating news pages across finance, politics, current events, and tech. Manually selecting and inserting affiliate links for individual stories is completely unscalable. Traditional static display banners suffer from extreme banner blindness, but prediction markets represent a highly contextual, data-driven alternative that engages users directly within the editorial flow.

**How It Is Implemented Exactly Using Gemified**

* The Integration: The publisher's engineering team embeds Gemified’s lightweight, asynchronous JavaScript snippet directly into their master Content Management System (CMS) article template. This ensures the script is deployed across all current and future news pages with zero manual oversight required from writers.
* The Underlying Architecture: When a reader opens a news article, the frontend code executes and parses the page's metadata, semantic tags, or URL slugs. It feeds this context to the Gemified API via the `GET /v1/widgets/event` endpoint.
* The Delivery: Our matching engine processes the topic payload in real-time and dynamically injects an Event-Specific Widget inside the body of the article. If an editor publishes a breaking story on federal interest rate cuts, macroeconomics, or geopolitical shifts, the widget displays live public probabilities (e.g., "Michigan wins the 2026 NCAA Tournament: 40%") alongside real-time operator deep links. The user can transition seamlessly from consumption to market execution with a single click.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.gemified.net/use-cases/breaking-news-and-macro-feeds.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
