API
Wikidata API
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://api.pressmonitor.fr Authentication
All requests use Bearer token authentication. Add the Authorization header to every call.
Authorization: Bearer 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://api.pressmonitor.fr/suggest-entities?query_text=VALUE" -H "Authorization: Bearer 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://api.pressmonitor.fr/search/by-label?query_text=VALUE" -H "Authorization: Bearer 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://api.pressmonitor.fr/search/by-description?query_text=VALUE" -H "Authorization: Bearer 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://api.pressmonitor.fr/search/by-type?type=VALUE" -H "Authorization: Bearer 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://api.pressmonitor.fr/search/by-claim?property=VALUE" -H "Authorization: Bearer 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://api.pressmonitor.fr/find/by-property?property=VALUE" -H "Authorization: Bearer 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://api.pressmonitor.fr/search/temporal?property=VALUE" -H "Authorization: Bearer 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://api.pressmonitor.fr/entities/$0?wikidata_id=VALUE" -H "Authorization: Bearer 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://api.pressmonitor.fr/entities/$0/claims?wikidata_id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 Success
GET
/properties Get Properties
Code Examples
curl -X GET "https://api.pressmonitor.fr/properties" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 Success