{"uid":"cap_E3SeiXbK9xlaeBh9xUsng","slug":"wikidata-facts-place-profile-efdf2187","name":"Wikidata Facts – Place Profile","description":"City or place profile from Wikidata: coordinates, population, country, elevation, time zone, with property ids.","url":"https://wikidata-facts.x402tookit.com/place-profile?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"]}}},"timeZone":{"type":["null","object"],"properties":{"values":{"type":["array","null"]},"property":{"type":["null","string"]}}},"locatedIn":{"type":["null","object"],"properties":{"values":{"type":["array","null"],"items":{"type":"object","properties":{"id":{"type":["null","string"]},"label":{"type":["null","string"]}}}},"property":{"type":["null","string"]}}},"elevationM":{"type":["null","object"],"properties":{"value":{"type":["null","number"]},"property":{"type":["null","string"]}}},"instanceOf":{"type":["null","object"],"properties":{"values":{"type":["array","null"],"items":{"type":"object","properties":{"id":{"type":["null","string"]},"label":{"type":["null","string"]}}}},"property":{"type":["null","string"]}}},"population":{"type":["null","object"],"properties":{"asOf":{"type":["null","string"]},"rank":{"type":["null","string"]},"value":{"type":["null","number"]},"property":{"type":["null","string"]}}},"coordinates":{"type":["null","object"],"properties":{"value":{"type":["null","object"],"properties":{"lat":{"type":["null","number"]},"lon":{"type":["null","number"]}}},"property":{"type":["null","string"]}}}}},"label":{"type":["null","string"]},"source":{"type":["null","string"]},"missing":{"type":["array","null"],"items":{"type":"string"}},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"sourceUrl":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"wikidataId":{"type":["null","string"]},"attribution":{"type":["null","string"]},"description":{"type":["null","string"]},"resolvedVia":{"type":["null","string"]},"alternatives":{"type":["array","null"],"items":{"type":"object","properties":{"id":{"type":["null","string"]},"label":{"type":["null","string"]},"description":{"type":["null","string"]}}}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_K8R0sG1IiGBK49Xa18y1X","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"Pull up the Wikidata place profile for Denver — I need its coordinates, population, elevation, country, and time zone.","exampleUseCases":[{"title":"City fact lookup for travel planning","prompt":"What are the coordinates, time zone, and elevation of Kathmandu? I need the structured Wikidata facts for the city."},{"title":"Disambiguating common place names","prompt":"Get the Wikidata profile for Paris, Texas — use 'Texas' as a hint so it doesn't return Paris, France."},{"title":"Enriching a database with place metadata","prompt":"I have a list of city names I need to enrich — start with Lagos, Nigeria, and give me its population, area in km², country, and Wikidata property IDs for each fact."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:19:29.896Z","isFirstParty":false,"canonicalSlug":"wikidata-facts-place-profile-efdf2187"}