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 Reference Version: 1.0.0 10 Endpoints Authentication
Base URL
https://pressmonitor.fr/api Authentication
All requests require x-api-key and x-subscription-id headers. x-api-key authenticates your account; x-subscription-id selects the subscribed service.
x-api-key: YOUR_API_KEY
x-subscription-id: YOUR_SUB_ID GET
/suggest_entities Suggest Entities
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| query_text | string | query | Yes | Query Text |
| lang | string | query | No | Lang |
| limit | string | query | No | Limit |
| offset | string | query | No | Offset |
Code Examples
curl -X GET \
"https://pressmonitor.fr/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" Responses
200 Success
GET
/search/by_label Search Entities By Label
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| query_text | string | query | Yes | Query Text |
| lang | string | query | No | Lang |
| limit | string | query | No | Limit |
| offset | string | query | No | Offset |
Code Examples
curl -X GET \
"https://pressmonitor.fr/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" Responses
200 Success
GET
/search/by_description Search Entities By Description
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| query_text | string | query | Yes | Query Text |
| lang | string | query | No | Lang |
| limit | string | query | No | Limit |
| offset | string | query | No | Offset |
Code Examples
curl -X GET \
"https://pressmonitor.fr/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" Responses
200 Success
GET
/search/by_type Search Entities By Type
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| type | string | query | Yes | Type |
| query_text | string | query | No | Query Text |
| lang | string | query | No | Lang |
| limit | string | query | No | Limit |
| offset | string | query | No | Offset |
Code Examples
curl -X GET \
"https://pressmonitor.fr/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" Responses
200 Success
GET
/search/by_claim Search Entities By Claim Value
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| property | string | query | Yes | Property |
| value | string | query | No | Value |
| mode | string | query | No | Mode |
| lang | string | query | No | Lang |
| limit | string | query | No | Limit |
| offset | string | query | No | Offset |
Code Examples
curl -X GET \
"https://pressmonitor.fr/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" Responses
200 Success
GET
/find/by_property Search Entities By Property
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| property | string | query | Yes | Property |
| value | string | query | No | Value |
| qualifier | string | query | No | Qualifier |
| rank | string | query | No | Rank |
| lang | string | query | No | Lang |
| limit | string | query | No | Limit |
| offset | string | query | No | Offset |
Code Examples
curl -X GET \
"https://pressmonitor.fr/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" Responses
200 Success
GET
/search/temporal Search Entities By Date Range
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| property | string | query | Yes | Property |
| from | string | query | No | From |
| to | string | query | No | To |
| value | string | query | No | Value |
| lang | string | query | No | Lang |
| limit | string | query | No | Limit |
| offset | string | query | No | Offset |
Code Examples
curl -X GET \
"https://pressmonitor.fr/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" Responses
200 Success
GET
/entities/$0 Get Entity By Id
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| wikidata_id | string | query | Yes | Wikidata Id |
| lang | string | query | No | Lang |
Code Examples
curl -X GET \
"https://pressmonitor.fr/api/entities/$0?wikidata_id=VALUE&lang=VALUE" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" Responses
200 Success
GET
/entities/$0/claims Get Entity Claims
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| wikidata_id | string | query | Yes | Wikidata Id |
| lang | string | query | No | Lang |
| limit | string | query | No | Limit |
| offset | string | query | No | Offset |
Code Examples
curl -X GET \
"https://pressmonitor.fr/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" Responses
200 Success
GET
/properties Get Properties
Code Examples
curl -X GET \
"https://pressmonitor.fr/api/properties" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" Responses
200 Success
