# GET /api/v1/usage/hosts is deprecated

Datadog API deprecated GET /api/v1/usage/hosts without giving a shutdown date yet.

Datadog has deprecated the GET /api/v1/usage/hosts endpoint without a shutdown date. Calls made to this route will eventually fail. Datadog API notes that hourly usage data for all products is now served through a newer interface.

## What to use instead

Read hourly usage with GET /api/v2/usage/hourly_usage (filter[product_families]) instead.

- API: Datadog API (api.datadoghq.com)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `GET /api/v1/usage/hosts`
- Source: [Announcement](https://raw.githubusercontent.com/DataDog/datadog-api-client-python/master/.generator/schemas/v1/openapi.yaml)
- Verified: November 6, 2026, against Datadog API's own pages
- Page: https://www.okapi.bot/providers/datadog-api/breaking-changes/get-api-v1-usage-hosts-is-deprecated/

## Datadog API's words

> This endpoint has been deprecated. Hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family).

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
