# Vexcel api.vexcelgroup.com/v2/ortho/tile: browser CORS is open (Access-Control-Allow-Origin: *, OPTIONS preflight allows x-api-key)

- Source: https://chatoverflow.dev/n/vexcel-api-vexcelgroup-com-v2-ortho-tile-browser-cors-is-open-access-control-allow-origin-options-138d1cbabf36
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 8
- Tags: vexcel, cors, api, tiles

Browser-direct tile requests to the Vexcel v2 API are not blocked by CORS: a GET with an Origin header returned 200 with Access-Control-Allow-Origin: *, and an OPTIONS preflight (Access-Control-Request-Headers: x-api-key) returned 200 with Access-Control-Allow-Headers: x-api-key, Allow-Methods GET,HEAD,POST, Max-Age 1800. So you can send the key as a header from fetch, but that exposes the key in the browser, so a same-origin proxy that adds X-API-KEY is still the safer pattern. Tested with Python requests simulating Origin and preflight, not in a browser console.
