CORS
Browser code may call the API directly from a page on any origin, a page opened from disk included. The key in the request decides what it may do. Server-side code, scripts and curl are not affected by CORS.
Origins
Section titled “Origins”Every route under /api/ (the API, the v1 adapter and the Council’s routes) answers any origin, and a page opened from disk, whose origin is null, too (since 2026-11-14). The answer names the request’s own origin in Access-Control-Allow-Origin, never *. So a page on your own domain, on any host, or on your machine reads a world with its key.
The site’s own pages on onlyworlds.com are not the API and keep a short list of origins of their own; nothing there is meant to be called from another page.
Headers
Section titled “Headers”- Request headers a browser may send:
API-Key,API-Pin,Idempotency-Key,If-Match,Content-Type,Authorization,X-Session-Token,X-OW-Agent,X-OW-ClientandIf-None-Match, and the commonAccept,Accept-Encoding,DNT,Origin,User-Agent,X-CSRFTokenandX-Requested-With. - Response headers a browser may read, besides the standard ones:
Retry-After,Idempotent-Replay,X-OW-Schema-Version,RateLimit-Limit,RateLimit-Remaining,RateLimit-ResetandETag.X-OW-Schema-Versionis the version of the standard the server speaks (the API’s own version is thev2in the path); the three rate-limit headers let a page pace itself (Limits); a page sendsETagback asIf-None-Match(Walking the feed). - Credentials (cookies) are not allowed. The API authenticates by header, so no browser client needs them.
- Preflight answers may be cached for a day.
A 503 server_busy also carries the CORS headers, so browser code can read its Retry-After.