Skip to main content
GET
Fetch an article by pasting its URL

Authorizations

Authorization
string
header
required

A Dataville API key, sent as Authorization: Bearer dataville_.... Clients that cannot set headers may pass the same key as ?token=.

Path Parameters

wikipediaUrl
string
required

The rest of the article URL, e.g. en.wikipedia.org/wiki/Moon_landing.

Query Parameters

summary
boolean
default:false

Truncate data.body to the first 100 characters.

token
string

API key as a query parameter, for clients that cannot set an Authorization header (DuckDB WASM, the DuckDB CLI). Prefer the header wherever possible β€” query strings end up in logs.

Response

The article at that URL.

status
enum<string>
Available options:
success
account_state
enum<string>
Available options:
authenticated,
anonymous
data
object

The common shape every data source returns.

usage
object