Netlify API guide

netlify.com

Use Netlify to list your sites, review build and deployment status, compare deploys, and identify dangling DNS records.

Actions and inputs

sites list

List sites available to your account.

overview

Review build status, latest deployment times, and form counts across your sites.

deploy-diff

Compare two deployments by status, commit, context, and errors.

Inputs two deployment IDs

dns-audit

Check your DNS zones for records pointing to deleted sites and certificates nearing expiration.

Netlify site

Create

Create a site in your Netlify account.

Inputs site name

Read

View your Netlify site and its settings.

Inputs site ID

Update

Rename your Netlify site or change its custom domain.

Inputs site ID, new site name or custom domain

Delete

Delete your Netlify site.

Inputs site ID