GroundsocialDocs

API · Wikipedia

GET /wikipedia/search

Search a Wikipedia edition: titles, snippets, sizes, last edits.

RequestGET /v1/wikipedia/search
Operation idwikipedia.search.all
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

Search a Wikipedia edition: titles, snippets, sizes, last edits.

Query parameters

NameTypeRequiredDescription
querystringyesExample: espresso machine.
languagestringnoWikipedia language edition (default en). Example: de.
pageintegerno
limitintegerno
sincestringno
untilstringno

Responses

StatusMeaningSchema
200Matching articles.
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404Wikipedia has no page with that title in that language.Error
429Too many requests. Wait for Retry-After seconds.Error
503Wikipedia is temporarily unavailable. Retryable; nothing was charged.Error

Errors use one shape everywhere; see Errors for every code and what to do.