{"uid":"cap_QPUH4v67iwMhziylD6-oN","slug":"wikidata-sparql-query-api-paid-cd158851","name":"Wikidata SPARQL Query API (Paid)","description":"Paid public-data feeds. Unpaid requests return HTTP 402. Prices are USDC on Base.","url":"https://project-api-gamma-sable.vercel.app/paid/wikidata/sparql?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":["query"],"properties":{"q":{"type":"string","description":"Free-text query"},"limit":{"type":"string","description":"Max results"},"query":{"type":"string","description":"Search / SPARQL query"},"sparql":{"type":"string","description":"SPARQL (alias of query)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"what":"Wikidata SPARQL SELECT/ASK (bounded JSON + uiLink)","items":[],"source":"/paid/wikidata/sparql"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xChv4qvwNfnbgQ3BVSERe","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes SPARQL SELECT/ASK queries against Wikidata and returns bounded JSON results plus a UI link, paid per call via USDC on Base.","exampleAgentPrompt":"Run a Wikidata SPARQL query to find all Nobel Prize winners in Physics born after 1970 — return up to 20 results as JSON.","exampleUseCases":[{"title":"Biographical fact lookup for research","prompt":"Query Wikidata with SPARQL to get the birth date, nationality, and occupation for Marie Curie — give me up to 5 results."},{"title":"Entity list extraction by category","prompt":"Run a SPARQL query on Wikidata to list all UNESCO World Heritage Sites located in Japan, limited to 10 results."},{"title":"Relationship verification between concepts","prompt":"Use a Wikidata SPARQL ASK query to check whether Ada Lovelace is recorded as an instance of a mathematician."}],"resultDescription":"A JSON object containing a 'what' description field, an 'items' array with SPARQL query result bindings, a 'source' path, and a 'uiLink' pointing to the Wikidata query UI for the submitted query.","failureModes":["HTTP 402 returned if payment header is missing or USDC payment on Base is not completed","Malformed SPARQL syntax causes query parse error","Query times out if it is too complex or unbounded","Empty 'items' array returned when query matches no Wikidata entities","Missing required 'query' parameter causes a 400-level error"],"whenToPreferThis":"Choose this endpoint when you need programmatic, structured access to Wikidata's knowledge graph via SPARQL and are willing to pay $0.01 USDC per call on Base — ideal for agents that need repeatable, machine-readable fact retrieval from the world's largest open knowledge base without managing Wikidata's own rate limits directly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:37:46.248Z","isFirstParty":false,"canonicalSlug":"wikidata-sparql-query-api-paid-cd158851"}