Wikivoyage API
Returns Wikivoyage travel guide pages by search, with summaries, sections, page lists, categories and random pages.
View as Markdown| GET | /wikivoyage/search | Pages of Wikivoyage whose text matches a search, 10 per page. |
| GET | /wikivoyage/summary | Short description and lead text of one Wikivoyage page. |
| GET | /wikivoyage/sections | The sections of one Wikivoyage page, in reading order, with their level and anchor. |
| GET | /wikivoyage/pages | Page titles of the main namespace in alphabetical order, 50 per page. |
| GET | /wikivoyage/categories | The visible categories of one Wikivoyage page. |
| GET | /wikivoyage/random | Random pages of the main namespace, 1 to 10 at a time. Each call returns new ones, so it is not cached. |
| GET | /wikivoyage/nearby | Wikivoyage pages with coordinates near a point, nearest first: places, sights and districts within a radius. |
| GET | /wikivoyage/article | The full text of one Wikivoyage page as plain text, without its markup: every section, from the lead to the last listing. |
search
/v1/wikivoyage/searchPages of Wikivoyage whose text matches a search, 10 per page.
Parameters
querystring required | Words to search for, such as Bali. e.g. Bali |
langstring | Language code of the edition, such as en or de. default en |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
4 fields
pageId | string |
snippet | string |
title | string |
url | string |
curl "https://api.hoshime.com/v1/wikivoyage/search?query=Bali" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/wikivoyage/search?query=Bali", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/wikivoyage/search?query=Bali", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "pageId": "abc123", "snippet": "…", "title": "…", "url": "https://…" } ], "meta": { "cached": false, "endpoint": "search", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "wikivoyage", "requestId": "req_2Xb9kQ…", "units": 1 } }
summary
/v1/wikivoyage/summaryShort description and lead text of one Wikivoyage page.
Parameters
titlestring required | Page title, or a <lang>.wikivoyage.org/wiki/<title> URL. e.g. Bali |
langstring | Language code of the edition. A URL sets it. default en |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
description | string |
extract | string |
lang | string |
pageId | string |
title | string |
url | string |
curl "https://api.hoshime.com/v1/wikivoyage/summary?title=Bali" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/wikivoyage/summary?title=Bali", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/wikivoyage/summary?title=Bali", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "description": "…", "extract": "…", "lang": "…", "pageId": "abc123", "title": "…", "url": "https://…" }, "meta": { "cached": false, "endpoint": "summary", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "wikivoyage", "requestId": "req_2Xb9kQ…", "units": 1 } }
sections
/v1/wikivoyage/sectionsThe sections of one Wikivoyage page, in reading order, with their level and anchor.
Parameters
titlestring required | Page title, or a <lang>.wikivoyage.org/wiki/<title> URL. e.g. Bali |
langstring | Language code of the edition. A URL sets it. default en |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
4 fields
anchor | string |
level | integer (int64) |
number | string |
title | string |
curl "https://api.hoshime.com/v1/wikivoyage/sections?title=Bali" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/wikivoyage/sections?title=Bali", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/wikivoyage/sections?title=Bali", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "anchor": "…", "level": 0, "number": "…", "title": "…" } ], "meta": { "cached": false, "endpoint": "sections", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "wikivoyage", "requestId": "req_2Xb9kQ…", "units": 1 } }
pages
/v1/wikivoyage/pagesPage titles of the main namespace in alphabetical order, 50 per page.
Parameters
langstring | Language code of the edition, such as en or de. default en |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
4 fields
pageId | string |
snippet | string |
title | string |
url | string |
curl "https://api.hoshime.com/v1/wikivoyage/pages" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/wikivoyage/pages", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/wikivoyage/pages", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "pageId": "abc123", "snippet": "…", "title": "…", "url": "https://…" } ], "meta": { "cached": false, "endpoint": "pages", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "wikivoyage", "requestId": "req_2Xb9kQ…", "units": 1 } }
categories
/v1/wikivoyage/categoriesThe visible categories of one Wikivoyage page.
Parameters
titlestring required | Page title, or a <lang>.wikivoyage.org/wiki/<title> URL. e.g. Bali |
langstring | Language code of the edition. A URL sets it. default en |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
4 fields
items | Category[] |
title | string |
url | string |
title | string |
curl "https://api.hoshime.com/v1/wikivoyage/categories?title=Bali" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/wikivoyage/categories?title=Bali", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/wikivoyage/categories?title=Bali", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "items": [ { "title": "…", "url": "https://…" } ], "title": "…" }, "meta": { "cached": false, "endpoint": "categories", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "wikivoyage", "requestId": "req_2Xb9kQ…", "units": 1 } }
random
/v1/wikivoyage/randomRandom pages of the main namespace, 1 to 10 at a time. Each call returns new ones, so it is not cached.
Parameters
limitinteger | Items per page, 1 to 10. default 1 |
langstring | Language code of the edition, such as en or de. default en |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
4 fields
pageId | string |
snippet | string |
title | string |
url | string |
curl "https://api.hoshime.com/v1/wikivoyage/random" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/wikivoyage/random", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/wikivoyage/random", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "pageId": "abc123", "snippet": "…", "title": "…", "url": "https://…" } ], "meta": { "cached": false, "endpoint": "random", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "wikivoyage", "requestId": "req_2Xb9kQ…", "units": 1 } }
nearby
/v1/wikivoyage/nearbyWikivoyage pages with coordinates near a point, nearest first: places, sights and districts within a radius.
Parameters
latstring required | Latitude in decimal degrees, such as 48.8566. e.g. 48.8566 |
lonstring required | Longitude in decimal degrees, such as 2.3522. e.g. 2.3522 |
radiusinteger | Search radius in metres, from 10 to 10000. default 1000 |
limitinteger | Items per page, 1 to 50. default 10 |
langstring | Language code of the edition, such as en or de. default en |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
distanceMeters | number (double) |
latitude | number (double) |
longitude | number (double) |
pageId | string |
title | string |
url | string |
curl "https://api.hoshime.com/v1/wikivoyage/nearby?lat=48.8566&lon=2.3522" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/wikivoyage/nearby?lat=48.8566&lon=2.3522", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/wikivoyage/nearby?lat=48.8566&lon=2.3522", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "distanceMeters": 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": "wikivoyage", "requestId": "req_2Xb9kQ…", "units": 1 } }
article
/v1/wikivoyage/articleThe full text of one Wikivoyage page as plain text, without its markup: every section, from the lead to the last listing.
Parameters
titlestring required | Page title, or a <lang>.wikivoyage.org/wiki/<title> URL. e.g. Paris |
langstring | Language code of the edition. A URL sets it. default en |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
lang | string |
pageId | string |
text | string |
title | string |
url | string |
curl "https://api.hoshime.com/v1/wikivoyage/article?title=Paris" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/wikivoyage/article?title=Paris", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/wikivoyage/article?title=Paris", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "lang": "…", "pageId": "abc123", "text": "…", "title": "…", "url": "https://…" }, "meta": { "cached": false, "endpoint": "article", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "wikivoyage", "requestId": "req_2Xb9kQ…", "units": 1 } }