### Accessing the API Source: https://www.wikidata.org/wiki/Wikidata:REST_API/index To use the Wikibase REST API, you need to set up authentication and then consult the OpenAPI Swagger documentation for specific endpoint details and examples. ```APIDOC ## Accessing the Wikidata REST API ### Usage 1. **Set up Authentication**: Follow the authentication procedures outlined in the API documentation. 2. **Consult OpenAPI Swagger Documentation**: This is the primary resource for detailed instructions on each API call, including request parameters, response formats, and examples. ### Base URL The base URL for the Wikidata REST API is: `https://www.wikidata.org/w/rest.php/wikibase/v1` ### Resources * **OpenAPI Swagger Documentation**: Provides comprehensive details for all available endpoints. * **Wikibase Developer Documentation**: Offers additional context and guidance. ### Availability The Wikibase REST API is available on Wikibase instances updated to version 1.43 or later. For older versions (1.40 - 1.42), it could be enabled by modifying `wgRestAPIAdditionalRouteFiles` in `LocalSettings.php`. ``` -------------------------------- ### Wikidata REST API - Overview Source: https://www.wikidata.org/wiki/Wikidata:REST_API/index The Wikibase REST API is an OpenAPI-based interface for interacting with Items, Properties, and Statements on Wikibase instances like Wikidata. It offers a tailored data model with Statements instead of claims, a cleaner response structure, and improved presentation of statement data and metadata. ```APIDOC ## Wikidata REST API - Overview ### Description The Wikibase REST API is an OpenAPI-based interface designed for interacting with, retrieving, and editing Items, Properties, and Statements on Wikibase instances, including Wikidata. It adheres to modern industry standards and offers improvements over the traditional Action API. ### Base URL `https://www.wikidata.org/w/rest.php/wikibase/v1` ### Key Features * **Data Model**: Uses Statements instead of claims for Item data. * **Response Structure**: Provides a cleaner, flatter structure. * **Metadata Presentation**: Improved handling of Statement data and metadata. * **Versioning**: The API is versioned, with changes indicated in the API URL. ### Authentication Refer to the OpenAPI Swagger documentation for specific authentication instructions. ### Further Information * **OpenAPI Swagger Documentation**: Consult for detailed instructions on each call and error messages. * **Wikibase Developer Documentation**: For more in-depth information. * **Talk Page**: For feedback on API functionality. * **Phabricator Board**: To submit tickets for improvements. ### Rate Limits The API is subject to rate limits similar to the Action API. Refer to the Action API rate-limiting documentation for details. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.