Place Profile
by Wikidata Facts in Other
City or place profile from Wikidata: coordinates, population, country, elevation, time zone, with property ids.
https://wikidata-facts.x402tookit.com/place-profile- Price
- $0.04
- per call in USDC
- Uptime
- 65.0%
- last 30 days
- Response time
- 566 ms
- 962 ms slowest 5%
- Last check
- Passed
- 7 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://wikidata-facts.x402tookit.com/place-profile
Each call costs $0.04 in USDC on Polygon, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://wikidata-facts.x402tookit.com/place-profile?hint=Colorado&place=DenverParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
hint | string | No | Optional words to disambiguate, e.g. 'Texas' for Paris |
place | string | Yes | Place name or Wikidata Q-id, e.g. Denver or Q16554 |
Example response
The provider's example. We can't check it without paying.
Example response, 94 lines
{
"alternatives": [
{
"description": "airport in Denver, Colorado, United States",
"id": "Q330015",
"label": "Denver International Airport"
}
],
"asOf": "2026-10-11T08:44:06.173Z",
"attribution": "Data: Wikidata, CC0 1.0 public domain dedication (https://www.wikidata.org/wiki/Wikidata:Licensing).",
"degraded": false,
"description": "consolidated city-county and capital of the U.S. state of Colorado",
"disclaimer": "Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting.",
"facts": {
"areaKm2": {
"asOf": "2016",
"property": "P2046",
"unit": "km2",
"value": 401.36
},
"coordinates": {
"property": "P625",
"value": {
"lat": 39.73917,
"lon": -104.98472
}
},
"country": {
"property": "P17",
"values": [
{
"id": "Q30",
"label": "United States"
}
]
},
"elevationM": {
"property": "P2044",
"value": 1609
},
"instanceOf": {
"property": "P31",
"values": [
{
"id": "Q3301053",
"label": "consolidated city-county"
},
{
"id": "Q1549591",
"label": "big city"
}
]
},
"locatedIn": {
"property": "P131",
"values": [
{
"id": "Q1261",
"label": "Colorado"
}
]
},
"population": {
"asOf": "2020",
"property": "P1082",
"rank": "preferred",
"value": 715522
},
"timeZone": {
"property": "P421",
"values": []
}
},
"label": "Denver",
"missing": [
"timeZone (P421)"
],
"notChecked": [
"whether the population is a recent census or an old estimate beyond the date shown",
"boundaries and administrative changes since the statement was entered",
"…1 more"
],
"reasons": [
"Not stated in Wikidata: timeZone (P421).",
"Coordinates use the Earth globe (Q2) when stated; population is the latest dated statement (preferred rank first)."
],
"resolvedVia": "search",
"source": "Wikidata (CC0)",
"sourceUrl": "https://www.wikidata.org",
"summary": "Denver (Q16554): United States; population 715,522 (2020); at 39.73917, -104.98472.",
"url": "https://www.wikidata.org/wiki/Q16554",
"verdict": "PROFILE_WITH_GAPS",
"wikidataId": "Q16554"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.04.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://wikidata-facts.x402tookit.com/place-profile?hint=Colorado&place=Denver'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://wikidata-facts.x402tookit.com/place-profile?hint=Colorado&place=Denver' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.04 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.04" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.04 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fwikidata-facts.x402tookit.com%2Fplace-profile
const res = await pay("https://wikidata-facts.x402tookit.com/place-profile?hint=Colorado&place=Denver");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.04 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.04"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://wikidata-facts.x402tookit.com/place-profile?hint=Colorado&place=Denver")
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 7 h ago | Passed | 402 | 643 ms | $0.04 |
| 20 h ago | Expected HTTP 402, got 530 | 530 | 176 ms | - |
| 33 h ago | Passed | 402 | 541 ms | $0.04 |
| 44 h ago | Expected HTTP 402, got 530 | 530 | 182 ms | - |
| 2 days ago | Passed | 402 | 478 ms | $0.04 |
Show 10 older checks
| 3 days ago | Passed | 402 | 539 ms | $0.04 |
| 3 days ago | Expected HTTP 402, got 530 | 530 | 92 ms | - |
| 4 days ago | Passed | 402 | 566 ms | $0.04 |
| 4 days ago | Expected HTTP 402, got 530 | 530 | 134 ms | - |
| 5 days ago | Expected HTTP 402, got 530 | 530 | 100 ms | - |
| 5 days ago | Passed | 402 | 571 ms | $0.04 |
| 5 days ago | Expected HTTP 402, got 530 | 530 | 196 ms | - |
| 5 days ago | Expected HTTP 402, got 530 | 530 | 210 ms | - |
| 5 days ago | Passed | 402 | 516 ms | $0.04 |
| 6 days ago | Passed | 402 | 558 ms | $0.04 |