Cloudflare D1 website screenshot

Cloudflare D1

Cloudflare D1 is a managed, serverless SQLite database service with a REST API for querying D1 databases, executing SQL statements, listing databases, and managing database instances at the edge. D1 offers SQLite semantics, built-in Time Travel point-in-time recovery, global read replication, and seamless integration with Cloudflare Workers and Pages.

Cloudflare D1 publishes 1 API on the APIs.io network: D1 API. Tagged areas include Database, SQLite, Serverless, Edge Computing, and SQL.

The Cloudflare D1 catalog on APIs.io includes 1 JSON-LD context and 1 Spectral governance ruleset.

Cloudflare D1’s developer surface includes authentication, documentation, engineering blog, pricing, changelog, and 12 more developer resources.

49.6/100 developing ▬ flat Agent 31/100 agent aware Full breakdown ↓
scored 2026-07-28 · rubric v0.6
AccessFreemiumSelf serve⚡ Free to try
1 APIs
DatabaseSQLiteServerlessEdge ComputingSQLCloudflareWorkers

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-07-28 · rubric v0.6
Composite quality — 49.6/100 · developing
Contract Quality 13.3 / 25
Developer Ergonomics 5.7 / 20
Commercial Clarity 7.9 / 20
Operational Transparency 8.9 / 13
Governance 7.0 / 12
Discoverability 6.9 / 10
Agent readiness — 31/100 · agent aware
Machine-Readable Contract 18 / 18
Agentic Access Contract 10 / 10
MCP Server 0 / 12
Machine-Readable Auth 10 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 0 / 7
Rate-Limit Signaling 7 / 7
Typed Event Surface 0 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/cloudflare-d1: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

APIs 1

Individual APIs this provider publishes, each with its own machine-readable definition.

Cloudflare D1 D1 API

The D1 API from Cloudflare D1 — 8 operation(s) for d1.

Pricing Plans 1

Published pricing tiers and plan structures.

Rate Limits 1

Documented rate limits and quota policies.

Cloudflare D1 Rate Limits

25 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Semantic Vocabularies 1

JSON-LD contexts and semantic vocabularies used across these APIs.

Cloudflare D1 Context

0 classes · 36 properties

JSON-LD

Spectral Rules 1

Spectral governance rulesets for linting and validating these APIs.

Cloudflare D1 API Rules

5 rules · 4 warnings 1 info

SPECTRAL

JSON Schema 31

Standalone JSON Schema definitions for this provider's data models.

D1 Account Identifier

0 properties

JSON SCHEMA

D1 Api Response Common Failure

4 properties

JSON SCHEMA

D1 Api Response Common

4 properties

JSON SCHEMA

D1 Batch Query

0 properties

JSON SCHEMA

D1 Created At

0 properties

JSON SCHEMA

D1 Database Details Response

8 properties

JSON SCHEMA

D1 Database Identifier

0 properties

JSON SCHEMA

D1 Database Name

0 properties

JSON SCHEMA

D1 Database Response

5 properties

JSON SCHEMA

D1 Database Update Request Body

1 properties

JSON SCHEMA

D1 Database Version

0 properties

JSON SCHEMA

D1 File Size

0 properties

JSON SCHEMA

D1 Jurisdiction Nullable

0 properties

JSON SCHEMA

D1 Jurisdiction

0 properties

JSON SCHEMA

D1 Messages

0 properties

JSON SCHEMA

D1 Params

0 properties

JSON SCHEMA

D1 Primary Location Hint

0 properties

JSON SCHEMA

D1 Query Meta

11 properties

JSON SCHEMA

D1 Query Result Response

3 properties

JSON SCHEMA

D1 Raw Result Response

3 properties

JSON SCHEMA

D1 Served By Colo

0 properties

JSON SCHEMA

D1 Served By Region

0 properties

JSON SCHEMA

D1 Single Query

2 properties

JSON SCHEMA

D1 Sql

0 properties

JSON SCHEMA

D1 Table Count

0 properties

JSON SCHEMA

D1 Time Travel Bookmark

0 properties

JSON SCHEMA

D1 Time Travel Restore Response

3 properties

JSON SCHEMA

D1 Time Travel Timestamp

0 properties

JSON SCHEMA

Scroll for all 31

Examples 4

Example request and response payloads for these APIs.

D1 Create Database

4 fields

EXAMPLE

D1 List Databases

4 fields

EXAMPLE

D1 Query Database

4 fields

EXAMPLE

D1 Time Travel Restore

4 fields

EXAMPLE

Security Posture 3

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Cloudflare D1 Authentication

apiKey/http · 4 schemes

SECURITY

Cloudflare D1 Domain Security

TLSv1.3 · HSTS · DNSSEC · DMARC

SECURITY

Cloudflare D1 Vulnerability Disclosure

Hackerone · security.txt · contact published

SECURITY

Agentic Access 1

Recommended x-agentic-access execution contracts for AI agents.

Cloudflare D1 Agentic Access

12 operations · 9 acting

12 operations · 9 acting

AGENTIC

Resources

Documentation 1

Reference material describing how the API behaves

Agent Surfaces 1

MCP servers, agent skills, and machine-readable catalogs

Build 2

SDKs, sample code, and the tooling you integrate with

Access & Security 3

Authentication, authorization, and security posture

Operate 3

Status, limits, changes, and where to get help

Commercial 3

Pricing, plans, and the legal terms of use

Company 3

The organization behind the API

Other 1

Properties that don't map to a standard resource type

Source (apis.yml)

apis.yml Raw ↑
aid: cloudflare-d1
name: Cloudflare D1
description: Cloudflare D1 is a managed, serverless SQLite database service with a REST API for querying D1 databases, executing
  SQL statements, listing databases, and managing database instances at the edge. D1 offers SQLite semantics, built-in Time
  Travel point-in-time recovery, global read replication, and seamless integration with Cloudflare Workers and Pages.
type: Index
accessModel:
  pricing: freemium
  onboarding: self-serve
  trial: false
  try_now: true
  public: false
  label: Freemium · Self-serve signup
  confidence: high
  source:
  - plans
  - authentication
  generated: '2026-07-22'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/cloudflare-d1.png
url: https://raw.githubusercontent.com/api-evangelist/cloudflare-d1/refs/heads/main/apis.yml
created: '2026-06-13'
modified: '2026-06-13'
specificationVersion: '0.19'
tags:
- Database
- SQLite
- Serverless
- Edge Computing
- SQL
- Cloudflare
- Workers
apis:
- aid: cloudflare-d1:cloudflare-d1-d1-api
  name: Cloudflare D1 D1 API
  description: The D1 API from Cloudflare D1 — 8 operation(s) for d1.
  humanURL: https://developers.cloudflare.com/d1/
  baseURL: https://api.cloudflare.com/client/v4
  tags:
  - D1
  properties:
  - type: OpenAPI
    url: openapi/cloudflare-d1-d1-api-openapi.yml
  - type: Documentation
    url: https://developers.cloudflare.com/d1/
  - type: Authentication
    url: https://developers.cloudflare.com/d1/get-started/
common:
- type: AgenticAccess
  url: agentic-access/cloudflare-d1-agentic-access.yml
- type: VulnerabilityDisclosure
  url: security/cloudflare-d1-vulnerability-disclosure.yml
- type: DomainSecurity
  url: security/cloudflare-d1-domain-security.yml
- type: Authentication
  url: authentication/cloudflare-d1-authentication.yml
- type: Website
  url: https://www.cloudflare.com/developer-platform/d1/
- type: Documentation
  url: https://developers.cloudflare.com/d1/
- type: GitHubOrg
  url: https://github.com/cloudflare
- type: LinkedIn
  url: https://www.linkedin.com/company/cloudflare/
- type: Blog
  url: https://blog.cloudflare.com/
- type: Pricing
  url: https://developers.cloudflare.com/d1/platform/pricing/
- type: StatusPage
  url: https://www.cloudflarestatus.com/
- type: X
  url: https://x.com/cloudflare
- type: Plans
  url: plans/cloudflare-d1-plans-pricing.yml
- type: RateLimits
  url: rate-limits/cloudflare-d1-rate-limits.yml
- type: FinOps
  url: finops/cloudflare-d1-finops.yml
- type: ChangeLog
  url: https://developers.cloudflare.com/d1/platform/release-notes/
- type: SDKs
  url: https://github.com/cloudflare/cloudflare-typescript
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com