# Travel Guide Page (Wikivoyage) (`wikivoyage.page`)

Full text of a Wikivoyage destination guide: understand, get in, get around, see, do, eat, sleep, stay safe.

- **Route:** `POST /v1/run/wikivoyage.page`
- **Price:** $0.0007 per request ($0.70 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 |  | Destination or page title |
| `language` | string | no | "en" | Language edition, e.g. en, de, fr |
| `max_chars` | integer | no | 50000 | Maximum characters of text |

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

| Field | Meaning |
|---|---|
| `title` | Resolved title. |
| `text` | Plain text with == section == markers. |
| `sections` | Section headings. |
| `url` | Guide URL. |
| `license` | CC BY-SA attribution note. |

## Example

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

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

```bash
getallapis run wikivoyage.page '{"title":"Lisbon","max_chars":3000}'
```

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