API
Wikidata API
The AI-powered Wikidata Entities Monitor provides 360° Global Media Data & Intelligence on Wikidata is a collaboratively maintained knowledge base with more than 121 million items covering people, organizations, places, works, and concepts. It is important for entity resolution, knowledge graphs, search enrichment, and structured research.
مرجع API الإصدار: 1.0.0 10 نقاط النهاية المصادقة
عنوان URL الأساسي
https://pressmonitor.com/api المصادقة
تتطلب جميع الطلبات رؤوس x-api-key و x-subscription-id. يوثّق x-api-key حسابك؛ ويحدّد x-subscription-id الخدمة المشتركة.
x-api-key: YOUR_API_KEY
x-subscription-id: YOUR_SUB_ID GET
/suggest_entities Suggest Entities
بارامترات
| الاسم | نوع | الموقع | مطلوب | الوصف |
|---|---|---|---|---|
| query_text | string | query | نعم | Query Text |
| lang | string | query | لا | Lang |
| limit | string | query | لا | Limit |
| offset | string | query | لا | Offset |
أمثلة الشيفرة
curl -X GET \
"https://pressmonitor.com/api/suggest_entities?query_text=VALUE&lang=VALUE&limit=VALUE&offset=VALUE" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" الردود
200 Success
GET
/search/by_label Search Entities By Label
بارامترات
| الاسم | نوع | الموقع | مطلوب | الوصف |
|---|---|---|---|---|
| query_text | string | query | نعم | Query Text |
| lang | string | query | لا | Lang |
| limit | string | query | لا | Limit |
| offset | string | query | لا | Offset |
أمثلة الشيفرة
curl -X GET \
"https://pressmonitor.com/api/search/by_label?query_text=VALUE&lang=VALUE&limit=VALUE&offset=VALUE" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" الردود
200 Success
GET
/search/by_description Search Entities By Description
بارامترات
| الاسم | نوع | الموقع | مطلوب | الوصف |
|---|---|---|---|---|
| query_text | string | query | نعم | Query Text |
| lang | string | query | لا | Lang |
| limit | string | query | لا | Limit |
| offset | string | query | لا | Offset |
أمثلة الشيفرة
curl -X GET \
"https://pressmonitor.com/api/search/by_description?query_text=VALUE&lang=VALUE&limit=VALUE&offset=VALUE" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" الردود
200 Success
GET
/search/by_type Search Entities By Type
بارامترات
| الاسم | نوع | الموقع | مطلوب | الوصف |
|---|---|---|---|---|
| type | string | query | نعم | Type |
| query_text | string | query | لا | Query Text |
| lang | string | query | لا | Lang |
| limit | string | query | لا | Limit |
| offset | string | query | لا | Offset |
أمثلة الشيفرة
curl -X GET \
"https://pressmonitor.com/api/search/by_type?type=VALUE&query_text=VALUE&lang=VALUE&limit=VALUE&offset=VALUE" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" الردود
200 Success
GET
/search/by_claim Search Entities By Claim Value
بارامترات
| الاسم | نوع | الموقع | مطلوب | الوصف |
|---|---|---|---|---|
| property | string | query | نعم | Property |
| value | string | query | لا | Value |
| mode | string | query | لا | Mode |
| lang | string | query | لا | Lang |
| limit | string | query | لا | Limit |
| offset | string | query | لا | Offset |
أمثلة الشيفرة
curl -X GET \
"https://pressmonitor.com/api/search/by_claim?property=VALUE&value=VALUE&mode=VALUE&lang=VALUE&limit=VALUE&offset=VALUE" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" الردود
200 Success
GET
/find/by_property Search Entities By Property
بارامترات
| الاسم | نوع | الموقع | مطلوب | الوصف |
|---|---|---|---|---|
| property | string | query | نعم | Property |
| value | string | query | لا | Value |
| qualifier | string | query | لا | Qualifier |
| rank | string | query | لا | Rank |
| lang | string | query | لا | Lang |
| limit | string | query | لا | Limit |
| offset | string | query | لا | Offset |
أمثلة الشيفرة
curl -X GET \
"https://pressmonitor.com/api/find/by_property?property=VALUE&value=VALUE&qualifier=VALUE&rank=VALUE&lang=VALUE&limit=VALUE&offset=VALUE" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" الردود
200 Success
GET
/search/temporal Search Entities By Date Range
بارامترات
| الاسم | نوع | الموقع | مطلوب | الوصف |
|---|---|---|---|---|
| property | string | query | نعم | Property |
| from | string | query | لا | From |
| to | string | query | لا | To |
| value | string | query | لا | Value |
| lang | string | query | لا | Lang |
| limit | string | query | لا | Limit |
| offset | string | query | لا | Offset |
أمثلة الشيفرة
curl -X GET \
"https://pressmonitor.com/api/search/temporal?property=VALUE&from=VALUE&to=VALUE&value=VALUE&lang=VALUE&limit=VALUE&offset=VALUE" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" الردود
200 Success
GET
/entities/$0 Get Entity By Id
بارامترات
| الاسم | نوع | الموقع | مطلوب | الوصف |
|---|---|---|---|---|
| wikidata_id | string | query | نعم | Wikidata Id |
| lang | string | query | لا | Lang |
أمثلة الشيفرة
curl -X GET \
"https://pressmonitor.com/api/entities/$0?wikidata_id=VALUE&lang=VALUE" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" الردود
200 Success
GET
/entities/$0/claims Get Entity Claims
بارامترات
| الاسم | نوع | الموقع | مطلوب | الوصف |
|---|---|---|---|---|
| wikidata_id | string | query | نعم | Wikidata Id |
| lang | string | query | لا | Lang |
| limit | string | query | لا | Limit |
| offset | string | query | لا | Offset |
أمثلة الشيفرة
curl -X GET \
"https://pressmonitor.com/api/entities/$0/claims?wikidata_id=VALUE&lang=VALUE&limit=VALUE&offset=VALUE" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" الردود
200 Success
GET
/properties Get Properties
أمثلة الشيفرة
curl -X GET \
"https://pressmonitor.com/api/properties" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" الردود
200 Success
