For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
ModelsChatRankingsDocs
DocsAPI ReferenceClient SDKsAgent SDKCookbookChangelog
DocsAPI ReferenceClient SDKsAgent SDKCookbookChangelog
  • Get Started
    • Quickstart: Build a Chat App
    • Enterprise Quickstart
    • Free Models Router
  • Working with Coding Agents
    • Automatic Code Review
    • Claude Code
    • Claude Desktop
    • Codex CLI
    • Cursor
    • Hermes Agent
    • Junie CLI
    • MCP Servers
    • OpenClaw 🦞
    • OpenCode
  • Building Agents
    • Add Human-in-the-Loop Controls
    • Build a Long-Horizon Agent
    • Build Your Own Agent TUI
    • Build Your Own Headless Agent
  • Video Generation
    • Choose a Video Generation Model
    • Generate and Download a Video from Text
    • Get Video Results with Webhooks
    • Guide a Video with Reference Images
    • Turn an Image into a Video
    • Use Provider-Specific Video Options
  • Evaluate & Optimize
    • Distillation
    • RAG with Embeddings & Rerank
    • Red Teaming
  • Administration
    • Activity Export
    • API Key Rotation
    • Crypto API
    • Organization Management
    • Usage Accounting
    • User Tracking
LogoLogo
ModelsChatRankingsDocs
On this page
  • Status
  • What To Use Instead
  • Affected Endpoint
  • Notes
Administration

Crypto API

Coinbase Commerce API deprecation
Was this page helpful?
Previous

Organization Management

Manage teams and shared resources with OpenRouter organizations
Next
Built with

Coinbase deprecated the APIs used by this flow, so POST /api/v1/credits/coinbase has been removed and now returns 410 Gone.

Status

The old programmatic Coinbase Commerce charge flow is no longer supported because Coinbase deprecated the underlying APIs it relied on. This includes the legacy flow that returned on-chain calldata for direct settlement.

What To Use Instead

Use the web credits purchase flow on your credits page. OpenRouter now uses Coinbase Business Checkouts for active Coinbase credit purchases.

Affected Endpoint

POST /api/v1/credits/coinbase

Current behavior:

1{
2 "error": {
3 "code": 410,
4 "message": "The Coinbase APIs used by this endpoint have been deprecated, so the Coinbase Commerce credits API has been removed. Use the web credits purchase flow instead."
5 }
6}

Notes

  • Existing SDK surfaces may still contain the deprecated createCoinbaseCharge method until the next SDK regeneration.
  • New Coinbase webhook handling is for Coinbase Business Checkouts only.
  • Legacy Coinbase Commerce environment variables are no longer used.