Skip to main content
POST
/
api
/
wikidata
/
properties
/wikidata/properties
curl --request POST \
  --url https://api.anysite.io/api/wikidata/properties \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "property": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "@type": "@wikidata_property",
    "data_type": "<string>",
    "labels": {},
    "descriptions": {},
    "aliases": {},
    "statements": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
property
string
required

Property identifier — a Wikidata P-id or an entity URL

Minimum string length: 1
Examples:

"P69"

"https://www.wikidata.org/wiki/Property:P31"

"http://www.wikidata.org/entity/P106"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
@type
string
default:@wikidata_property
data_type
string | null
labels
Labels · object
descriptions
Descriptions · object
aliases
Aliases · object
statements
WikidataStatement · object[]