> **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-title>
- **Markdown (.mdx) URL:** <https://www.socialfetch.dev/platforms/wikipedia/pages-title.mdx>

---

# Wikipedia Page API

One page record with its identity, description, lead extract and optional search-index data.

`GET /v1/wikipedia/pages/{title}?lang=en` returns `data.page` for a title on one edition. A missing title is `lookupStatus: not_found` with `page: null`. A redirect is followed and the original title is reported in `page.redirectedFrom`.

The page record carries `id`, `title`, `displayTitle`, `namespace`, `contentModel`, `pageLanguage`, `lastRevisionId`, `lengthBytes`, `url` and `touchedAt`. It also carries `description` and `descriptionSource`, `pageImage`, `image` and `thumbnail`, `languageCount`, `protection`, `coordinates`, `wikidataId`, `defaultSort` and `categoryInfo` when the page is a category. `terms` holds Wikidata labels, aliases and descriptions in the page language.

Set `include=links` to fill `searchIndex`: incoming links, popularity score, creation time, tags, categories, headings, templates, outgoing links and external links. `include=assessments` adds WikiProject classes and importance in `assessments`, and `include=pageviews` adds 60 days of daily views in `viewsLast60Days`.

## Request

- **Endpoint:** `GET /v1/wikipedia/pages/{title}`
- **Credits:** 1 credit
Failed requests are free
- **Input:** by title
- **Full reference:** [docs](https://www.socialfetch.dev/docs/api/v1/wikipedia/pages/title/get)
- **Platform page:** [/platforms/wikipedia](https://www.socialfetch.dev/platforms/wikipedia)

## FAQ

### How is the title handled?

Spaces and underscores are equivalent, and a #fragment is dropped. Redirects are followed. When the title redirected, page.redirectedFrom holds the title you asked for, and page.title is the resolved title.

### What do the include values add?

include is comma-separated. links fills page.searchIndex, assessments fills page.assessments with project, class and importance, and pageviews fills page.viewsLast60Days with a date and views for each day.

### What does lookupStatus mean here?

found means the page exists and page is an object. not_found means the title does not exist on that edition and page is null. HTTP 200 only means the request finished, so branch on lookupStatus.

### How many credits does a page lookup cost?

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.
