{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":null,"catalogType":"api","categories":["search-research"],"dataPlatform":"wikipedia","dataPlatformLogoUrl":"https://upload.wikimedia.org/wikipedia/commons/f/ff/Wikidata-logo.svg","dataPlatformTranslations":{"ar":"Wikidata","ja":"Wikidata","zh":"Wikidata"},"dataProduct":"knowledge-graph","description":"Search Wikidata Entity via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Wikimedia, pass parameters such as action, format, language, and retrieve structured data including wikidata entity identifier, entity label, short entity description, canonical entity URI, and url to link names to entities, disambiguate mentions, and start a knowledge lookup.","descriptionTranslations":{"ar":"ابحث نصيًا عن كيانات Wikidata عبر OpenAny REST لتحويل الاسم إلى معرّفات مرشحة ضمن سير عمل معرفي. قارن التسميات والأوصاف باللغة المطلوبة للتمييز بين الكيانات المتشابهة في الاسم، ثم استخدم المعرّف المختار في طلب تفاصيل منفصل عند الحاجة إلى الخصائص المنظمة أو الأسماء البديلة أو روابط مشاريع ويكيميديا الأخرى.","ja":"OpenAny REST で Wikidata をテキスト検索し、名称に対応する候補エンティティ ID をナレッジ処理に取り込めます。指定言語のラベルと説明で同名の候補を見分け、構造化プロパティ、別名、他のウィキメディアプロジェクトへのリンクが必要な場合は、選んだ ID を別の詳細取得に渡します。","zh":"通过 OpenAny REST 按文本搜索 Wikidata，将名称转为知识流程可用的候选实体 ID。根据指定语言的标签与描述区分同名实体；需要结构化属性、别名或其他维基媒体项目链接时，再将选定 ID 交给独立的实体详情请求。"},"effectContentHtml":"","executionMode":"sync","id":"15cdfd6c-dfb8-4a80-876a-9e38fb73d163","includedContentHtml":"","inputs":[{"description":"Set this parameter to wbsearchentities.","enum_values":["wbsearchentities"],"location":"query","name":"action","nullable":false,"required":true,"type":"string"},{"description":"Entity name or alias.","location":"query","name":"search","nullable":false,"required":true,"type":"string"},{"description":"Search language code, such as en or zh.","location":"query","name":"language","nullable":false,"required":true,"type":"string"},{"description":"Maximum number of search results.","location":"query","maximum":"20","minimum":"1","name":"limit","nullable":false,"required":true,"type":"integer"},{"description":"Set this parameter to json.","enum_values":["json"],"location":"query","name":"format","nullable":false,"required":true,"type":"string"}],"logoUrl":"https://upload.wikimedia.org/wikipedia/commons/f/ff/Wikidata-logo.svg","method":"GET","name":"Wikidata Entity Search API","nameTranslations":{"ar":"API للبحث عن كيانات Wikidata","ja":"Wikidata エンティティ検索 API","zh":"Wikidata 实体搜索 API"},"overviewHtml":"\u003ch2\u003eWikidata Entity Search API\u003c/h2\u003e\n\u003cp\u003eUse the wbsearchentities action with search text, language, limit and JSON format in the query string. The search array contains entity identifiers and human-readable labels rather than a full property graph.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eQuery: action=wbsearchentities, search, language, limit and format=json; use the declared parameter options.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003ewikimedia · Wikidata Entity Search\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eLink names to entities\u003c/strong\u003e: Offer a shortlist of Wikidata IDs for user or application selection.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eDisambiguate mentions\u003c/strong\u003e: Compare labels and descriptions before attaching an entity to a document.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eStart a knowledge lookup\u003c/strong\u003e: Send a selected ID to the Wikidata Entity Details API.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003esearch[].id\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eWikidata entity identifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003esearch[].label\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eEntity label\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003esearch[].description\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eShort entity description\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003esearch[].concepturi\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCanonical entity URI\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003esearch[].url\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eEntity page URL, which may be protocol-relative\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003esearch[].match\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eMatched label or alias information\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  https://api.openany.si/v1/agent-apis/wikimedia/wikidata/entity-search \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode action=wbsearchentities \\\n  --data-urlencode format=json \\\n  --data-urlencode language=en \\\n  --data-urlencode limit=1 \\\n  --data-urlencode search=Earth\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is a documentation reference and may be abbreviated. The request below is a calling template; use the published contract and returned response for the selected implementation.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/15cdfd6c-dfb8-4a80-876a-9e38fb73d163\"\u003ePublished Wikidata Entity Search API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eIs the result a Wikipedia article?\u003c/h3\u003e\n\u003cp\u003eNo. Results identify Wikidata entities. A Wikipedia article is a separate resource and may be linked through entity details.\u003c/p\u003e\n\u003ch3\u003eHow do I choose between entities with the same name?\u003c/h3\u003e\n\u003cp\u003eCompare the returned label and description with your context before selecting the entity ID.\u003c/p\u003e\n\u003ch3\u003eDoes language translate all entity properties?\u003c/h3\u003e\n\u003cp\u003elanguage controls the search context. It does not request a translation of an entity\u0026#39;s entire property graph.\u003c/p\u003e\n\u003ch3\u003eCan I get statements in the same search call?\u003c/h3\u003e\n\u003cp\u003eSearch returns candidate entity records. Use Wikidata Entity Details with an appropriate props selection for statements.\u003c/p\u003e\n\u003ch3\u003eCan I send SPARQL in the search field?\u003c/h3\u003e\n\u003cp\u003eNo. search is text for entity search, not a SPARQL query interface.\u003c/p\u003e\n\u003ch3\u003eCan I pass the returned continuation value to this endpoint?\u003c/h3\u003e\n\u003cp\u003eThe reference response can include search-continue, but this contract exposes no continuation input. Use only declared request parameters.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/wikipedia/wikidata-entity-details\"\u003eWikidata Entity Details API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/wikipedia/wikipedia-article-search-capability\"\u003eWikipedia Article Search API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/wikipedia/wikidata-entity-search","providerId":"wikimedia","publicPath":"/v1/agent-apis/wikimedia/wikidata/entity-search","requestContentType":"none","revision":5,"samples":[{"http_status":200,"name":"Documentation example","request":{"body":null,"headers":{},"path":{},"query":{"action":"wbsearchentities","format":"json","language":"en","limit":1,"search":"Earth"}},"response_body":{"search":[{"concepturi":"http://www.wikidata.org/entity/Q2","description":"third planet from the Sun in the Solar System","display":{"description":{"language":"en","value":"third planet from the Sun in the Solar System"},"label":{"language":"en","value":"Earth"}},"id":"Q2","label":"Earth","match":{"language":"en","text":"Earth","type":"label"},"pageid":130,"repository":"wikidata","title":"Q2","url":"//www.wikidata.org/wiki/Q2"}],"search-continue":1,"searchinfo":{"search":"Earth"},"success":1}}],"seoDescription":"Search Wikidata Entity via REST or MCP powered by Wikimedia. Pay per call, no subscription. Get entity label and short entity description in JSON.","updatedAt":"2026-12-03T02:36:39.425Z","usageInstructionsHtml":""}}