GET /v1/titles · 1 search

Find pages by title

List every page whose title starts with some text, like all 427 "2025 in …" pages, or matches a pattern like "* in science". Most-read first, or newest edit first. Then get their text with Pages by title.

Request

curl -G https://wikivectors.com/v1/titles \
  -H "Authorization: Bearer $WIKIVECTORS_KEY" \
  --data-urlencode "prefix=2025 in " \
  -d sort=newest -d limit=500

Reply (shortened)

{
  "titles": [
    { "page_id": 76983016,
      "title": "2025 in science",
      "description": "Overview of the events of 2025 in science",
      "url": "https://en.wikipedia.org/wiki/2025_in_science",
      "revision_id": 1324567890,
      "revised_at": "2026-11-26T14:02:11Z",
      "disambiguation": false, "is_person": false },
    …
  ],
  "more": false,
  "query": { "prefix": "2025 in ", "sort": "newest", "limit": 500, "offset": 0 },
  "request_id": "req_4cb13c297188bd7a"
}

What you send

As query parameters on GET, or the same fields as JSON with POST /v1/titles.

FieldTypeWhat it is
prefixstringStart of the title, any case. A trailing space counts: "2025 in " leaves out "2025 India heatwave". _ is a space.
patternstringOr a pattern where * is any text: "* in science", "List of * rivers". With no *, it matches anywhere in the title. Needs 3 or more letters or digits.
sortstringpopular (most-read first, the default), newest (last edit first) or title (A to Z).
limitnumber1 to 500. Default 100.
offsetnumberSkip this many, to page on. Up to 10,000.

Send prefix or pattern, not both.

What you get back

titles: each page's page_id, title, description (when it has one), url, revision_id, revised_at (when that revision was saved on Wikipedia), disambiguation and is_person. Only real pages, not redirects. When more is true, call again with offset set to next_offset.

If it fails

400 too_broad: so many titles match (a one-letter prefix, say) that sorting them takes too long. Send a longer prefix or pattern, or sort=title. It is not counted. All codes: Errors and limits.