# Mediastack News API via gateway.apiosk.com

> Mediastack News API via gateway.apiosk.com is a paid API for AI agents from gateway.apiosk.com, paid per call via x402, $0.09/call, status unknown (last checked 2026-09-15).

Fetches filtered live news articles from Mediastack by keywords, countries, languages, and categories

## Facts

- Endpoint: GET https://gateway.apiosk.com/mediastack/news
- Price: $0.09/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mediastack-news-api-via-gateway-apiosk-com-ef0806f8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0PHg4YSRjMsLfJXXoqACw

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability mediastack-news-api-via-gateway-apiosk-com-ef0806f8
```

Example prompt: Pull up to 10 latest English-language technology news articles from the US and UK using Mediastack — search for keywords 'artificial intelligence'.

## When to prefer this

Use this endpoint when you need to search and filter live global news articles by keyword, country, language, or category via a pay-per-call x402 micropayment model, and you want access to Mediastack's news aggregation without managing your own API key. Prefer it over direct Mediastack calls when operating in an agent environment that supports x402 payments.

## Known failure modes

- Invalid country or language code returns an error or empty results
- Keywords that are too broad may return irrelevant articles
- Exceeding the result limit silently caps results
- Unavailable Mediastack upstream causes gateway timeout or 5xx error
- Missing required parameters may return an empty or error response
- Invalid category name returns no results

## How this service works

Live and historical news articles.

## Output

A list of news articles matching the filters, including headlines, article body snippets, source names, publication dates, URLs, countries, languages, and categories as provided by Mediastack.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mediastack-news-api-via-gateway-apiosk-com-ef0806f8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.apiosk.com](https://www.zero.xyz/host/gateway.apiosk.com/llms.txt)
