# DHIS2 Xblock API

**Canonical:** https://apis.io/apis/dhis2/dhis2-xblock-api/  
**Provider:** DHIS2 — https://apis.io/providers/dhis2/  
**Base URL:** https://academy.dhis2.org/api  
**Documentation:** https://developers.dhis2.org

DHIS2 Xblock API is one of 48 APIs that [DHIS2](https://apis.io/providers/dhis2/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include xblock. The published artifact set on APIs.io includes an OpenAPI specification.

The xblock API from DHIS2 — 10 operation(s) for xblock.

## Operations (12)

| Method | Path | Summary |
|---|---|---|
| GET | `/xblock/v2/xblocks/{usage_key}/` | Get metadata about the specified block |
| GET | `/xblock/v2/xblocks/{usage_key}/fields/` | Xblock v2 xblocks fields list |
| POST | `/xblock/v2/xblocks/{usage_key}/fields/` | Xblock v2 xblocks fields create |
| GET | `/xblock/v2/xblocks/{usage_key}/handler_url/{handler_name}/` | Get an absolute URL which can be used (without any authentication) to call the… |
| GET | `/xblock/v2/xblocks/{usage_key}/olx/` | Xblock v2 xblocks olx list |
| GET | `/xblock/v2/xblocks/{usage_key}/view/{view_name}/` | Xblock v2 xblocks view read |
| GET | `/xblock/v2/xblocks/{usage_key}@{version}/` | Get metadata about the specified block |
| GET | `/xblock/v2/xblocks/{usage_key}@{version}/fields/` | Xblock v2 xblocks fields list |
| POST | `/xblock/v2/xblocks/{usage_key}@{version}/fields/` | Xblock v2 xblocks fields create |
| GET | `/xblock/v2/xblocks/{usage_key}@{version}/handler_url/{handler_name}/` | Get an absolute URL which can be used (without any authentication) to call the… |
| GET | `/xblock/v2/xblocks/{usage_key}@{version}/olx/` | Xblock v2 xblocks olx list |
| GET | `/xblock/v2/xblocks/{usage_key}@{version}/view/{view_name}/` | Xblock v2 xblocks view read |

## Machine-readable artifacts (1)

- **OpenAPI** — https://artifacts.apis.io/dhis2/openapi/dhis2-xblock-api-openapi.yml

## Other DHIS2 APIs (12)

- [DHIS2 Agreements API](https://apis.io/apis/dhis2/dhis2-agreements-api/)
- [DHIS2 Api/v1 API](https://apis.io/apis/dhis2/dhis2-api-v1-api/)
- [DHIS2 Api/v2 API](https://apis.io/apis/dhis2/dhis2-api-v2-api/)
- [DHIS2 Bookmarks API](https://apis.io/apis/dhis2/dhis2-bookmarks-api/)
- [DHIS2 Certificates API](https://apis.io/apis/dhis2/dhis2-certificates-api/)
- [DHIS2 Change Email Settings API](https://apis.io/apis/dhis2/dhis2-change-email-settings-api/)
- [DHIS2 Cohorts API](https://apis.io/apis/dhis2/dhis2-cohorts-api/)
- [DHIS2 Commerce API](https://apis.io/apis/dhis2/dhis2-commerce-api/)
- [DHIS2 Completion API](https://apis.io/apis/dhis2/dhis2-completion-api/)
- [DHIS2 Course Experience API](https://apis.io/apis/dhis2/dhis2-course-experience-api/)
- [DHIS2 Course Home API](https://apis.io/apis/dhis2/dhis2-course-home-api/)
- [DHIS2 Course Live API](https://apis.io/apis/dhis2/dhis2-course-live-api/)

## Tags

xblock

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/dhis2` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/dhis2/dhis2-xblock-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/dhis2/.
