{
  "id": 8559116,
  "title": "How I gave Claude cookie tools a public no-key JSON API",
  "url": "https://urgent.news/2026/09/19/how-i-gave-claude-cookie-tools-a-public-no-key-json-api",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-09-19T23:21:41.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/jakereinhold/how-i-gave-claude-cookie-tools-a-public-no-key-json-api-4anf"
  },
  "original_language": "en",
  "account": "Claude Code users often encounter a problem: the browser stores their login as a sessionKey cookie, while Claude Code expects the ~/.claude/.credentials.json file. To solve this issue, claudecookie.com was created. The site provides three tools under one roof: a converter, a checker, and a credentials downloader.\n\nThe converter allows users to transform session keys into various formats, such as Netscape cookies.txt, Cookie-Editor JSON, Puppeteer format, key-value pairs, or raw Cookie headers. The checker verifies the validity of a session cookie, revealing details like the account email, plan type (Free, Pro, or Max), and remaining usage time. Finally, the credentials downloader retrieves the ~/.claude/.credentials.json file, which Claude Code utilizes.\n\nAll three tools offer public JSON APIs, requiring no API keys, CORS support, and HTTPS encryption. Users can interact with the APIs using curl commands. The converter accepts a sessionKey and target format, the checker requires a cookie, and the credentials endpoint requests a cookie as well.\n\nThe site imposes rate limits to prevent overloading: 10 requests per second per IP address (burst 20), 60 requests per minute, 20 requests per minute, and 5 requests per minute and 20 requests per hour for the respective endpoints. If users exceed these limits, they receive a 429 response with a Retry-After header in seconds.\n\nClaudecookie.com provides machine-readable documentation in OpenAPI 3.1 format and a short agent-facing summary at https://claudecookie.com/llms.txt. Additionally, users can find copy-paste scripts in the GitHub repository (examples/curl.sh, examples/check.py, and examples/convert.mjs).\n\nThe site's functionality reads account information and plan details without logging users out or tampering with their session cookies. Users must ensure they provide their own controlled session keys, treating them as sensitive information. Claudecookie.com also offers Russian and Chinese language versions. The site was not developed by or endorsed by Anthropic, and users are encouraged to provide feedback on any missing features.",
  "summary": "If you use Claude Code, you have probably hit this wall: the browser stores your login as a sessionKey cookie, but Claude Code wants ~/.claude/.credentials.json . Two different files, same login. I built claudecookie.com to bridge the gap. Three tools, one place: Converter — turn Netscape cookies.txt , Cookie-Editor JSON, Puppeteer format, key-value or a raw Cookie header into each other. Runs…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}