Wikipedia
What Wikipedia data is for.
Use Wikipedia when you need search and discovery, public profiles and creator metadata without maintaining a separate adapter for each route. Start with the lowest-cost live operation, then add search or list endpoints only when the response shape fits your product.
Live
24
Paid only
0
Price floor
1 cr
Use cases
List Wikipedia category members
Call /v1/wikipedia/categories/{title}/members when you need a normalized list wikipedia category members response with the same credit and cache rules as the rest of the catalog.
List Wikipedia pages near a place
Call /v1/wikipedia/geosearch when you need a normalized list wikipedia pages near a place response with the same credit and cache rules as the rest of the catalog.
List Wikipedia logs
Call /v1/wikipedia/logs when you need a normalized list wikipedia logs response with the same credit and cache rules as the rest of the catalog.
Auth & error contract.
Auth
Send x-api-key: cf_live_... or Authorization: Bearer cf_live_.... A missing or invalid key returns 401.
Billing
Successful lookups charge the listed credits. Cache hits, 5xx responses and mapped 503 routes cost 0 credits.
Limits
429 includes Retry-After and costs nothing. Paid-only routes return 403 plan_required before any provider call.
Mapped routes
2 routes are cataloged but not connected. They return 503 upstream_not_configured and never charge.
Operations
Live / 24
readyList Wikipedia category members
/v1/wikipedia/categories/{title}/members| Name | Type | Required | Description |
|---|---|---|---|
| title | string | yes | Lookup parameter. |
| lang | string | no | Lookup parameter. |
| type | string | no | Lookup parameter. |
| sort | string | no | Lookup parameter. |
| limit | string | no | Maximum records to return, from 1 to 20. |
| cursor | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/wikipedia/categories/{title}/members" \
-H "x-api-key: $CLEANFETCH_API_KEY"{
"data": {
"platform": "wikipedia",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 1,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 3 times per day.
- • Responses are cached for 6h.
- • A public record that does not exist returns not_found and is charged once.
List Wikipedia pages near a place
/v1/wikipedia/geosearch| Name | Type | Required | Description |
|---|---|---|---|
| lang | string | no | Lookup parameter. |
| lat | string | no | Lookup parameter. |
| lon | string | no | Lookup parameter. |
| title | string | no | Lookup parameter. |
| radius | string | no | Lookup parameter. |
| limit | string | no | Maximum records to return, from 1 to 20. |
curl -s "https://api.cleanfetch.dev/v1/wikipedia/geosearch" \ -H "x-api-key: $CLEANFETCH_API_KEY"
{
"data": {
"platform": "wikipedia",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 1,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 3 times per day.
- • Responses are cached for 6h.
- • A public record that does not exist returns not_found and is charged once.
List Wikipedia logs
/v1/wikipedia/logs| Name | Type | Required | Description |
|---|---|---|---|
| lang | string | no | Lookup parameter. |
| type | string | no | Lookup parameter. |
| title | string | no | Lookup parameter. |
| since | string | no | Lookup parameter. |
| limit | string | no | Maximum records to return, from 1 to 20. |
| cursor | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/wikipedia/logs" \ -H "x-api-key: $CLEANFETCH_API_KEY"
{
"data": {
"platform": "wikipedia",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 1,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 3 times per day.
- • Responses are cached for 6h.
- • A public record that does not exist returns not_found and is charged once.
Get Wikipedia on-this-day entries
/v1/wikipedia/on-this-day| Name | Type | Required | Description |
|---|---|---|---|
| lang | string | no | Lookup parameter. |
| month | string | yes | Lookup parameter. |
| day | string | yes | Lookup parameter. |
| type | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/wikipedia/on-this-day?month=example&day=example" \ -H "x-api-key: $CLEANFETCH_API_KEY"
{
"data": {
"platform": "wikipedia",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 1,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 3 times per day.
- • Responses are cached for 6h.
- • A public record that does not exist returns not_found and is charged once.
Get several Wikipedia pages
/v1/wikipedia/pages| Name | Type | Required | Description |
|---|---|---|---|
| titles | string | yes | Lookup parameter. |
| lang | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/wikipedia/pages?titles=example" \ -H "x-api-key: $CLEANFETCH_API_KEY"
{
"data": {
"platform": "wikipedia",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 1,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 3 times per day.
- • Responses are cached for 6h.
- • A public record that does not exist returns not_found and is charged once.
Get Wikipedia page
/v1/wikipedia/pages/{title}| Name | Type | Required | Description |
|---|---|---|---|
| title | string | yes | Lookup parameter. |
| lang | string | no | Lookup parameter. |
| include | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/wikipedia/pages/{title}" \
-H "x-api-key: $CLEANFETCH_API_KEY"{
"data": {
"platform": "wikipedia",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 1,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 3 times per day.
- • Responses are cached for 6h.
- • A public record that does not exist returns not_found and is charged once.
List Wikipedia page backlinks
/v1/wikipedia/pages/{title}/backlinks| Name | Type | Required | Description |
|---|---|---|---|
| title | string | yes | Lookup parameter. |
| lang | string | no | Lookup parameter. |
| namespace | string | no | Lookup parameter. |
| type | string | no | Lookup parameter. |
| limit | string | no | Maximum records to return, from 1 to 20. |
| cursor | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/wikipedia/pages/{title}/backlinks" \
-H "x-api-key: $CLEANFETCH_API_KEY"{
"data": {
"platform": "wikipedia",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 1,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 3 times per day.
- • Responses are cached for 6h.
- • A public record that does not exist returns not_found and is charged once.
Get Wikipedia page content
/v1/wikipedia/pages/{title}/content| Name | Type | Required | Description |
|---|---|---|---|
| title | string | yes | Lookup parameter. |
| lang | string | no | Lookup parameter. |
| format | string | no | Lookup parameter. |
| section | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/wikipedia/pages/{title}/content" \
-H "x-api-key: $CLEANFETCH_API_KEY"{
"data": {
"platform": "wikipedia",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 1,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 3 times per day.
- • Responses are cached for 6h.
- • A public record that does not exist returns not_found and is charged once.
List Wikipedia page languages
/v1/wikipedia/pages/{title}/languages| Name | Type | Required | Description |
|---|---|---|---|
| title | string | yes | Lookup parameter. |
| lang | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/wikipedia/pages/{title}/languages" \
-H "x-api-key: $CLEANFETCH_API_KEY"{
"data": {
"platform": "wikipedia",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 1,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 3 times per day.
- • Responses are cached for 6h.
- • A public record that does not exist returns not_found and is charged once.
List Wikipedia page links
/v1/wikipedia/pages/{title}/links| Name | Type | Required | Description |
|---|---|---|---|
| title | string | yes | Lookup parameter. |
| lang | string | no | Lookup parameter. |
| type | string | no | Lookup parameter. |
| limit | string | no | Maximum records to return, from 1 to 20. |
| cursor | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/wikipedia/pages/{title}/links" \
-H "x-api-key: $CLEANFETCH_API_KEY"{
"data": {
"platform": "wikipedia",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 1,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 3 times per day.
- • Responses are cached for 6h.
- • A public record that does not exist returns not_found and is charged once.
List Wikipedia page media
/v1/wikipedia/pages/{title}/media| Name | Type | Required | Description |
|---|---|---|---|
| title | string | yes | Lookup parameter. |
| lang | string | no | Lookup parameter. |
| limit | string | no | Maximum records to return, from 1 to 20. |
| cursor | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/wikipedia/pages/{title}/media" \
-H "x-api-key: $CLEANFETCH_API_KEY"{
"data": {
"platform": "wikipedia",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 1,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 3 times per day.
- • Responses are cached for 6h.
- • A public record that does not exist returns not_found and is charged once.
Get Wikipedia page pageviews
/v1/wikipedia/pages/{title}/pageviews| Name | Type | Required | Description |
|---|---|---|---|
| title | string | yes | Lookup parameter. |
| lang | string | no | Lookup parameter. |
| from | string | no | Lookup parameter. |
| to | string | no | Lookup parameter. |
| granularity | string | no | Lookup parameter. |
| access | string | no | Lookup parameter. |
| agent | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/wikipedia/pages/{title}/pageviews" \
-H "x-api-key: $CLEANFETCH_API_KEY"{
"data": {
"platform": "wikipedia",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 1,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 3 times per day.
- • Responses are cached for 6h.
- • A public record that does not exist returns not_found and is charged once.
List Wikipedia page revisions
/v1/wikipedia/pages/{title}/revisions| Name | Type | Required | Description |
|---|---|---|---|
| title | string | yes | Lookup parameter. |
| lang | string | no | Lookup parameter. |
| limit | string | no | Maximum records to return, from 1 to 20. |
| cursor | string | no | Lookup parameter. |
| from | string | no | Lookup parameter. |
| to | string | no | Lookup parameter. |
| dir | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/wikipedia/pages/{title}/revisions" \
-H "x-api-key: $CLEANFETCH_API_KEY"{
"data": {
"platform": "wikipedia",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 1,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 3 times per day.
- • Responses are cached for 6h.
- • A public record that does not exist returns not_found and is charged once.
Get Wikipedia site pageviews
/v1/wikipedia/pageviews/site| Name | Type | Required | Description |
|---|---|---|---|
| lang | string | no | Lookup parameter. |
| metric | string | no | Lookup parameter. |
| from | string | no | Lookup parameter. |
| to | string | no | Lookup parameter. |
| granularity | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/wikipedia/pageviews/site" \ -H "x-api-key: $CLEANFETCH_API_KEY"
{
"data": {
"platform": "wikipedia",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 1,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 3 times per day.
- • Responses are cached for 6h.
- • A public record that does not exist returns not_found and is charged once.
Get most-viewed Wikipedia pages
/v1/wikipedia/pageviews/top| Name | Type | Required | Description |
|---|---|---|---|
| lang | string | no | Lookup parameter. |
| mode | string | no | Lookup parameter. |
| date | string | no | Lookup parameter. |
| access | string | no | Lookup parameter. |
| country | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/wikipedia/pageviews/top" \ -H "x-api-key: $CLEANFETCH_API_KEY"
{
"data": {
"platform": "wikipedia",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 1,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 3 times per day.
- • Responses are cached for 6h.
- • A public record that does not exist returns not_found and is charged once.
List random Wikipedia pages
/v1/wikipedia/random| Name | Type | Required | Description |
|---|---|---|---|
| lang | string | no | Lookup parameter. |
| namespace | string | no | Lookup parameter. |
| limit | string | no | Maximum records to return, from 1 to 20. |
curl -s "https://api.cleanfetch.dev/v1/wikipedia/random" \ -H "x-api-key: $CLEANFETCH_API_KEY"
{
"data": {
"platform": "wikipedia",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 1,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 3 times per day.
- • Responses are cached for 6h.
- • A public record that does not exist returns not_found and is charged once.
List Wikipedia recent changes
/v1/wikipedia/recent-changes| Name | Type | Required | Description |
|---|---|---|---|
| lang | string | no | Lookup parameter. |
| type | string | no | Lookup parameter. |
| namespace | string | no | Lookup parameter. |
| since | string | no | Lookup parameter. |
| title | string | no | Lookup parameter. |
| limit | string | no | Maximum records to return, from 1 to 20. |
| cursor | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/wikipedia/recent-changes" \ -H "x-api-key: $CLEANFETCH_API_KEY"
{
"data": {
"platform": "wikipedia",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 1,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 3 times per day.
- • Responses are cached for 6h.
- • A public record that does not exist returns not_found and is charged once.
Search Wikipedia
/v1/wikipedia/search| Name | Type | Required | Description |
|---|---|---|---|
| query | string | yes | Search query or keyword. |
| lang | string | no | Lookup parameter. |
| limit | string | no | Maximum records to return, from 1 to 20. |
| offset | string | no | Lookup parameter. |
| sort | string | no | Lookup parameter. |
| namespace | string | no | Lookup parameter. |
| cursor | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/wikipedia/search?query=nike" \ -H "x-api-key: $CLEANFETCH_API_KEY"
{
"data": {
"platform": "wikipedia",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 1,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 3 times per day.
- • Responses are cached for 6h.
- • A public record that does not exist returns not_found and is charged once.
Get Wikipedia title suggestions
/v1/wikipedia/search/suggest| Name | Type | Required | Description |
|---|---|---|---|
| query | string | yes | Search query or keyword. |
| lang | string | no | Lookup parameter. |
| limit | string | no | Maximum records to return, from 1 to 20. |
| cursor | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/wikipedia/search/suggest?query=nike" \ -H "x-api-key: $CLEANFETCH_API_KEY"
{
"data": {
"platform": "wikipedia",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 1,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 3 times per day.
- • Responses are cached for 6h.
- • A public record that does not exist returns not_found and is charged once.
Get Wikipedia user
/v1/wikipedia/users/{name}| Name | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Package name. |
| lang | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/wikipedia/users/{name}" \
-H "x-api-key: $CLEANFETCH_API_KEY"{
"data": {
"platform": "wikipedia",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 1,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 3 times per day.
- • Responses are cached for 6h.
- • A public record that does not exist returns not_found and is charged once.
List Wikipedia user contributions
/v1/wikipedia/users/{name}/contributions| Name | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Package name. |
| lang | string | no | Lookup parameter. |
| namespace | string | no | Lookup parameter. |
| from | string | no | Lookup parameter. |
| to | string | no | Lookup parameter. |
| limit | string | no | Maximum records to return, from 1 to 20. |
| cursor | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/wikipedia/users/{name}/contributions" \
-H "x-api-key: $CLEANFETCH_API_KEY"{
"data": {
"platform": "wikipedia",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 1,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 3 times per day.
- • Responses are cached for 6h.
- • A public record that does not exist returns not_found and is charged once.
Get Wikidata entity
/v1/wikipedia/wikidata/entities/{id}| Name | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Numeric item id. |
| site | string | no | Lookup parameter. |
| languages | string | no | Lookup parameter. |
| props | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/wikipedia/wikidata/entities/{id}" \
-H "x-api-key: $CLEANFETCH_API_KEY"{
"data": {
"platform": "wikipedia",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 1,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 3 times per day.
- • Responses are cached for 6h.
- • A public record that does not exist returns not_found and is charged once.
Get Wikidata SPARQL query result
/v1/wikipedia/wikidata/query| Name | Type | Required | Description |
|---|---|---|---|
| sparql | string | yes | Lookup parameter. |
| format | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/wikipedia/wikidata/query?sparql=example" \ -H "x-api-key: $CLEANFETCH_API_KEY"
{
"data": {
"platform": "wikipedia",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 1,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 3 times per day.
- • Responses are cached for 6h.
- • A public record that does not exist returns not_found and is charged once.
Search Wikidata
/v1/wikipedia/wikidata/search| Name | Type | Required | Description |
|---|---|---|---|
| query | string | yes | Search query or keyword. |
| lang | string | no | Lookup parameter. |
| type | string | no | Lookup parameter. |
| limit | string | no | Maximum records to return, from 1 to 20. |
| cursor | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/wikipedia/wikidata/search?query=nike" \ -H "x-api-key: $CLEANFETCH_API_KEY"
{
"data": {
"platform": "wikipedia",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 1,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 3 times per day.
- • Responses are cached for 6h.
- • A public record that does not exist returns not_found and is charged once.
Mapped / 2
503 · 0 creditsGet Wikipedia featured feed
/v1/wikipedia/feed
Get Wikipedia page history statistics
/v1/wikipedia/pages/{title}/history-stats
Common Wikipedia API questions
How many Wikipedia operations are live?
24 of 26 cataloged operations are live. 2 mapped operations return 503 upstream_not_configured and cost 0 credits.
What does a Wikipedia call cost?
Live operations range from 1 to 1 credits. 24 are available on the free daily cap and 0 are paid-only. Cache hits cost 0 credits.
Are Wikipedia responses cached?
Successful responses are cached between 6h and 6h. A cache hit costs 0 credits and does not consume the free daily cap.
How do I authenticate Wikipedia requests?
Send x-api-key or Authorization: Bearer with a CleanFetch key. Missing or invalid keys return 401; paid-only routes return 403 plan_required; rate limits return 429 with Retry-After. A 5xx or timeout costs 0 credits.