Get several Wikipedia pages
Get up to 20 Wikipedia pages in one call, with the lookup status of each requested title.
Headers
Get your API keyAPI key (`sfk_...`)
Page titles separated by `|` (titles may contain commas), 1 to 20, e.g. `Albert Einstein|Barack Obama`. Duplicates are dropped.
Wikimedia edition code, e.g. `en`, `de`, `ja`, `simple` or `zh-min-nan`. Default: `en`.
Endpoint-specific response payload.
Edition code.
One entry per requested title, in the order asked.
The title as the caller gave it.
Whether the entity, page or data set exists. A missing entity is `not_found`; an existing entity with no rows is `found` with `empty: true`.
one of: found, not_found
The page when found; otherwise null.
Page id.
Edition code.
Title.
Title with display markup.
Namespace id.
Content model, e.g. `wikitext`.
Page language code.
Latest revision id.
When the page was last touched.
Wikitext size in bytes.
Canonical page URL.
Short description.
Where the description comes from.
one of: local, central, null
Lead image file name.
An image URL and its natural size.
Image URL. The file host may add its own tracking parameters.
Width in pixels.
≥ 0
Height in pixels.
≥ 0
An image URL and its natural size.
Image URL. The file host may add its own tracking parameters.
Width in pixels.
≥ 0
Height in pixels.
≥ 0
How many editions have this page.
Watchers, when shown.
Recent visitors watching, when shown.
Talk page id.
Subject page id on a talk page.
Whether the file page is hosted on the shared media repository.
The title asked for when it redirected here.
Active protection rules.
Operation protected, e.g. `edit` or `move`.
Right needed, e.g. `autoconfirmed` or `sysop`.
When it expires, ISO 8601; null for infinity.
Counts on a category page; null on every other page.
Rows in the category.
≥ 0
Pages in it.
≥ 0
Files in it.
≥ 0
Subcategories.
≥ 0
Whether the category is hidden.
Wikidata terms in the page language.
Wikidata labels in the page language.
Wikidata aliases.
Wikidata descriptions.
Coordinates recorded on the page.
Latitude; null when unknown.
Longitude; null when unknown.
Whether this is the primary point.
Place type.
Size hint in metres.
Globe, e.g. `earth`.
Country code.
Region code.
Place name.
Wikidata entity id.
Default sort key.
Whether the page is a disambiguation page.
Title in each language variant (zh, sr, kk).
Plain-text lead, when requested.
Search-index document, when `include=links`.
How many pages link here.
Wikimedia's pageview-derived popularity score.
When the page was first created.
Text size in bytes.
Machine predictions and weights exactly as the index stores them.
Predicted article topics.
Predicted topic path.
Confidence from 0 to 1.
Predicted article countries.
Predicted country.
Confidence from 0 to 1.
WikiProject weights.
WikiProject name.
Weight from 0 to 1.
Weighted tags that are neither a topic, a country nor a project.
Every category, hidden ones included.
Titles that redirect here.
Section headings.
Transcluded templates.
Internal links.
External URLs.
Plain-text opening.
Coordinates recorded in the search index.
Latitude; null when unknown.
Longitude; null when unknown.
Whether this is the primary point.
Place type.
Size hint in metres.
Globe, e.g. `earth`.
Country code.
Region code.
Place name.
WikiProject assessments, when `include=assessments`.
WikiProject name.
Quality class, e.g. `FA`, `GA`, `C`.
Importance, e.g. `Top`.
Daily views, when `include=pageviews`.
Day, `YYYY-MM-DD`.
Views that day; null on a day not yet counted.
≥ 0
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Code example
curl "https://api.socialfetch.dev/v1/wikipedia/pages?titles=Albert%20Einstein|Barack%20Obama" \
-H "x-api-key: YOUR_API_KEY"Responses
Get several Wikipedia pages