Title: [CHORE]: Prepare for CARTO basemap API key enforcement · Issue #8141 · plotly/plotly.js · GitHub
Open Graph Title: [CHORE]: Prepare for CARTO basemap API key enforcement · Issue #8141 · plotly/plotly.js
X Title: [CHORE]: Prepare for CARTO basemap API key enforcement · Issue #8141 · plotly/plotly.js
Description: Description Prepare plotly.js for CARTO enforcing its basemap API key on vector tiles. Find out when enforcement starts, decide how Plotly handles it, and document the outcome for users. Today CARTO enforces the key only for raster tiles...
Open Graph Description: Description Prepare plotly.js for CARTO enforcing its basemap API key on vector tiles. Find out when enforcement starts, decide how Plotly handles it, and document the outcome for users. Today CART...
X Description: Description Prepare plotly.js for CARTO enforcing its basemap API key on vector tiles. Find out when enforcement starts, decide how Plotly handles it, and document the outcome for users. Today CART...
Opengraph URL: https://github.com/plotly/plotly.js/issues/8141
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[CHORE]: Prepare for CARTO basemap API key enforcement","articleBody":"### Description\n\nPrepare plotly.js for CARTO enforcing its basemap API key on vector tiles. Find out when enforcement starts, decide how Plotly handles it, and document the outcome for users. Today CARTO enforces the key only for raster tiles, which Plotly does not use.\n\n### Why should this change be made?\n\nCARTO's docs say an API key is required for all CARTO basemaps. Plotly's `carto-*` styles and the legacy `basic`, `streets`, `outdoors`, `light` and `dark` styles load keyless vector styles from `basemaps.cartocdn.com/gl/`. If CARTO enforces the key for vector tiles, all of these styles stop loading for every user. Plotly has no way to pass a key. A shared key in the bundle would count against one quota and break CARTO's terms.\n\n### Scope\n\n- Ask CARTO or the maintainers when vector enforcement starts\n- Decide what Plotly does when it starts: document the `?key=` workaround through `map.style`, or choose a default basemap that needs no key\n- Add a note under `layout.map.style` that CARTO styles fall under CARTO's terms and may need an API key\n- Stop the tests and baselines from using the live CARTO style, so they do not break when CARTO changes its data or its key rules (see the baseline breakage after CARTO's 2026-10-21 move to `carto.streets/v2`)\n\n### Notes\n\n- CARTO docs: https://github.com/CartoDB/basemap-styles#readme\n- Free tiers: 5M tile requests a month for non-commercial use, 1M for commercial use\n- Terms: https://carto.com/legal/basemap-terms/\n- Observed on 2026-10-22: a keyless raster tile returns an \"API KEY REQUIRED\" watermark. Keyless vector style, tile and font requests return 200 with real data, and so do requests with a made-up key.","author":{"url":"https://github.com/camdecoster","@type":"Person","name":"camdecoster"},"datePublished":"2026-10-22T21:59:33Z","url":"https://github.com/plotly/plotly.js/issues/8141"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3518c5ee-fe8d-3a8f-acdc-a5154fb4b6ca |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BFB2:2454CC:2B083EE:369D3FC:6B01AE2D |
| html-safe-nonce | ac45a0032bd2ba56fd4552afc4b18cace0be66ef0432bae174c21048bfa39030 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkIyOjI0NTRDQzoyQjA4M0VFOjM2OUQzRkM6NkIwMUFFMkQiLCJ2aXNpdG9yX2lkIjoiMjM1NzY5NzQyNjc3ODg2MTEwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6d717b0f81687b4f072658a33cfca657fbb1d09cdc43a04c77bc490d7062b475 |
| hovercard-subject-tag | issue:5988121990 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/plotly.js/8141/issue_layout |
| twitter:image | https://opengraph.githubassets.com/809f8e1016ca864b14dff8b12fb4fad162c0eeba0687f7ccfafb0954d733a32a/plotly/plotly.js/issues/8141 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/809f8e1016ca864b14dff8b12fb4fad162c0eeba0687f7ccfafb0954d733a32a/plotly/plotly.js/issues/8141 |
| og:image:alt | Description Prepare plotly.js for CARTO enforcing its basemap API key on vector tiles. Find out when enforcement starts, decide how Plotly handles it, and document the outcome for users. Today CART... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | camdecoster |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 45646037 |
| octolytics-dimension-repository_nwo | plotly/plotly.js |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 45646037 |
| octolytics-dimension-repository_network_root_nwo | plotly/plotly.js |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width