# Wikipedia Page Summary (`wikipedia.page`)

Summary, description, thumbnail and Wikidata id of one Wikipedia article.

- **Route:** `POST /v1/run/wikipedia.page`
- **Price:** $0.0005 per request ($0.50 per 1,000) · `cost_usd` on every response
- **Source:** Wikimedia APIs (`wikipedia`) · failover: no
- **Measured latency:** not enough calls measured yet
- **Heavy response:** no

## Input

| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
| `title` | string | yes |  | Article title, e.g. 'Alan Turing' |
| `language` | string | no | "en" |  |

## Output (`output` in the run envelope)

| Field | Meaning |
|---|---|
| `extract` | Lead-section summary. |
| `wikidata_id` | Wikidata item id. |

## Example

```bash
curl -s -X POST https://getallapis.com/v1/run/wikipedia.page \
  -H "Authorization: Bearer $GETALLAPIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title":"Alan Turing"}'
```

```python
from getallapis_client import Client
client = Client()  # reads GETALLAPIS_API_KEY
result = client.run('wikipedia.page', {'title': 'Alan Turing'})
print(result['cost_usd'], result['output'])
```

```bash
getallapis run wikipedia.page '{"title":"Alan Turing"}'
```

Quote first (free, validates input): `POST /v1/quote/wikipedia.page` with the same body.
