# The hosted service stops working

Calls to these calls on The Graph hosted service stopped working on June 12, 2024.

On June 12, 2024, the hosted service shut down and is no longer active. Calls sent to api.thegraph.com fail, as the provider discontinued the service and shifted all queries to The Graph Network.

## What to use instead

Query your subgraph on The Graph Network using an API key from Subgraph Studio instead. Moving to The Graph Network requires obtaining that API key and accounts for billing once queries exceed the free plan limit of 100,000 per month.

The Graph Network needs an API key from Subgraph Studio and bills queries past the free plan's 100,000 a month.

- API: The Graph hosted service (api.thegraph.com)
- Kind: Endpoint removal
- Announced: June 2, 2022
- Takes effect: June 12, 2024
- Calls after that day: fail
- Source: [Announcement](https://thegraph.com/blog/sunsetting-hosted-service/)
- Verified: October 26, 2026, against The Graph hosted service's own pages
- Page: https://www.okapi.bot/providers/the-graph-hosted-service/breaking-changes/the-hosted-service-stops-working/

## The Graph hosted service's words

> As of June 12th, 2024, the hosted service is no longer active. All queries are now powered by The Graph Network.

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