Data Commons website screenshot

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.

6 APIs 0 Features
Data CommonsKnowledge GraphOpen DataPublic DataStatistics

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.

Collections

Pricing Plans

Rate Limits

Data Commons Rate Limits

5 limits

RATE LIMITS

FinOps

Semantic Vocabularies

Data Commons Context

0 classes · 4 properties

JSON-LD

Resources

🔗
Website
Website
🔗
Documentation
Documentation
🔗
API Documentation
API Documentation
🔗
API Keys
API Keys
👥
GitHubOrganization
GitHubOrganization
📰
Blog
Blog
🔗
Vocabulary
Vocabulary
🔗
JSONLD
JSONLD
🔗
MCPServer
MCPServer

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Data Commons REST API V2
  version: '2.0'
request:
  auth:
    type: apikey
    key: X-API-Key
    value: '{{X-API-Key}}'
    placement: header
items:
- info:
    name: Observation
    type: folder
  items:
  - info:
      name: Fetch statistical observations
      type: http
    http:
      method: GET
      url: https://api.datacommons.org/v2/observation
      params:
      - name: key
        value: ''
        type: query
      - name: date
        value: ''
        type: query
      - name: select
        value: ''
        type: query
      - name: entity.dcids
        value: ''
        type: query
      - name: entity.expression
        value: ''
        type: query
      - name: variable.dcids
        value: ''
        type: query
    docs: Fetch statistical observations
  - info:
      name: Fetch statistical observations
      type: http
    http:
      method: POST
      url: https://api.datacommons.org/v2/observation
      body:
        type: json
        data: '{}'
    docs: Fetch statistical observations
- info:
    name: Node
    type: folder
  items:
  - info:
      name: Query node properties and arcs
      type: http
    http:
      method: GET
      url: https://api.datacommons.org/v2/node
      params:
      - name: key
        value: ''
        type: query
      - name: nodes
        value: ''
        type: query
      - name: property
        value: ''
        type: query
    docs: Query node properties and arcs
  - info:
      name: Query node properties and arcs
      type: http
    http:
      method: POST
      url: https://api.datacommons.org/v2/node
      body:
        type: json
        data: '{}'
    docs: Query node properties and arcs
- info:
    name: Resolve
    type: folder
  items:
  - info:
      name: Resolve entities to Data Commons IDs
      type: http
    http:
      method: GET
      url: https://api.datacommons.org/v2/resolve
      params:
      - name: key
        value: ''
        type: query
      - name: nodes
        value: ''
        type: query
      - name: property
        value: ''
        type: query
    docs: Resolve entities to Data Commons IDs
  - info:
      name: Resolve entities to Data Commons IDs
      type: http
    http:
      method: POST
      url: https://api.datacommons.org/v2/resolve
      body:
        type: json
        data: '{}'
    docs: Resolve entities to Data Commons IDs
bundled: true