Data Commons
Data Commons is an open knowledge graph initiative led by Google that aggregates and harmonizes the world's public data into a single graph, making global statistical data simple to explore, query, and integrate through REST, Python, BigQuery, web component, and MCP interfaces.
APIs
Data Commons REST API V2
HTTP REST interface for retrieving statistical observations, exploring the Data Commons knowledge graph, and resolving entities to Data Commons IDs (DCIDs). Returns structured J...
Data Commons Python Client
Official Python client library that wraps the Data Commons REST API with native Pandas DataFrame support for analytical workflows and notebook integration.
Data Commons Google Sheets
Custom Google Sheets functions that pull Data Commons statistical data directly into spreadsheets without requiring an API key.
Data Commons Web Components
Drop-in JavaScript/HTML web components for embedding Data Commons charts, maps, rankings, and visualizations in any website.
Data Commons BigQuery
SQL access to Data Commons through Google BigQuery enabling complex analytical queries and joins with private datasets.
Data Commons MCP Server
Model Context Protocol server that lets AI agents query Data Commons conversationally, surfacing variables, places, and observations through natural language tools.