Skip to content
Fourohtwo

api.sitecheck-api.workers.dev/api/wikidata

Runs a read-only SPARQL query on Wikidata and returns the rows as plain values (ASK returns true or false). Only SELECT and ASK are allowed; updates are refused. A LIMIT of 100 or less is added when missing. 8-second limit. Data is CC0.

BaseSolanaArcPolygonArbitrumWorld Chain+1Answering
GEThttps://api.sitecheck-api.workers.dev/api/wikidata

Uptime100% of 5 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.sitecheck-api.workers.dev/api/wikidata?query=SELECT+%3Fcity+%3FcityLabel+WHERE+%7B+%3Fcity+wdt%3AP31+wd%3AQ6256+.+SERVICE+wikibase%3Alabel+%7B+bd%3AserviceParam+wikibase%3Alanguage+%22en%22.+%7D+%7D+LIMIT+3");
console.log(await res.json());

Example input

{
  "query": "SELECT ?city ?cityLabel WHERE { ?city wdt:P31 wd:Q6256 . SERVICE wikibase:label { bd:serviceParam wikibase:language \"en\". } } LIMIT 3"
}

More from SiteCheckProvider status

api.sitecheck-api.workers.dev/api/wikidata by SiteCheck · x402 API | Fourohtwo