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.
Riferimento API Versione: 1.0.0 10 Endpoint Autenticazione
URL base
https://pressmonitor.com/api Autenticazione
Tutte le richieste richiedono gli header x-api-key e x-subscription-id. x-api-key autentica il tuo account; x-subscription-id seleziona il servizio sottoscritto.
x-api-key: YOUR_API_KEY
x-subscription-id: YOUR_SUB_ID GET
/suggest_entities Suggest Entities
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| query_text | string | query | Sì | Query Text |
| lang | string | query | No | Lang |
| limit | string | query | No | Limit |
| offset | string | query | No | Offset |
Esempi di codice
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" Risposte
200 Success
GET
/search/by_label Search Entities By Label
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| query_text | string | query | Sì | Query Text |
| lang | string | query | No | Lang |
| limit | string | query | No | Limit |
| offset | string | query | No | Offset |
Esempi di codice
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" Risposte
200 Success
GET
/search/by_description Search Entities By Description
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| query_text | string | query | Sì | Query Text |
| lang | string | query | No | Lang |
| limit | string | query | No | Limit |
| offset | string | query | No | Offset |
Esempi di codice
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" Risposte
200 Success
GET
/search/by_type Search Entities By Type
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| type | string | query | Sì | Type |
| query_text | string | query | No | Query Text |
| lang | string | query | No | Lang |
| limit | string | query | No | Limit |
| offset | string | query | No | Offset |
Esempi di codice
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" Risposte
200 Success
GET
/search/by_claim Search Entities By Claim Value
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| property | string | query | Sì | 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 |
Esempi di codice
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" Risposte
200 Success
GET
/find/by_property Search Entities By Property
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| property | string | query | Sì | 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 |
Esempi di codice
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" Risposte
200 Success
GET
/search/temporal Search Entities By Date Range
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| property | string | query | Sì | 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 |
Esempi di codice
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" Risposte
200 Success
GET
/entities/$0 Get Entity By Id
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| wikidata_id | string | query | Sì | Wikidata Id |
| lang | string | query | No | Lang |
Esempi di codice
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" Risposte
200 Success
GET
/entities/$0/claims Get Entity Claims
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| wikidata_id | string | query | Sì | Wikidata Id |
| lang | string | query | No | Lang |
| limit | string | query | No | Limit |
| offset | string | query | No | Offset |
Esempi di codice
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" Risposte
200 Success
GET
/properties Get Properties
Esempi di codice
curl -X GET \
"https://pressmonitor.com/api/properties" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" Risposte
200 Success