Skip to main content
POST
Structured article

Request contract

  • Method and path: POST /apis/v1/wikipedia/articles/structured-contents
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/wikipedia/articles/structured-contents
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0001 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
limit
integer
required

Most matching articles to return, 1 to 10. More than one only helps when no project is pinned and the title exists on several wikis.

Provider reference: minimum 1; maximum 10; default 1.

Required range: 1 <= x <= 10
name
string
required

Exact article title as on the wiki, for example Marie_Curie or Marie Curie. Case-sensitive: Wikipedia titles start with a capital letter. From a URL such as https://fr.wikipedia.org/wiki/Marie_Curie, use the part after /wiki/.

fields
string[]

Return only these fields, in dot notation, for example name, abstract, url, version.identifier. Omit for the full record. Wikimedia returns exactly the fields named.

Provider reference: maximum 50.

language
string

Wikimedia language code, for example en, fr or zh-yue. Returns the article from any project in that language; combine with project to pin one wiki.

project
string

Wikimedia project identifier: language code plus project code, for example enwiki (English Wikipedia), frwiki, dewiki, enwiktionary or eswikivoyage. Defaults to enwiki when neither project nor language is given. reference/projects lists every identifier.

Response

Parsed articles matching the exact title in the selected project or language. Carries no article_body, categories, templates or redirects; use articles/lookup for those. Empty when none match. Priced per article returned.

The response contains the tool result directly.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.