wikipedia

Fetch a Wikipedia article summary in any of 30 supported...

Fetch a Wikipedia article summary in any of 30 supported languages. Returns title, displayTitle, lang, pageId, description, extract (plain text), extractHtml, lead image, canonical URLs, last-modified timestamp, word count, license, and an attribution string. Backed by https://<lang>.wikipedia.org/api/rest_v1/page/summary. Content is CC BY-SA 4.0 with attribution provided.

get/api/wikipedia/summary

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/wikipedia/summary
  • Auth: API key in header PAYMENT-SIGNATURE

Query parameters

titlestring required

Title to search for.

lang'en' | 'es' | 'fr' | 'de' | 'it' | 'pt' | 'ru' | 'ja' | 'zh' | 'ko' | 'ar' | 'nl' | 'pl' | 'tr' | 'sv' | 'cs' | 'fi' | 'da' | 'no' | 'el' | 'he' | 'hi' | 'th' | 'vi' | 'uk' | 'id' | 'ms' | 'ro' | 'hu' | 'simple'

Two-letter ISO language code.

trial1

Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.

Response

(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.