# Sanity HTTP API

Category: [Blogs and publishing](https://free-web-services.com/web-services/web-development/blog/)  
Page: https://free-web-services.com/web-services/web-development/blog/sanity-http-api.html  
Documentation: https://www.sanity.io/docs/http-reference

Sanity is a headless content management system that stores blog posts, pages and other structured content in a hosted database. Your site reads it over HTTP with the GROQ query language, and other endpoints change documents, upload assets and manage projects; answers are JSON. Free plan with up to 20 users, 2 public datasets, 10,000 documents, 250,000 API requests and 1 million CDN requests a month. An official MCP server at https://mcp.sanity.io lets AI agents work with your content.

- API key: Needed, free
- Pricing: Free plan with up to 20 users, 2 public datasets, 10,000 documents, 250,000 API requests and 1 million CDN requests a month.
- Formats: JSON
- Interface: REST, HTTP-GET, Webhooks, MCP
- Provider: sanity.io

Example request:

```sh
curl 'https://api.sanity.io/v2021-06-07/projects' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Replace YOUR_API_KEY with your own key.

