Skip to content

Wikipedia API

10 endpointsSearch & KnowledgeGlobalsocial:read5 real examples

Returns Wikipedia article summaries, search results, page views, random articles, categories and language editions.

View as Markdown
GET/wikipedia/summaryLead summary, description and thumbnail of one article.
GET/wikipedia/searchArticles that match a search in one Wikipedia language, 20 per page.
GET/wikipedia/pageviewsDaily page views of one article by people (not bots) over the last days, up to 90.
GET/wikipedia/randomSummary of a random article.
GET/wikipedia/categoriesVisible categories of one article.
GET/wikipedia/languagesThe same article in other language editions of Wikipedia.
GET/wikipedia/mostReadThe most-read articles of one Wikipedia day, with view counts.
GET/wikipedia/onThisDayEvents of one calendar day in history, with the articles about them.
GET/wikipedia/nearbyWikipedia articles about places near a latitude and longitude, nearest first, within a radius of up to 10 km.
GET/wikipedia/backlinksArticles of one Wikipedia language that link to an article, 20 per page.

summary

GET/v1/wikipedia/summary

Lead summary, description and thumbnail of one article.

scope social:read1 unitcached 6 h

Parameters

title
string
required
Article title, or a <lang>.wikipedia.org/wiki/<title> URL.
e.g. Indonesia
lang
string
Wikipedia language code, such as en or de. A URL sets it.
default en
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

12 fields
descriptionstring
extractstring
langstring
lastModifiedstring
pageIdstring
thumbnailImage | null
heightany
urlstring
widthany
titlestring
typestring
urlstring
curl "https://api.hoshime.com/v1/wikipedia/summary?title=Indonesia" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "description": "Country in Southeast Asia and Oceania",
    "extract": "Indonesia, officially the Republic of Indonesia, is a country in Southeast Asia and Oceania, between the Indian and Pacific oceans. Comprisi…",
    "lang": "en",
    "lastModified": "2026-11-06T13:23:17Z",
    "pageId": "14579",
    "thumbnail": {
      "height": 220,
      "url": "https://thumb.wikimedia.org/wikipedia/commons/thumb/9/9f/Flag_of_Indonesia.svg/330px-Flag_of_Indonesia.svg.png?utm_source=en.wikipedia.org&u…",
      "width": 330
    },
    "title": "Indonesia",
    "type": "standard",
    "url": "https://en.wikipedia.org/wiki/Indonesia"
  },
  "meta": {
    "cached": false,
    "endpoint": "summary",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "wikipedia",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

pageviews

GET/v1/wikipedia/pageviews

Daily page views of one article by people (not bots) over the last days, up to 90.

scope social:read1 unitcached 6 h

Parameters

article
string
required
Article title, or a <lang>.wikipedia.org/wiki/<title> URL.
e.g. Indonesia
lang
string
Wikipedia language code, such as en or de. A URL sets it.
default en
days
integer
Days to count back from the last complete day. Ignored when from or to is set.
default 30
from
string
First day of the range as YYYY-MM-DD, from 2015-07-01. Overrides days.
to
string
Last day of the range as YYYY-MM-DD. Default: the last complete day. Overrides days.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

9 fields
dailyDay[]
datestring
viewsinteger (int64)
fromstring
langstring
titlestring
tostring
totalinteger (int64)
urlstring
curl "https://api.hoshime.com/v1/wikipedia/pageviews?article=Indonesia" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "daily": [
      {
        "date": "2026-10-07",
        "views": 7052
      },
      {
        "date": "2026-10-08",
        "views": 7066
      }
    ],
    "from": "2026-10-07",
    "lang": "en",
    "title": "Indonesia",
    "to": "2026-11-05",
    "total": 223932,
    "url": "https://en.wikipedia.org/wiki/Indonesia"
  },
  "meta": {
    "cached": false,
    "endpoint": "pageviews",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "wikipedia",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

random

GET/v1/wikipedia/random

Summary of a random article.

scope social:read1 unit

Parameters

lang
string
Wikipedia language code, such as en or de.
default en
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

12 fields
descriptionstring
extractstring
langstring
lastModifiedstring
pageIdstring
thumbnailImage | null
heightany
urlstring
widthany
titlestring
typestring
urlstring
curl "https://api.hoshime.com/v1/wikipedia/random" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "description": "Species of fungus",
    "extract": "Conocybe subpallida is a species of mushroom-producing fungus in the family Bolbitiaceae.",
    "lang": "en",
    "lastModified": "2025-05-28T03:33:41Z",
    "pageId": "76462414",
    "thumbnail": {
      "height": 270,
      "url": "https://thumb.wikimedia.org/wikipedia/commons/thumb/c/ce/Conocybe_subpallida_Enderle_2332469363_%28cropped%29.jpg/330px-Conocybe_subpallida_…",
      "width": 330
    },
    "title": "Conocybe subpallida",
    "type": "standard",
    "url": "https://en.wikipedia.org/wiki/Conocybe_subpallida"
  },
  "meta": {
    "cached": false,
    "endpoint": "random",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "wikipedia",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

categories

GET/v1/wikipedia/categories

Visible categories of one article.

scope social:read1 unitcached 6 h

Parameters

title
string
required
Article title, or a <lang>.wikipedia.org/wiki/<title> URL.
e.g. Go (programming language)
lang
string
Wikipedia language code, such as en or de. A URL sets it.
default en
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

3 fields
itemsCategory[]
titlestring
titlestring
curl "https://api.hoshime.com/v1/wikipedia/categories?title=Go+%28programming+language%29" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "items": [
      {
        "title": "Category:American inventions"
      },
      {
        "title": "Category:C programming language family"
      }
    ],
    "title": "Go (programming language)"
  },
  "meta": {
    "cached": false,
    "endpoint": "categories",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "wikipedia",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

languages

GET/v1/wikipedia/languages

The same article in other language editions of Wikipedia.

scope social:read1 unitcached 6 h

Parameters

title
string
required
Article title, or a <lang>.wikipedia.org/wiki/<title> URL.
e.g. Indonesia
lang
string
Wikipedia language code of the title, such as en or de. A URL sets it.
default en
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

5 fields
itemsLangLink[]
langstring
titlestring
urlstring
titlestring
curl "https://api.hoshime.com/v1/wikipedia/languages?title=Indonesia" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "items": [
      {
        "lang": "…",
        "title": "…",
        "url": "https://…"
      }
    ],
    "title": "…"
  },
  "meta": {
    "cached": false,
    "endpoint": "languages",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "wikipedia",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

mostRead

GET/v1/wikipedia/mostRead

The most-read articles of one Wikipedia day, with view counts.

scope social:read1 unitcached 6 h

Parameters

date
string
Day as YYYY-MM-DD, from 2015-01-01. Default: yesterday (UTC).
e.g. 2025-06-01
lang
string
Wikipedia language code, such as en or de.
default en
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

8 fields
datestring
itemsReadArticle[]
extractstring
rankinteger (int64)
titlestring
urlstring
viewsinteger (int64)
langstring
curl "https://api.hoshime.com/v1/wikipedia/mostRead?date=2025-06-01" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "date": "…",
    "items": [
      {
        "extract": "…",
        "rank": 0,
        "title": "…",
        "url": "https://…",
        "views": 0
      }
    ],
    "lang": "…"
  },
  "meta": {
    "cached": false,
    "endpoint": "mostRead",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "wikipedia",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

onThisDay

GET/v1/wikipedia/onThisDay

Events of one calendar day in history, with the articles about them.

scope social:read1 unitcached 6 h

Parameters

date
string
Day as YYYY-MM-DD; only the month and day matter. Default: yesterday (UTC).
e.g. 2025-06-01
lang
string
Wikipedia language code, such as en or de.
default en
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

12 fields
datestring
itemsEvent[]
pagesRelatedArticle[]
descriptionstring
extractstring
pageIdstring
thumbnailImage | null
titlestring
urlstring
textstring
yearinteger (int64)
langstring
curl "https://api.hoshime.com/v1/wikipedia/onThisDay?date=2025-06-01" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "date": "…",
    "items": [
      {
        "pages": [],
        "text": "…",
        "year": 0
      }
    ],
    "lang": "…"
  },
  "meta": {
    "cached": false,
    "endpoint": "onThisDay",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "wikipedia",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

nearby

GET/v1/wikipedia/nearby

Wikipedia articles about places near a latitude and longitude, nearest first, within a radius of up to 10 km.

scope social:read1 unitcached 6 hpaginated

Parameters

lat
string
required
Latitude in degrees, from -90 to 90, such as -6.2.
e.g. -6.2
lon
string
required
Longitude in degrees, from -180 to 180, such as 106.8.
e.g. 106.8
radius
integer
Radius in metres, from 10 to 10000.
default 1000
limit
integer
Articles to return, from 1 to 50.
default 20
lang
string
Wikipedia language code, such as en or de.
default en
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

6 fields
distanceMetresnumber (double)
latitudenumber (double)
longitudenumber (double)
pageIdstring
titlestring
urlstring
curl "https://api.hoshime.com/v1/wikipedia/nearby?lat=-6.2&lon=106.8" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "distanceMetres": 0,
      "latitude": 0,
      "longitude": 0,
      "pageId": "abc123",
      "title": "…",
      "url": "https://…"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "nearby",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "wikipedia",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open