Go to example tasks

Population and country of world cities from Wikidata

Population (P1082), country (P17) and coordinates for a list of world cities, read from each Wikipedia article's linked Wikidata item, with the Wikipedia summary.

Try for free
Wikipedia Scraper – Articles, Wikidata & Pageviews
Wikipedia Scraper – Articles, Wikidata & Pageviewsjustaduck/wikipedia-wikidata-scraper
Title
Lang
Description
Summary
+4 fields
Text
Number
Boolean
List
Object

Input

Article titles:Tokyo+5
Language:en
Wikidata properties:P1082+1
Include full article text:false
Include 30-day pageviews:false
Max items:50

Output fields

Title
Lang
Description
Summary
Wikidata
Last edited
Views (30 d)
Wikipedia page

How it works

Sign up on Apify or log in

The Wikipedia Scraper – Articles, Wikidata & Pageviews Actor is ready to run with the inputs already set for "Population and country of world cities from Wikidata". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Population and country of world cities from Wikidata" task

The Wikipedia Scraper – Articles, Wikidata & Pageviews Actor will start running based on the input automatically. You can also change all the input fields, like article titles, language, and more, to match your specific use case.

Receive the "Population and country of world cities from Wikidata" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as title, lang, description, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Population and country of world cities from Wikidata" task via API.

Image

Integrate "Population and country of world cities from Wikidata" into your workflow

Connect "Population and country of world cities from Wikidata" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

The Wikidata city population example returns 6 cities, each with Wikidata population (P1082) and country (P17) values, the Wikidata ID, coordinates and the Wikipedia summary.

The Wikidata city population example reads the official Wikimedia APIs (Wikipedia, Wikidata and the Pageviews API); no HTML pages are scraped.

The Wikidata city population example stops at 50 articles. At US$1.00 per 1,000 articles plus US$0.00005 per run start, one run costs at most about US$0.050. Apify's free plan includes US$5 of usage a month.