
Learn how to access and use the Population Explorer API with Pro or Enterprise accounts, including setup, requests, responses, best practices, and related guides.

PopEx API Access & Usage Guide
Population Explorer’s API allows analysts and decision-makers to pull demographic data directly into their own workflows. Instead of working exclusively inside the web application, you can programmatically query population totals, density, and age–sex breakdowns for any polygon you define. Each paid account comes with an API token and a monthly allowance of calls, making it simple to test small-scale analyses or integrate population data into larger automated pipelines. With straightforward request and response formats, the API is designed to be accessible to both technical teams and business users working with spatial datasets.
Prerequisites
A paid PopEx account (Pro or Enterprise).
An API token, visible in:
- In-app → Person icon (upper left) → Account & Billing
- Marketing site → My Account → Account InfoAn API tool of your choice (curl, Postman, Python, R, etc.).
Familiarity with JSON input/output.
Features
Direct programmatic access to Population Explorer datasets (LandScan 2016–2023, WorldPop 2024+).
Returns population totals, age/sex breakdowns, and demographic metrics.
Supports polygon queries — send your own geometries.
Provides quota management: 100 free calls/month included in all paid accounts (Pro, Enterprise); more available via direct purchase.
Instructions
Step 1: Locate your API token
In-app path: Person icon → Account & Billing
Marketing site path: My Account → Account Info
Step 2: Structure your request
Send an HTTP POST request. Required headers:
Step 3: Provide a polygon
Include a type: Polygon payload with coordinates. Coordinates must be in GeoJSON format (longitude, latitude).
Example Request
Example Response
Verification
Ensure your token is accepted (401 Unauthorized = invalid token).
Check that the quota field in the response matches your remaining calls.
Validate that population_data.sum equals the total population for your polygon.
Common Errors
401 Unauthorized: Invalid or missing API token.
403 Forbidden: Token belongs to an unpaid account.
403 Starter Plan: Starter accounts cannot use the API (upgrade to Pro or Enterprise).
429 Too Many Requests: Monthly quota exceeded (100 free calls); contact PopEx to purchase more.
400 Bad Request: Malformed polygon JSON.
Best Practices
Keep polygons as simple as possible to avoid timeouts.
Cache results if running repeated queries on the same area.
Monitor quota usage via the quota field in responses.
Upgrade or purchase additional calls if you expect heavy API usage.
Need More Help?
If you run into issues, please contact us.
Explore expert articles, eCommerce guides, and the latest updates to help your business grow smarter and sell better with Unistore.

May 14, 2026
São Paulo Retail and Franchising: Emerging Retail Corridors Beyond the City’s Established Commercial Centers
São Paulo’s strongest retail opportunities may not emerge from its most established commercial centers. Using high-resolution population forecasts, ambient population analysis, retail density, and drive-time territory mapping, this analysis explores how customer growth and retail competition are beginning to diverge across several secondary corridors in the broader São Paulo metro.

May 12, 2026
55 U.S. Metros Ranked by Ambient Population Growth (2016–2024)
Ambient population measures where people actually concentrate throughout the day across work, commuting, tourism, logistics, and commercial activity. This report analyzes ambient population growth trends across 55 major U.S. metros between 2016 and 2024 using LandScan data, revealing how patterns of human activity have shifted beyond residential population growth alone.

May 11, 2026
Site Selection Analysis: Is Cape Town’s New R650m Mall in the Right Location?
Cape Town’s new R650 million GrandWest Mall development sits less than 10km from Canal Walk, one of Africa’s largest shopping malls. At first glance, the location appears risky. But drive-time catchment analysis tells a very different story. This analysis explores how primary, secondary, and tertiary retail trade areas shape competition, customer accessibility, and mall performance, and why geographic distance alone can be misleading in retail site selection.
