---
title: "Wikipedia"
method: GET
path: "/v1/wikipedia/all"
tags: ["v1"]
---

# Wikipedia

`GET /v1/wikipedia/all`

Search and filter all Wikipedia pages available via the Perigon API. The result includes a list of individual pages that were matched to your specific criteria.

## Query parameters

- `q` string
- `title` string
- `summary` string
- `text` string
- `reference` string
- `id` string[]
- `wikiPageId` integer[]
- `wikiRevisionId` integer[]
- `wikiCode` string[]
- `wikiNamespace` integer[]
- `wikidataId` string[]
- `wikidataInstanceOfId` string[]
- `wikidataInstanceOfLabel` string[]
- `category` string[]
- `sectionId` string[]
- `wikiRevisionFrom` string, date-time
- `wikiRevisionTo` string, date-time
- `scrapedAtFrom` string, date-time
- `scrapedAtTo` string, date-time
- `pageviewsFrom` integer
- `pageviewsTo` integer
- `withPageviews` boolean
- `showNumResults` boolean
- `page` integer
- `size` integer
- `sortBy` 'relevance' | 'revisionTsDesc' | 'revisionTsAsc' | 'pageViewsDesc' | 'pageViewsAsc' | 'scrapedAtDesc' | 'scrapedAtAsc'

## Response `200`

200 - Success

- WikipediaSearchResult — Wikipedia search result
  - `status` integer, required
  - `numResults` integer, required
  - `results` WikiPage[], required
    - `id` string, nullable
    - `scrapedAt` string, nullable
    - `wikiPageId` integer, nullable
    - `wikiRevisionId` integer, nullable
    - `wikiRevisionTs` string, nullable
    - `wikiCode` string, nullable
    - `wikiNamespace` integer, nullable
    - `wikiTitle` string, nullable
    - `url` string, nullable
    - `topImage` string, nullable
    - `wikidataId` string, nullable
    - `wikidataInstanceOf` WikidataLabelHolder[], nullable
      - `wikidataId` string, nullable
      - `label` string, nullable
    - `redirectTitles` string[], nullable
    - `summary` string, nullable
    - `sections` WikiPageSectionHolder[], nullable
      - `id` string, nullable
      - `title` string, nullable
      - `styleLevel` integer, nullable
      - `loc` integer[], nullable
      - `textRaw` string, nullable
      - `textRich` string, nullable
    - `categories` string[], nullable
    - `externalLinks` string[], nullable
    - `references` string[], nullable
    - `pageviews` integer, nullable

## Other responses

- `400` — 400 - Bad Request
- `401` — 401 - Invalid API Key
- `403` — 403 - Request Forbidden
- `429` — 429 - Too Many Requests
- `500` — 500 - Server Error

## Changes

- **2025-08-18** `a73a3b58ca66` — 5 breaking, 22 warning, 84 info
  - removed the enum value `count` from the `query` request parameter `sortBy`
  - removed the enum value `createdAt` from the `query` request parameter `sortBy`
  - removed the enum value `totalCount` from the `query` request parameter `sortBy`
  - removed the enum value `updatedAt` from the `query` request parameter `sortBy`
  - …107 more
- **2025-07-23** `e807740e36fb` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/goperigon/apis/perigon-api/changes/v1/wikipedia/all/get.md)

---

[API](https://skmtc.dev/goperigon/apis/perigon-api.md) · [All operations](https://skmtc.dev/goperigon/apis/perigon-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goperigon/perigon-api/revisions/2c55bf07003a/schema)
