API resources

API-related guides, starters, plugins, and more. Learn how to use Sanity’s rich APIs and connect with other API-based services to improve workflows and ship better content experiences.

12 APIs tools

View all

sanity-algolia

Official(made by Sanity team)

Helpful code for automating indexing your Sanity content in Algolia

Rune Botten
Go to sanity-algolia

Snipcart Orders

A dashboard widget for displaying recent orders from Snipcart. This plugin is a part of the Steel headless commerce sudo framework.

Jacob Størdahl
Go to Snipcart Orders

Next.js Sanity Image

Utility for using responsive images hosted on the Sanity.io CDN with the Next.js image component.

Lorenzo de Jong
Go to Next.js Sanity Image

1 APIs starter

Commerce Layer Starter

A multi-country ecommerce starter built with Sanity Studio, Commerce Layer, Next.js, and deployed to Netlify.

Go to Commerce Layer Starter

4 APIs guides

GraphQL vs REST: which API is better for your web app?

Are you planning to build an API for your web application and you don't know what architectural approach to take? In this article, we will describe REST and GraphQL APIs. We will see their features, advantages, disadvantages, and use cases.

Facundo Giuliani
Go to GraphQL vs REST: which API is better for your web app?

Form submission using Gatsby, SANITY, Netlify and React Hook Form

A walk through of creating a contact form in Gatsby that submits to both an email address and a backend database using SANITY. The form itself will be built using React Hook Form and also integrate with Netlify forms.

This is an external link at:www.erichowey.dev
Eric Howey
Go to Form submission using Gatsby, SANITY, Netlify and React Hook Form

How to query JSON docs in the Terminal with GROQ

Official(made by Sanity team)

JSON docs are everywhere, but they’re rarely structured the way you want it. Learn to use GROQ in the CLI to get JSON doc data into the shape you need it.

This is an external link at:css-tricks.com
Magnus Holm
Go to How to query JSON docs in the Terminal with GROQ

9 APIs projects made with Sanity

Why Mums Don't Jump

Podcast website, plus blog and custom player. Built with Gatsby with a custom source plugin for TransistorFM.

Paul Brickles
Go to Why Mums Don't Jump

Mmhmm

A CMS to power a content-driven virtual camera app

Annie Pennell
Go to Mmhmm

Telegram bot list

A curated list of Telegram bots to help make your life easier.

Faraz Patankar
Go to Telegram bot list

Portfolio of Ryan Sheehan

I am a 22 year old web developer, creative technologist, and designer currently living in Somerville, MA. I wanted an easy, standardized way to add new projects to my portfolio without having to go back into the code and Sanity worked perfectly. My site is built with Next.js and makes use of Sanity on every single page.

Ryan Sheehan
Go to Portfolio of Ryan Sheehan

Mikkeller Beer Celebration

Mobile app and website for the Mikkeller Beer Celebration (MBCC) craft beer festival, with user-contributed beer ratings, news and Untappd integration.

Go to Mikkeller Beer Celebration

CO2 Neutral Website

Building a nev version of a digital product with Next.js/Vercel and Sanity

Martins Dubrovskis
Go to CO2 Neutral Website

Data Hackers

Website for the biggest data science community in Latin America

Henrique Doro
Go to Data Hackers

2 APIs schemas

Choose a starter
OR install Sanity with:
λ npm install -g @sanity/cli
λ sanity init

Other contribution categories