{"uid":"cap_sjs0HrO7eCSvRV8e2gjkg","slug":"2s-io-15502a48","name":"2s.io Wikidata Entity Lookup","description":"Fetch a Wikidata entity (Q42, P31, etc.) — structured knowledge-graph record with labels + descriptions + aliases in selectable languages, claims (property → value statements grouped by property ID), sitelinks (Wikipedia article title per language). 110M+ entities. CC0 public domain. Pass languages= as comma-separated codes (default \"en\") to control which language strings are included; pass maxClaimsPerProperty to cap how many statements come back per property (default 10).","url":"https://2s.io/api/wikidata/entity","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"required":["id"],"properties":{"id":{"type":"string","description":"Wikidata entity ID (Q42, P31, M..., L..., S...)."},"languages":{"type":"string","description":"Comma-separated language codes (default \"en\")."},"includeClaims":{"type":"boolean","description":"Whether to return claims/statements. Default true."},"maxClaimsPerProperty":{"type":"integer","default":10,"maximum":50,"minimum":1}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"id":"Q42","languages":"en,fr","includeClaims":true,"maxClaimsPerProperty":5}}},"response":{"_truncated":true,"_originalSize":35619}},"exampleRequest":{"id":"Q42","languages":"en,fr","includeClaims":true,"maxClaimsPerProperty":5},"tags":["x402"],"displayCostAmount":"0.0012","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0012/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__0dyobnhygSnyybVinmff","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetch a structured Wikidata knowledge-graph entity by ID (Q, P, M, L, S) with labels, descriptions, aliases, claims, and sitelinks in selectable languages","exampleAgentPrompt":"Pull the Wikidata entity for Douglas Adams — that's Q42 — and include labels, descriptions, and claims in English and French, capping at 5 statements per property.","exampleUseCases":null,"resultDescription":"A structured Wikidata entity record containing: multilingual labels, descriptions, and aliases; claims grouped by property ID (e.g. P31 = instance of) with up to maxClaimsPerProperty statements each; and sitelinks mapping language codes to Wikipedia article titles. All data is CC0 public domain.","failureModes":["Entity ID not found — returns 404 or empty result for invalid or nonexistent Q/P/M/L/S IDs","Invalid language code — may return empty language strings or an error","maxClaimsPerProperty out of range (must be 1–50) — validation error","Missing required 'id' parameter — 400 bad request","Rate limiting or payment failure — 402 Payment Required if x402 microtransaction is not completed","Very large entities (e.g. Q5 = human) may return truncated claim sets even with maxClaimsPerProperty set"],"whenToPreferThis":"Use this endpoint when you need structured, machine-readable knowledge graph data for a specific Wikidata entity by its known ID. Ideal for enriching records with factual properties, cross-language labels, or Wikipedia article links. Prefer this over a search endpoint when you already have the Wikidata entity ID. Best for agents that need open, CC0-licensed structured facts about people, places, concepts, or properties.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:00:44.340Z","isFirstParty":false}