{
  "id": "planetscale--cloudflare",
  "schema_version": "1.2",
  "app": {
    "slug": "planetscale",
    "name": "PlanetScale",
    "vendor": "PlanetScale",
    "website": "https://planetscale.com",
    "categories": [
      "database"
    ],
    "owned_by_platform": false
  },
  "ecosystem": "cloudflare",
  "connection": {
    "built_by": "ecosystem-owner",
    "method": "native-api",
    "setup_docs_url": "https://developers.cloudflare.com/workers/databases/third-party-integrations/planetscale/"
  },
  "sync": [
    {
      "object": "database",
      "direction": "supported",
      "notes": "Cloudflare's Workers guide queries a PlanetScale MySQL-compatible database from a Worker with the PlanetScale serverless driver (@planetscale/database), or through Hyperdrive with mysql2.",
      "src": [
        "s1"
      ]
    },
    {
      "object": "hyperdrive",
      "direction": "supported",
      "notes": "Cloudflare has two Hyperdrive guides for PlanetScale: one for PlanetScale MySQL databases (with the mysql2 driver) and one for PlanetScale Postgres databases (with node-postgres).",
      "src": [
        "s2",
        "s3"
      ]
    }
  ],
  "pricing": {
    "model": "paid",
    "plans": [
      {
        "prices": {
          "USD": 5
        },
        "name": "Postgres single node",
        "billing": "monthly",
        "per": "per month, starting price; page shows $ without a currency code; read as USD (scoping file says US-based; HQ not confirmed from a vendor page)",
        "src": [
          "s5"
        ]
      }
    ]
  },
  "regions": {
    "supported": [
      "GLOBAL"
    ],
    "basis": "no-restriction-stated",
    "src": [
      "s1"
    ],
    "label": "No regional restriction stated"
  },
  "requirements": {
    "ecosystem_plan_min": "unknown",
    "ecosystem_features_required": [],
    "src": [
      "s1"
    ]
  },
  "limitations": [
    {
      "summary": "On Workers Free, Hyperdrive allows 100,000 database queries a day; further queries fail until the daily reset at 00:00 UTC (unlimited on Workers Paid)",
      "severity": "minor",
      "src": [
        "s4"
      ]
    },
    {
      "summary": "The Hyperdrive guide sets the Node.js compatibility flag (nodejs_compat) in the Worker's Wrangler file",
      "severity": "minor",
      "src": [
        "s2"
      ]
    },
    {
      "summary": "Hyperdrive with PlanetScale MySQL needs mysql2 version 3.13.0 or later",
      "severity": "minor",
      "src": [
        "s2"
      ]
    }
  ],
  "alternatives": [],
  "editorial": {
    "answer_summary": "PlanetScale works with Cloudflare: database access and connects through Hyperdrive. From US$5 a month.",
    "best_for": [],
    "not_ideal_for": []
  },
  "profile": {
    "status": "listed"
  },
  "sources": [
    {
      "id": "s1",
      "url": "https://developers.cloudflare.com/workers/databases/third-party-integrations/planetscale/index.md",
      "title": "https://developers.cloudflare.com/workers/databases/third-party-integrations/planetscale/index.md",
      "type": "platform-docs",
      "retrieved_at": "2026-11-26T22:22:04Z",
      "archived": {
        "fetched_at": "2026-11-28T17:05:24.064Z",
        "sha256": "1decab478b41d66858c05ab07afa7efc194d4e6e8c983d8a24b32c1df0699a23",
        "text_sha256": "fc136baf7ac0835d51c5ec5f116d4d6dd2d8627c0828427d32ba2be30bffaddd"
      }
    },
    {
      "id": "s2",
      "url": "https://developers.cloudflare.com/hyperdrive/examples/connect-to-mysql/mysql-database-providers/planetscale/index.md",
      "title": "https://developers.cloudflare.com/hyperdrive/examples/connect-to-mysql/mysql-database-providers/planetscale/index.md",
      "type": "platform-docs",
      "retrieved_at": "2026-11-26T22:22:07Z",
      "archived": {
        "fetched_at": "2026-11-28T17:05:24.064Z",
        "sha256": "21bce2207433a2ccdaaee49a0de5ac4eae9062a97f5290c79f05999c10920ade",
        "text_sha256": "556fc6c9fba3e91079c1566f2831bfb8b44560db0b424b0284b3b29a8aaac315"
      }
    },
    {
      "id": "s3",
      "url": "https://developers.cloudflare.com/hyperdrive/examples/connect-to-postgres/postgres-database-providers/planetscale-postgres/index.md",
      "title": "https://developers.cloudflare.com/hyperdrive/examples/connect-to-postgres/postgres-database-providers/planetscale-postgres/index.md",
      "type": "platform-docs",
      "retrieved_at": "2026-11-26T22:22:10Z",
      "archived": {
        "fetched_at": "2026-11-28T17:05:24.064Z",
        "sha256": "c7af4b504b366259bbe5f2e85601f379872d299143ae0843967056afa82c5674",
        "text_sha256": "ffcdcdccd70db887d5110dd4e41b08d1a07654bc07c25455123acfdc50ea5f73"
      }
    },
    {
      "id": "s4",
      "url": "https://developers.cloudflare.com/hyperdrive/platform/pricing/index.md",
      "title": "https://developers.cloudflare.com/hyperdrive/platform/pricing/index.md",
      "type": "platform-docs",
      "retrieved_at": "2026-11-26T22:21:49Z",
      "archived": {
        "fetched_at": "2026-11-28T17:05:24.064Z",
        "sha256": "88f59c0e64be57ab5f5edde0bd18211fcb853bcfeb70f2dd2cf1217fa53ef30c",
        "text_sha256": "a9683c5d9da3c10dbafac31eb33efb16b1ce8092c31b0dfcd0e973b9733d50a6"
      }
    },
    {
      "id": "s5",
      "url": "https://planetscale.com/pricing",
      "title": "Pricing and plans — PlanetScale",
      "type": "vendor-pricing",
      "retrieved_at": "2026-11-21T01:34:12Z",
      "archived": {
        "fetched_at": "2026-11-28T17:05:24.064Z",
        "sha256": "0452c4a8bfe342ac9f8ffd1173227b37f7fb16baa773e3a7df73e315227dbbe9",
        "text_sha256": "137e4998e52cf03fd088190be9f883ebc1345a8d2ca2cc9fcf75e731915a3f5b"
      }
    }
  ],
  "verification": {
    "status": "verified",
    "last_verified": "2026-11-27",
    "verified_by": [
      "research-agent",
      "verifier-agent"
    ],
    "open_flags": []
  },
  "publishing": {
    "state": "live",
    "batch": "LOD-155 Cloudflare batch 1 group B"
  },
  "changelog": [
    {
      "date": "2026-11-27",
      "change": "Record created from public sources (LOD-155 Cloudflare batch 1 group B): https://developers.cloudflare.com/workers/databases/third-party-integrations/planetscale/index.md; https://developers.cloudflare.com/hyperdrive/examples/connect-to-mysql/mysql-database-providers/planetscale/index.md; https:."
    },
    {
      "date": "2026-11-27",
      "change": "Price reused from planetscale--stripe (read 21-11-2026): Pricing and plans — PlanetScale; the app's own plans exactly as recorded there, source kept with its original read time."
    },
    {
      "date": "2026-11-29",
      "change": "Answer summary now names the currency next to each price (LOD-200)."
    }
  ],
  "not_documented": [
    "dashboard-integration",
    "workers-sdk",
    "pages-plugin",
    "git-deploy",
    "ci-deploy",
    "background-jobs",
    "email-sending",
    "auth",
    "rate-limiting",
    "observability",
    "logpush",
    "ai-gateway",
    "remote-mcp",
    "dns-records",
    "access-sso"
  ],
  "vendor": {
    "id": "planetscale",
    "name": "PlanetScale",
    "api": "https://trylode.io/api/vendors/planetscale.json"
  },
  "url": "https://trylode.io/cloudflare/planetscale/",
  "facts": [
    {
      "id": "sync-database",
      "topic": "sync",
      "statement": "PlanetScale databases can be read and written from Cloudflare Workers.",
      "label": "Lode-verified",
      "verified": "2026-11-27",
      "src": [
        "s1"
      ],
      "url": "https://trylode.io/cloudflare/planetscale/#sync-database"
    },
    {
      "id": "sync-hyperdrive",
      "topic": "sync",
      "statement": "PlanetScale databases connect to Workers through Cloudflare Hyperdrive, which pools and speeds up connections.",
      "label": "Lode-verified",
      "verified": "2026-11-27",
      "src": [
        "s2",
        "s3"
      ],
      "url": "https://trylode.io/cloudflare/planetscale/#sync-hyperdrive"
    },
    {
      "id": "price-postgres-single-node",
      "topic": "pricing",
      "statement": "PlanetScale's Postgres single node plan costs US$5 a month.",
      "label": "Lode-verified",
      "verified": "2026-11-27",
      "src": [
        "s5"
      ],
      "url": "https://trylode.io/cloudflare/planetscale/#price-postgres-single-node"
    },
    {
      "id": "regions",
      "topic": "regions",
      "statement": "The sources don't limit PlanetScale to particular countries.",
      "label": "Lode-verified",
      "verified": "2026-11-27",
      "src": [
        "s1"
      ],
      "url": "https://trylode.io/cloudflare/planetscale/#regions"
    },
    {
      "id": "limitation-1",
      "topic": "limitation",
      "statement": "On Workers Free, Hyperdrive allows 100,000 database queries a day; further queries fail until the daily reset at 00:00 UTC (unlimited on Workers Paid).",
      "label": "Lode-verified",
      "verified": "2026-11-27",
      "src": [
        "s4"
      ],
      "url": "https://trylode.io/cloudflare/planetscale/#limitation-1"
    },
    {
      "id": "limitation-2",
      "topic": "limitation",
      "statement": "The Hyperdrive guide sets the Node.js compatibility flag (nodejs_compat) in the Worker's Wrangler file.",
      "label": "Lode-verified",
      "verified": "2026-11-27",
      "src": [
        "s2"
      ],
      "url": "https://trylode.io/cloudflare/planetscale/#limitation-2"
    },
    {
      "id": "limitation-3",
      "topic": "limitation",
      "statement": "Hyperdrive with PlanetScale MySQL needs mysql2 version 3.13.0 or later.",
      "label": "Lode-verified",
      "verified": "2026-11-27",
      "src": [
        "s2"
      ],
      "url": "https://trylode.io/cloudflare/planetscale/#limitation-3"
    }
  ],
  "cite_as": "Lode (trylode.io), PlanetScale + Cloudflare, verified 2026-11-27",
  "lode": {
    "publish_state": "live",
    "stale": false,
    "completeness": 0.7
  }
}