# Wikidata Facts – Place Profile

> Wikidata Facts – Place Profile is a paid API for AI agents from wikidata-facts.x402tookit.com, paid per call via x402, $0.04/call, status unknown (last checked 2026-10-21).

Returns a structured geographic profile for a city or place from Wikidata, including coordinates, population, country, elevation, and time zone with their Wikidata property IDs.

## Facts

- Endpoint: GET https://wikidata-facts.x402tookit.com/place-profile?utm_source=zero.xyz
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wikidata-facts-place-profile-efdf2187
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_E3SeiXbK9xlaeBh9xUsng

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability wikidata-facts-place-profile-efdf2187
```

Example prompt: Pull up the Wikidata place profile for Denver — I need its coordinates, population, elevation, country, and time zone.

## When to prefer this

Use this endpoint when you need structured, property-tagged geographic facts about a city or place (coordinates, population, elevation, time zone, country, area) sourced from Wikidata, especially when downstream tasks need Wikidata property IDs for further queries. Prefer over general web search when you want machine-readable, consistently structured output with provenance dates. Use the `hint` parameter to disambiguate common place names.

## Known failure modes

- Ambiguous place name with multiple Wikidata matches — returns incorrect entity if hint not provided
- Place not found in Wikidata — returns null facts or error
- Some facts may be null if Wikidata lacks data for that property on the entity
- Outdated population or area figures if Wikidata hasn't been recently edited
- Invalid Q-id format causes query failure

## How this service works

City or place profile from Wikidata: coordinates, population, country, elevation, time zone, with property ids.

## Output

A structured JSON object containing geographic facts about the place, including: coordinates (lat/lon), population (with as-of date), country (Wikidata ID and label), elevation in metres, time zone, area in km², instance-of classification, located-in administrative hierarchy, and the Wikidata property IDs (e.g. P1082, P625) for each fact, plus the Wikidata entity URL and an as-of timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "place"
     ],
     "properties": {
      "hint": {
       "type": "string",
       "description": "Optional words to disambiguate, e.g. 'Texas' for Paris"
      },
      "place": {
       "type": "string",
       "description": "Place name or Wikidata Q-id, e.g. Denver or Q16554"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "url": {
       "type": [
        "null",
        "string"
       ]
      },
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "facts": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "areaKm2": {
         "type": [
          "null",
          "object"
         ],
         "properties": {
          "asOf": {
           "type": [
            "null",
            "string"
           ]
          },
          "unit": {
           "type": [
            "null",
            "string"
           ]
          },
          "value": {
           "type": [
            "null",
            "number"
           ]
          },
          "property": {
           "type": [
            "null",
            "string"
           ]
          }
         }
        },
        "country": {
         "type": [
          "null",
          "object"
         ],
         "properties": {
          "values": {
           "type": [
            "array",
            "null"
           ],
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": [
               "null",
               "string"
              ]
             },
             "label": {
              "type": [
               "null",
               "string"
              ]
             }
            }
           }
          },
          "property": {
           "type": [
            "null",
            "string"
           ]
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wikidata-facts-place-profile-efdf2187/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from wikidata-facts.x402tookit.com](https://www.zero.xyz/host/wikidata-facts.x402tookit.com/llms.txt)
