# Al Jazeera Article Scraper (`kibaale/aljazeera-scraper`) Actor

Complete Al Jazeera articles as clean structured records — full body text with subheadings preserved in reading order, plus headline, authors, section, timestamps, summary, tags and word count. One article URL in, one tidy record out.

- **URL**: https://apify.com/kibaale/aljazeera-scraper.md
- **Developed by:** [kibalee](https://apify.com/kibaale) (community)
- **Categories:**
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Al Jazeera Article Scraper

Complete Al Jazeera articles as clean, structured records — full body text
with subheadings preserved in reading order, plus headline, authors, section,
timestamps, summary, tags and word count. One article URL in, one tidy
record out.

### What you get

- **The complete article** — paragraphs and subheadings, in reading order
- **Editorial metadata** — headline, authors, section, publication times,
  summary, topic tags, word count
- **No login, no account, no API key** — paste the URL and run
- **Nothing to install** — runs fully in the cloud
- **Always fresh** — content is fetched live on every run, never a stale copy
- **Stable schema** — the same record shape for every article, easy to parse

### Quick start

Input — just the article URL:

```json
{
  "url": "https://www.aljazeera.com/features/2026/8/27/palestinian-children-return-to-school-under-threat-of-israel-demolition"
}
```

### Example result

Real output for the URL above (article body truncated):

```json
{
  "id": "4886288",
  "url": "https://www.aljazeera.com/features/2026/8/27/palestinian-children-return-to-school-under-threat-of-israel-demolition",
  "headline": "Palestinian children return to school under threat of Israel demolition",
  "byline": [],
  "section": "Features",
  "sectionUrl": "/features/",
  "firstPublished": "2026-08-27T06:01:17",
  "lastModified": "2026-08-27T06:01:17",
  "wordCount": 755,
  "summary": "As new school year begins, children in West Bank's Masafer Yatta face threat that their schools may not remain standing.",
  "tags": ["education", "human-rights", "israel-palestine-conflict", "occupied-west-bank"],
  "body": [
    "Farah, Mohammed and Jawad are getting ready for the new school year in Masafer Yatta in the southern occupied West Bank.",
    "The children, aged 17, 8, and 7 respectively, attend Shaab al-Butum school in a village with the same name. But the building they'll return to will be missing two administrative rooms and a storage room after Israeli forces demolished them on August 4.",
    "..."
  ]
}
```

### Field reference

| Field | Description |
|---|---|
| `headline` | Article title |
| `seoHeadline` | Longer headline variant used in search-result previews (when provided) |
| `kicker` | Short label shown above the headline (often empty) |
| `byline` | Author name(s) — empty when the piece lists no author |
| `section` | News section the article appears in |
| `sectionUrl` | Link to that section on the site |
| `summary` | Short description of the piece |
| `tags` | Topic labels attached by the publisher |
| `firstPublished` | Date and time the article was published |
| `lastModified` | Date and time the article was last updated |
| `wordCount` | Number of words in the article |
| `body` | Full article text — one list item per paragraph or subheading, in order |
| `id` | Stable publisher identifier (the same article always returns the same id) |
| `url` | The article URL that was fetched |

### Ideas

- News monitoring and alert feeds
- Middle East & world news research
- Press tracking and media analysis
- Databases for AI and content pipelines

### FAQ

**Do I need an account?** No — Al Jazeera articles are public, and the actor
needs only the URL.

**Why is the byline empty for some articles?** Some pieces do not list an
individual author — the field is left empty in that case.

**Do some articles fail?** A small number of Al Jazeera pages (some opinion
pieces and live-update pages) are not served with a standard article layout
and return a clear error message.

**Is the content fresh?** Yes — every run fetches the article as it is
published right now.

**Can I scrape many articles?** Each run takes one article URL. Run the actor
as often as you like — on a schedule, or once per URL — and every run adds
one record to the dataset.

# Actor input Schema

## `url` (type: `string`):

Full URL of the aljazeera.com article.

## Actor input object example

```json
{
  "url": "https://www.aljazeera.com/news/2026/8/30/palestinian-children-return-to-school-under-threat-of-israel-demolition"
}
```

# Actor output Schema

## `results` (type: `string`):

Article records stored in the run's default dataset

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "url": "https://www.aljazeera.com/news/2026/8/30/palestinian-children-return-to-school-under-threat-of-israel-demolition"
};

// Run the Actor and wait for it to finish
const run = await client.actor("kibaale/aljazeera-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "url": "https://www.aljazeera.com/news/2026/8/30/palestinian-children-return-to-school-under-threat-of-israel-demolition" }

# Run the Actor and wait for it to finish
run = client.actor("kibaale/aljazeera-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "url": "https://www.aljazeera.com/news/2026/8/30/palestinian-children-return-to-school-under-threat-of-israel-demolition"
}' |
apify call kibaale/aljazeera-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kibaale/aljazeera-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/W4Eog93vY0OHmJUTP/builds/rZImRa9fFgu399Og3/openapi.json
