{"api":{"id":"api_e367b4a9ebb4688de5f41721","slug":"wikipedia-nearby","name":"Wikipedia Places Nearby API","description":"Wikipedia articles about places near a point or near a named landmark, nearest first: title, link, distance in meters, coordinates, place type, country and region codes, short description, Wikidata id, lead image and, on request, a short summary. Any Wikipedia language.","kind":"ready_made","visibility":"public","domain":"wikipedia.org","source_url":"https://en.wikipedia.org/w/api.php?action=help&modules=query%2Bgeosearch","category":"places","record_type":"place","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":15,"created_at":"2026-12-06T03:33:09.270Z","updated_at":"2026-12-06T03:33:09.270Z","runnable":true},"version":"1.0","contract_hash":"53c0ccac8e0df1e33a394294da360ee8a8fc07f65aa66095fbfb168b9a92890a","fields":[{"name":"page_id","type":"string","description":"Wikipedia's id of the article in this language edition.","required":true,"coverage":1,"example":"6112"},{"name":"title","type":"string","description":"Article title, usually the place's name.","required":false,"coverage":1,"example":"CN Tower"},{"name":"url","type":"url","description":"Link to the article on Wikipedia.","required":false,"coverage":1,"example":"https://en.wikipedia.org/wiki/CN_Tower"},{"name":"distance_m","type":"number","description":"Straight-line distance from the center point in meters.","required":false,"coverage":1,"example":5.1},{"name":"latitude","type":"number","description":"Latitude of the article's main point.","required":false,"coverage":1,"example":43.642556},{"name":"longitude","type":"number","description":"Longitude of the article's main point.","required":false,"coverage":1,"example":-79.387083},{"name":"place_type","type":"string","description":"Kind of place from the article's coordinate tag, such as landmark, city, railwaystation, edu, airport or mountain.","required":false,"coverage":1,"example":"landmark"},{"name":"country_code","type":"string","description":"Two-letter ISO 3166-1 country code from the article's coordinate tag, such as CA.","required":false,"coverage":1,"example":"CA"},{"name":"region_code","type":"string","description":"Region part of the ISO 3166-2 code from the coordinate tag, such as ON for Ontario.","required":false,"coverage":0.6,"example":"ON"},{"name":"description","type":"string","description":"Wikipedia's short description of the article, such as Communications and observation tower in Toronto, Canada.","required":false,"coverage":1,"example":"Communications and observation tower in Toronto, Canada"},{"name":"wikidata_id","type":"string","description":"The matching Wikidata item, such as Q134883, for joining other open data.","required":false,"coverage":1,"example":"Q134883"},{"name":"image","type":"image","description":"Link to the article's lead picture, about 320 pixels wide.","required":false,"coverage":0.6,"example":"https://thumb.wikimedia.org/wikipedia/commons/thumb/6/6e/CN_Tower_logo.svg/330px-CN_Tower_logo.svg.png"},{"name":"summary","type":"string","description":"Opening sentence or two of the article in plain text, when include_summary is on.","required":false,"coverage":1,"example":"The CN Tower (French: Tour CN) is a 553.3-metre-high (1,815.3 ft) communications and observation tower in Toronto,…"},{"name":"article_bytes","type":"integer","description":"Size of the article in bytes; longer articles are usually better-known places.","required":false,"coverage":1,"example":74257},{"name":"language","type":"string","description":"Code of the Wikipedia language edition the article comes from.","required":false,"coverage":1,"example":"en"}],"inputs":[{"name":"latitude","type":"number","description":"Latitude of the center point in decimal degrees, such as 43.6426 (south is negative).","example":43.6426},{"name":"longitude","type":"number","description":"Longitude of the center point in decimal degrees, such as -79.3871 (west is negative).","example":-79.3871},{"name":"around_article","type":"string","description":"Instead of coordinates: the title of a Wikipedia article whose location is the center, such as CN Tower. That article itself is left out. Used only when latitude and longitude are empty.","example":"CN Tower"},{"name":"radius_m","type":"integer","description":"Search radius in meters, from 10 to 10,000. Default 1,000.","default":1000,"example":1000},{"name":"language","type":"string","description":"Wikipedia language edition as its code, such as en, fr, de, es or ja. Default en.","default":"en","example":"en"},{"name":"include_summary","type":"boolean","description":"Add the opening sentence or two of each article as summary. Default off.","default":false,"example":true}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"article_bytes":{"description":"Size of the article in bytes; longer articles are usually better-known places.","type":"integer"},"country_code":{"description":"Two-letter ISO 3166-1 country code from the article's coordinate tag, such as CA.","type":"string"},"description":{"description":"Wikipedia's short description of the article, such as Communications and observation tower in Toronto, Canada.","type":"string"},"distance_m":{"description":"Straight-line distance from the center point in meters.","type":"number"},"image":{"description":"Link to the article's lead picture, about 320 pixels wide.","format":"uri","type":"string"},"language":{"description":"Code of the Wikipedia language edition the article comes from.","type":"string"},"latitude":{"description":"Latitude of the article's main point.","type":"number"},"longitude":{"description":"Longitude of the article's main point.","type":"number"},"page_id":{"description":"Wikipedia's id of the article in this language edition.","type":"string"},"place_type":{"description":"Kind of place from the article's coordinate tag, such as landmark, city, railwaystation, edu, airport or mountain.","type":"string"},"region_code":{"description":"Region part of the ISO 3166-2 code from the coordinate tag, such as ON for Ontario.","type":"string"},"summary":{"description":"Opening sentence or two of the article in plain text, when include_summary is on.","type":"string"},"title":{"description":"Article title, usually the place's name.","type":"string"},"url":{"description":"Link to the article on Wikipedia.","format":"uri","type":"string"},"wikidata_id":{"description":"The matching Wikidata item, such as Q134883, for joining other open data.","type":"string"}},"required":["page_id"],"title":"Wikipedia Places Nearby API","type":"object"},"samples":[{"page_id":"6112","title":"CN Tower","url":"https://en.wikipedia.org/wiki/CN_Tower","distance_m":5.1,"latitude":43.642556,"longitude":-79.387083,"place_type":"landmark","country_code":"CA","region_code":"ON","description":"Communications and observation tower in Toronto, Canada","wikidata_id":"Q134883","image":"https://thumb.wikimedia.org/wikipedia/commons/thumb/6/6e/CN_Tower_logo.svg/330px-CN_Tower_logo.svg.png","summary":"The CN Tower (French: Tour CN) is a 553.3-metre-high (1,815.3 ft) communications and observation tower in Toronto, Ontario, Canada. Completed in 1976, it is located in downtown Toronto, built on the former Railway Lands.","article_bytes":74257,"language":"en"},{"page_id":"1585340","title":"CBL-FM","url":"https://en.wikipedia.org/wiki/CBL-FM","distance_m":13.7,"latitude":43.6425,"longitude":-79.3872,"place_type":"landmark","country_code":"CA","region_code":"ON","description":"CBC Music radio station in Toronto, Canada","wikidata_id":"Q5009126","image":"https://thumb.wikimedia.org/wikipedia/commons/thumb/1/1c/Cbc_music_toronto_2019.svg/330px-Cbc_music_toronto_2019.svg.png","summary":"CBL-FM (94.1 MHz) is the flagship station of the CBC Music network. It is a non-commercial station, licensed to Toronto, Ontario, and is owned by the Canadian Broadcasting Corporation.","article_bytes":9809,"language":"en"},{"page_id":"3916226","title":"CHIN (AM)","url":"https://en.wikipedia.org/wiki/CHIN_(AM)","distance_m":13.7,"latitude":43.6425,"longitude":-79.3872,"place_type":"landmark","country_code":"CA","region_code":"ON","description":"Multilingual radio station in Toronto","wikidata_id":"Q5011166","image":"https://thumb.wikimedia.org/wikipedia/commons/thumb/0/04/Radio_Station_CHIN_Toronto.jpg/330px-Radio_Station_CHIN_Toronto.jpg","summary":"CHIN (1540 kHz) is a commercial AM radio station in Toronto, Ontario, Canada. It is owned by CHIN Radio/TV International, and broadcasts a multilingual radio format.","article_bytes":15268,"language":"en"}],"validation":{"checked_at":"2026-12-06T03:33:09.177Z","field_coverage":{"article_bytes":1,"country_code":1,"description":1,"distance_m":1,"image":1,"language":1,"latitude":1,"longitude":1,"page_id":1,"place_type":1,"region_code":1,"summary":1,"title":1,"url":1,"wikidata_id":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T03:33:09.270Z","activated_at":"2026-12-06T03:33:09.270Z","active":true,"contract_hash":"53c0ccac8e0df1e33a394294da360ee8a8fc07f65aa66095fbfb168b9a92890a","fields_count":15}]}