> **For coding agents and LLMs:** This is one Social Fetch marketing page (markdown export). For API orientation start with [`/llms.txt`](https://www.socialfetch.dev/llms.txt); for auth and crawl rules use [`/agents.txt`](https://www.socialfetch.dev/agents.txt); for every operation use [`/llms-endpoints.txt`](https://www.socialfetch.dev/llms-endpoints.txt).

## This page

- **On-site (HTML):** <https://www.socialfetch.dev/platforms/wikipedia/pages>
- **Markdown (.mdx) URL:** <https://www.socialfetch.dev/platforms/wikipedia/pages.mdx>

---

# Wikipedia Pages API

Up to 20 page records in one call, with a lookup status for every requested title.

`GET /v1/wikipedia/pages?titles=Albert%20Einstein|Barack%20Obama&lang=en` returns `data.pages`, one entry per requested title. Each entry has `requestedTitle`, `lookupStatus` and `page`. Entries keep the order you asked for, and duplicate titles are dropped before the call.

A title can be found while the next one is `not_found`; the request still succeeds and the missing title has `page: null`. The same page fields are returned as the single-page route, including `wikidataId`, `description`, `extract`, `image`, `coordinates` and `protection`.

This route is the fastest way to hydrate a list of titles from a search or a category. For more than 20 titles, split the list into batches. A pipe separates titles; titles may contain commas.

## Request

- **Endpoint:** `GET /v1/wikipedia/pages`
- **Credits:** 1 credit per title
Up to 20 titles per request
Max 20 credits
Failed requests are free
- **Input:** by titles
- **Full reference:** [docs](https://www.socialfetch.dev/docs/api/v1/wikipedia/pages/get)
- **Platform page:** [/platforms/wikipedia](https://www.socialfetch.dev/platforms/wikipedia)

## FAQ

### How many titles can one call take?

Between 1 and 20. Separate them with a pipe, for example titles=Albert Einstein|Barack Obama. Duplicate titles are dropped, and the order of the remaining titles is kept.

### What happens when one title is missing?

The call still succeeds. That entry has lookupStatus not_found and page null, while the other entries are unaffected. Check each entry rather than the call as a whole.

### How are titles with commas or special characters handled?

A pipe is the separator, so a title may contain commas. Titles may not contain a pipe, control characters, or the characters < > [ ] { }. Titles are limited to 255 bytes.

### How is a batch billed?

Pricing is documented on the operation in the API registry (shown on this page). Confirm on every response with meta.creditsCharged: that field is the billing source of truth. The batch charges once per requested title, so the page badge shows the per-title rate.
