Population and country of world cities from Wikidata
Justaduck
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.
Input
Output fields
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.

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
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay
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.