Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

Unified /api/v1 gateway, catalog, market/sentiment endpoints, rate-limit + changelog updates

nirholas9f369d35a743
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f5bf0d5be..3b609c4d9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -17,6 +17,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **Getting-started progress now follows you across the whole platform** — Your setup checklist no longer forgets what you've done. The floating "Getting started" guide and the dashboard's onboarding panel now share one source of truth: the moment you create an avatar, give an agent a personality, or embed a widget, every checklist on the site ticks that step — no more seeing "2 of 4 done" in one place and "0 of 3" in another on the same visit. Visiting your dashboard reconciles your real progress automatically, and saving a persona to an agent now completes the "give it a brain" step the instant it happens. `[improvement]`
- **Hardened the widget custom-brain proxy against internal-network abuse** — Chat widgets configured with a custom AI "brain" endpoint now route that request through our SSRF guard, so a widget owner can no longer point it at a private/internal address to probe our network. No change for legitimate public endpoints. We also tightened a few backend read paths so a temporary database or price-feed hiccup surfaces as "temporarily unavailable" instead of silently looking like empty data. `[security, improvement]`
- **IBM sites can now embed three.ws pages** — We extended the sitewide clickjacking protection to allow IBM properties to frame three.ws. Any page on ibm.com (and its subdomains) may now load three.ws pages inside an iframe — useful for the IBM x402 demo and other IBM-hosted integrations — while every other external site is still refused by default. Sign-in, wallet, dashboard and OAuth consent pages remain hard-locked and cannot be framed by anyone, including IBM. The avatar, widget and walk embeds continue to work on any site as before. `[security, improvement]`
+- **One API for the whole platform: three.ws API v1** — Everything three.ws can do is now reachable through a single, versioned API at /api/v1 — one key, one rate-limit budget, and one usage ledger across every capability. Hit GET /api/v1 to discover the full endpoint catalog (each one's auth, scope, and parameters) in a single call. The first endpoints are live: text sentiment scoring (POST /api/v1/sentiment), market and narrative intelligence (GET /api/v1/market/intel and /api/v1/market/projects), and verified agent-card resolution (GET /api/v1/agents/{caip}). Authenticate with a developer API key (Authorization: Bearer sk_live_…) created in your developer dashboard, an OAuth token, or a signed-in session; every response uses one consistent shape and standard RateLimit headers. More of the platform's capabilities will land under this same API over the coming releases. `[feature, sdk]`
- **Paid market-intel never charges you for unavailable data** — The pay-per-call market-intel endpoints (the $THREE Town Oracle and the crypto-intel kiosk) used to hand back an estimated "neutral" reading — and still take the payment — when their live price feed was rate-limited. They now return a clean "temporarily unavailable, retry shortly" instead, and crucially the payment is never settled when live data is missing. You only pay when you get a real, live signal. `[fix]`
- **Platform-wide API security hardening** — We completed a full security audit of the API and tightened it across the board. Server errors no longer echo internal details back to callers — they return a short reference code you can quote to support, while the real diagnostics stay server-side (this also closes a path where a backend service key could surface in an error message). Account-changing actions made from the website — updating preferences, managing webhooks and payout wallets, marking notifications read, scheduling posts, setting skill prices — now carry cross-site request-forgery protection, so a malicious page can't act on your behalf. Sign-in, wallet-linking, GitHub connect and sensitive admin actions gained rate limits, and image-analysis requests are now screened so a supplied URL can't be used to probe internal systems. API access via developer keys is unaffected. `[security]`
- **Premium avatar cosmetics are now buyable right in the character creator** — Locked premium headwear, eyewear, dyes and auras in the character creator no longer dead-end on a placeholder — clicking one now opens the real wallet checkout and unlocks it the moment the USDC payment settles, then equips it on your live preview. Anything you already own loads pre-unlocked, and the price you see is the true checkout amount pulled from the catalog. (`/create`) `[feature, fix]`
diff --git a/api/_lib/gateway.js b/api/_lib/gateway.js
new file mode 100644
index 000000000..0438d0b9b
--- /dev/null
+++ b/api/_lib/gateway.js
@@ -0,0 +1,176 @@
+// Unified API gateway — the single entry contract for the versioned three.ws
+// API (/api/v1/*).
+//
+// three.ws exposes 700+ capability endpoints under /api. This module bundles
+// them into ONE coherent product API: every /api/v1 route is a thin handler
+// that declares its auth requirement, OAuth scope, and a capability function —
+// the gateway provides everything else exactly once, so the surface stays
+// consistent no matter which capability sits behind it:
+//
+// • Auth — three.ws API key (`Authorization: Bearer sk_live_…`), OAuth
+// access token, or browser session. One contract, three rails.
+// • Scopes — declared per endpoint, enforced for key/OAuth callers.
+// • Limits — per-principal rate limiting (key › user › IP) with standard
+// RateLimit-* headers, via api/_lib/rate-limit.js `apiV1`.
+// • Metering — every call recorded to usage_events (api/_lib/usage.js), so a
+// single dashboard/billing view spans the whole API.
+// • Envelope — success → { data }, failure → { error, error_description }
+// (the same shape the rest of the API already uses), with 5xx
+// sanitized via api/_lib/http.js `wrap`.
+//
+// A handler returns its payload (wrapped in `{ data }` with 200) or writes the
+// response itself (e.g. a redirect / binary) and returns nothing. To fail a
+// request, throw an Error with `.status` and `.code` — `wrap` formats it.
+
+import {
+ cors,
+ json,
+ error,
+ method as methodGuard,
+ readJson,
+ rateLimited,
+ setRateLimitHeaders,
+ wrap,
+} from './http.js';
+import {
+ authenticateBearer,
+ extractBearer,
+ getSessionUser,
+ hasScope,
+} from './auth.js';
+import { limits, clientIp } from './rate-limit.js';
+import { recordEvent } from './usage.js';
+
+/**
+ * Throw a client-facing error the gateway will render as
+ * `{ error: <code>, error_description: <message> }` at the given status.
+ * @param {number} status
+ * @param {string} code
+ * @param {string} message
+ */
+export function fail(status, code, message) {
+ throw Object.assign(new Error(message), { status, code });
+}
+
+/**
+ * Define a versioned API endpoint.
+ *
+ * @param {object} spec
+ * @param {string} spec.name Stable usage/billing identifier, e.g. "v1.sentiment".
+ * @param {string|string[]} spec.method Allowed HTTP method(s).
+ * @param {'public'|'optional'|'required'} spec.auth Auth requirement.
+ * @param {string} [spec.scope] OAuth scope required for key/OAuth callers (auth: required|optional).
+ * @param {(ctx: GatewayCtx) => Promise<any>|any} spec.handler
+ * @returns {(req: import('http').IncomingMessage, res: import('http').ServerResponse) => Promise<void>}
+ *
+ * @typedef {object} GatewayCtx
+ * @property {import('http').IncomingMessage} req
+ * @property {import('http').ServerResponse} res
+ * @property {Principal|null} principal Resolved caller (null for anonymous public calls).
+ * @property {Record<string, any>} body Parsed JSON body (POST/PUT/PATCH), else {}.
+ * @property {Record<string, string>} query Parsed query-string params.
+ * @property {string} ip
+ *
+ * @typedef {object} Principal
+ * @property {string} userId
+ * @property {'session'|'apikey'|'oauth'} source
+ * @property {string} scope
+ * @property {string} [apiKeyId]
+ * @property {string} [clientId]
+ */
+export function defineEndpoint(spec) {
+ const methods = Array.isArray(spec.method) ? spec.method : [spec.method];
+ const writeMethods = methods.some((m) => ['POST', 'PUT', 'PATCH'].includes(m));
+
+ return wrap(async (req, res) => {
+ if (cors(req, res, { methods: [...methods, 'OPTIONS'].join(','), origins: '*' })) return;
+ if (!methodGuard(req, res, methods)) return;
+
+ const started = Date.now();
+ const ip = clientIp(req);
+
+ // ── auth ──────────────────────────────────────────────────────────────
+ let principal = null;
+ if (spec.auth === 'required' || spec.auth === 'optional') {
+ const session = await getSessionUser(req);
+ if (session) {
+ // A signed-in owner acting on their own account holds every scope.
+ principal = { userId: session.id, source: 'session', scope: 'all' };
+ } else {
+ const bearer = await authenticateBearer(extractBearer(req));
+ if (bearer) {
+ principal = {
+ userId: bearer.userId,
+ source: bearer.source,
+ scope: bearer.scope || '',
+ apiKeyId: bearer.apiKeyId,
+ clientId: bearer.clientId,
+ };
+ }
+ }
+
+ if (spec.auth === 'required' && !principal) {
+ return error(
+ res,
+ 401,
+ 'unauthorized',
+ 'authenticate with a three.ws API key (`Authorization: Bearer sk_live_…`) or sign in — create a key at /dashboard/developers',
+ );
+ }
+ if (
+ principal &&
+ principal.source !== 'session' &&
+ spec.scope &&
+ !hasScope(principal.scope, spec.scope)
+ ) {
+ return error(
+ res,
+ 403,
+ 'insufficient_scope',
+ `this endpoint requires the "${spec.scope}" scope`,
+ );
+ }
+ }
+
+ // ── rate limit (per principal › IP) ────────────────────────────────────
+ const rlKey = principal?.apiKeyId
+ ? `key:${principal.apiKeyId}`
+ : principal?.userId
+ ? `user:${principal.userId}`
+ : `ip:${ip}`;
+ const rl = await limits.apiV1(rlKey);
+ setRateLimitHeaders(res, rl);
+ if (!rl.success) return rateLimited(res, rl);
+
+ // ── body + query ───────────────────────────────────────────────────────
+ const body = writeMethods && req.method !== 'GET' ? await readJson(req) : {};
+ const query = Object.fromEntries(new URL(req.url, 'http://internal').searchParams);
+
+ const ctx = { req, res, principal, body, query, ip };
+
+ // ── dispatch + meter ─────────────────────────────────────────────────────
+ const meter = (status) =>
+ recordEvent({
+ kind: 'api',
+ tool: spec.name,
+ userId: principal?.userId,
+ apiKeyId: principal?.apiKeyId,
+ clientId: principal?.clientId,
+ status,
+ latencyMs: Date.now() - started,
+ });
+
+ let payload;
+ try {
+ payload = await spec.handler(ctx);
+ } catch (err) {
+ meter('error');
+ throw err; // wrap() renders the envelope (4xx descriptive, 5xx sanitized)
+ }
+ meter('ok');
+
+ // Handler may have already responded (redirect / streamed / binary).
+ if (res.writableEnded || res.headersSent) return;
+ return json(res, 200, { data: payload });
+ });
+}
diff --git a/api/_lib/rate-limit.js b/api/_lib/rate-limit.js
index 2120ae0f7..b74d2628e 100644
--- a/api/_lib/rate-limit.js
+++ b/api/_lib/rate-limit.js
@@ -485,6 +485,13 @@ export const limits = {
getLimiter('permissions:revoke', { limit: 20, window: '1 h' }).limit(userId),
apiKeyManage: (userId) =>
getLimiter('api-key:manage', { limit: 30, window: '1 h' }).limit(userId),
+ // Unified API gateway (/api/v1/*). One bucket fronts every versioned endpoint,
+ // keyed per principal — API key id when present, else user id, else IP — so a
+ // single key's burst is bounded without one caller starving another. 120/min
+ // is generous for an interactive integration while capping scripted floods;
+ // individual capability handlers add their own tighter ceilings on top when
+ // they fan out to a metered upstream (e.g. the shared aixbt key).
+ apiV1: (key) => getLimiter('api:v1', { limit: 120, window: '1 m' }).limit(key),
// Auth-critical (see authIp/registerIp above): brute-forcing verification
// codes / spamming reset+verify emails must fail closed when Redis is down.
verifyEmailIp: (ip) =>
diff --git a/api/v1/_catalog.js b/api/v1/_catalog.js
new file mode 100644
index 000000000..04cd14e3c
--- /dev/null
+++ b/api/v1/_catalog.js
@@ -0,0 +1,97 @@
+// Single source of truth for the unified three.ws API (/api/v1).
+//
+// Every versioned endpoint is registered here once. The discovery document
+// (GET /api/v1) renders from this list, so the catalog and the live surface can
+// never drift: adding a route means adding its entry here AND its handler file.
+//
+// Each entry:
+// id stable usage/billing identifier (matches the handler's `name`)
+// method HTTP method(s)
+// path public path under the API base
+// auth 'public' | 'optional' | 'required'
+// scope OAuth scope enforced for key/OAuth callers (when auth ≠ public)
+// summary one line, holder/developer readable
+// params documented inputs (query for GET, body for POST)
+
+export const API_META = {
+ name: 'three.ws API',
+ version: 'v1',
+ base_url: '/api/v1',
+ description:
+ 'One API for the three.ws platform: 3D generation, market & narrative intelligence, ' +
+ 'sentiment, and on-chain agent capabilities — one key, one rate-limit budget, one usage ledger.',
+ auth: {
+ scheme: 'Bearer',
+ description:
+ 'Send a three.ws API key as `Authorization: Bearer sk_live_…`, an OAuth access token, ' +
+ 'or call from a signed-in browser session. Create and manage keys at /dashboard/developers.',
+ scopes: [
+ 'avatars:read',
+ 'avatars:write',
+ 'avatars:delete',
+ 'profile',
+ 'memory:read',
+ 'memory:write',
+ 'agents:read',
+ 'agents:write',
+ ],
+ },
+ rate_limit: {
+ window: '1m',
+ limit: 120,
+ keyed_by: 'api_key › user › ip',
+ headers: ['RateLimit-Limit', 'RateLimit-Remaining', 'RateLimit-Reset', 'Retry-After'],
+ },
+ envelope: {
+ success: '{ "data": … }',
+ error: '{ "error": <code>, "error_description": <message> }',
+ },
+};
+
+export const CATALOG = [
+ {
+ id: 'v1.sentiment',
+ method: 'POST',
+ path: '/api/v1/sentiment',
+ auth: 'public',
+ summary: 'Classify text sentiment (Positive / Negative / Neutral) with a deterministic score.',
+ params: { text: 'string — the text to score (required)' },
+ },
+ {
+ id: 'v1.market.intel',
+ method: 'GET',
+ path: '/api/v1/market/intel',
+ auth: 'optional',
+ scope: 'agents:read',
+ summary: 'Recent narrative / market intelligence items, momentum-ranked.',
+ params: {
+ limit: 'number 1–50 (default 20)',
+ category: 'string — filter by category (optional)',
+ chain: 'string — filter by chain (optional)',
+ },
+ },
+ {
+ id: 'v1.market.projects',
+ method: 'GET',
+ path: '/api/v1/market/projects',
+ auth: 'optional',
+ scope: 'agents:read',
+ summary: 'Momentum-ranked crypto projects with narrative scores.',
+ params: {
+ limit: 'number 1–50 (default 20)',
+ page: 'number (default 1)',
+ names: 'string — comma-separated project names to filter (optional)',
+ chain: 'string — filter by chain (optional)',
+ },
+ },
+ {
+ id: 'v1.agents.resolve',
+ method: 'GET',
+ path: '/api/v1/agents/{caip}',
+ auth: 'public',
+ summary:
+ 'Resolve + verify an ERC-8004 / three.ws Card v1 agent by CAIP ref ' +
+ '(eip155:<chainId>:<registry>/<tokenId>, URL-encoded).',
+ params: { caip: 'path — URL-encoded CAIP agent ref (required)' },
+ },
+];
diff --git a/api/v1/index.js b/api/v1/index.js
new file mode 100644
index 000000000..ed71699a3
--- /dev/null
+++ b/api/v1/index.js
@@ -0,0 +1,21 @@
+// GET /api/v1 — discovery document for the unified three.ws API.
+//
+// The single front door: one machine-readable index of every versioned
+// endpoint, its auth requirement, scope, and parameters — so an agent or
+// developer can discover the whole surface from one call. Rendered from the
+// shared catalog (api/v1/_catalog.js) so it can never drift from the live routes.
+
+import { defineEndpoint } from '../_lib/gateway.js';
+import { API_META, CATALOG } from './_catalog.js';
+
+export default defineEndpoint({
+ name: 'v1.index',
+ method: 'GET',
+ auth: 'public',
+ handler: () => ({
+ ...API_META,
+ endpoints: CATALOG,
+ docs: '/dashboard/developers',
+ openapi: '/openapi.json',
+ }),
+});
diff --git a/api/v1/market/intel.js b/api/v1/market/intel.js
new file mode 100644
index 000000000..fc85c90d0
--- /dev/null
+++ b/api/v1/market/intel.js
@@ -0,0 +1,31 @@
+// GET /api/v1/market/intel — recent narrative / market intelligence items.
+//
+// Unified-API surface over the aixbt bridge (api/_lib/aixbt.js). The shared
+// upstream key is metered per-deployment, so on top of the gateway's
+// per-principal budget this also consumes the global aixbt ceiling — one caller
+// (or many) can't drain the shared key.
+
+import { defineEndpoint, fail } from '../../_lib/gateway.js';
+import { getIntel, aixbtEnabled } from '../../_lib/aixbt.js';
+import { limits } from '../../_lib/rate-limit.js';
+
+export default defineEndpoint({
+ name: 'v1.market.intel',
+ method: 'GET',
+ auth: 'optional',
+ scope: 'agents:read',
+ handler: async ({ query }) => {
+ if (!aixbtEnabled())
+ fail(503, 'not_configured', 'market intelligence is not enabled on this deployment');
+
+ const g = await limits.aixbtGlobal();
+ if (!g.success) fail(429, 'rate_limited', 'market intelligence is busy — retry shortly');
+
+ const { intel, pagination } = await getIntel({
+ limit: query.limit,
+ category: query.category,
+ chain: query.chain,
+ });
+ return { intel, pagination, source: 'aixbt' };
+ },
+});
diff --git a/api/v1/market/projects.js b/api/v1/market/projects.js
new file mode 100644
index 000000000..68296a931
--- /dev/null
+++ b/api/v1/market/projects.js
@@ -0,0 +1,31 @@
+// GET /api/v1/market/projects — momentum-ranked crypto projects.
+//
+// Unified-API surface over the aixbt bridge (api/_lib/aixbt.js). Like
+// /api/v1/market/intel, this consumes the global aixbt ceiling on top of the
+// gateway's per-principal budget so the shared upstream key stays protected.
+
+import { defineEndpoint, fail } from '../../_lib/gateway.js';
+import { getProjects, aixbtEnabled } from '../../_lib/aixbt.js';
+import { limits } from '../../_lib/rate-limit.js';
+
+export default defineEndpoint({
+ name: 'v1.market.projects',
+ method: 'GET',
+ auth: 'optional',
+ scope: 'agents:read',
+ handler: async ({ query }) => {
+ if (!aixbtEnabled())
+ fail(503, 'not_configured', 'market intelligence is not enabled on this deployment');
+
+ const g = await limits.aixbtGlobal();
+ if (!g.success) fail(429, 'rate_limited', 'market intelligence is busy — retry shortly');
+
+ const { projects, pagination } = await getProjects({
+ limit: query.limit,
+ page: query.page,
+ names: query.names,
+ chain: query.chain,
+ });
+ return { projects, pagination, source: 'aixbt' };
+ },
+});
diff --git a/api/v1/sentiment.js b/api/v1/sentiment.js
new file mode 100644
index 000000000..0eb7a1d40
--- /dev/null
+++ b/api/v1/sentiment.js
@@ -0,0 +1,30 @@
+// POST /api/v1/sentiment — classify text sentiment.
+//
+// Unified-API surface over the same deterministic lexicon scorer that backs
+// /api/sentiment and /api/social/sentiment (src/social/sentiment.js), so the
+// classification is identical no matter which door a caller comes through.
+
+import { defineEndpoint, fail } from '../_lib/gateway.js';
+import { scoreSentiment } from '../../src/social/sentiment.js';
+
+export default defineEndpoint({
+ name: 'v1.sentiment',
+ method: 'POST',
+ auth: 'public',
+ handler: ({ body }) => {
+ const text = typeof body?.text === 'string' ? body.text.trim() : '';
+ if (!text) fail(400, 'validation_error', '"text" must be a non-empty string');
+
+ const r = scoreSentiment([{ text }]);
+ let sentiment = 'Neutral';
+ if (r.posPct > 0 && r.posPct >= r.negPct) sentiment = 'Positive';
+ else if (r.negPct > 0) sentiment = 'Negative';
+
+ return {
+ sentiment,
+ score: r.score,
+ positive_pct: r.posPct,
+ negative_pct: r.negPct,
+ };
+ },
+});
diff --git a/data/changelog.json b/data/changelog.json
index de994e020..325fc2fd5 100644
--- a/data/changelog.json
+++ b/data/changelog.json
@@ -1,6 +1,15 @@
{
"$comment": "Curated changelog entries for three.ws — the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security. `link` is optional and must be a live three.ws path.",
"entries": [
+ {
+ "date": "2026-06-19",
+ "title": "One API for the whole platform: three.ws API v1",
+ "summary": "Everything three.ws can do is now reachable through a single, versioned API at /api/v1 — one key, one rate-limit budget, and one usage ledger across every capability. Hit GET /api/v1 to discover the full endpoint catalog (each one's auth, scope, and parameters) in a single call. The first endpoints are live: text sentiment scoring (POST /api/v1/sentiment), market and narrative intelligence (GET /api/v1/market/intel and /api/v1/market/projects), and verified agent-card resolution (GET /api/v1/agents/{caip}). Authenticate with a developer API key (Authorization: Bearer sk_live_…) created in your developer dashboard, an OAuth token, or a signed-in session; every response uses one consistent shape and standard RateLimit headers. More of the platform's capabilities will land under this same API over the coming releases.",
+ "tags": [
+ "feature",
+ "sdk"
+ ]
+ },
{
"date": "2026-06-19",
"title": "Every page now shares with its own social card",
diff --git a/public/changelog.json b/public/changelog.json
index c4b4b6e1b..b85b9b449 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-19T01:47:46.340Z",
+ "generated_at": "2026-06-19T03:32:31.125Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
@@ -120,6 +120,17 @@
"improvement"
]
},
+ {
+ "date": "2026-06-19",
+ "type": "update",
+ "title": "One API for the whole platform: three.ws API v1",
+ "summary": "Everything three.ws can do is now reachable through a single, versioned API at /api/v1 — one key, one rate-limit budget, and one usage ledger across every capability. Hit GET /api/v1 to discover the full endpoint catalog (each one's auth, scope, and parameters) in a single call. The first endpoints are live: text sentiment scoring (POST /api/v1/sentiment), market and narrative intelligence (GET /api/v1/market/intel and /api/v1/market/projects), and verified agent-card resolution (GET /api/v1/agents/{caip}). Authenticate with a developer API key (Authorization: Bearer sk_live_…) created in your developer dashboard, an OAuth token, or a signed-in session; every response uses one consistent shape and standard RateLimit headers. More of the platform's capabilities will land under this same API over the coming releases.",
+ "link": null,
+ "tags": [
+ "feature",
+ "sdk"
+ ]
+ },
{
"date": "2026-06-19",
"type": "update",
diff --git a/public/changelog.xml b/public/changelog.xml
index c6afa0739..0c766e63f 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -94,6 +94,14 @@
<category>security</category>
<description>We extended the sitewide clickjacking protection to allow IBM properties to frame three.ws. Any page on ibm.com (and its subdomains) may now load three.ws pages inside an iframe — useful for the IBM x402 demo and other IBM-hosted integrations — while every other external site is still refused by default. Sign-in, wallet, dashboard and OAuth consent pages remain hard-locked and cannot be framed by anyone, including IBM. The avatar, widget and walk embeds continue to work on any site as before.</description>
</item>
+ <item>
+ <title>One API for the whole platform: three.ws API v1</title>
+ <link>https://three.ws/changelog</link>
+ <guid isPermaLink="false">2026-06-19:One API for the whole platform: three.ws API v1</guid>
+ <pubDate>Fri, 19 Jun 2026 12:00:00 GMT</pubDate>
+ <category>feature</category>
+ <description>Everything three.ws can do is now reachable through a single, versioned API at /api/v1 — one key, one rate-limit budget, and one usage ledger across every capability. Hit GET /api/v1 to discover the full endpoint catalog (each one's auth, scope, and parameters) in a single call. The first endpoints are live: text sentiment scoring (POST /api/v1/sentiment), market and narrative intelligence (GET /api/v1/market/intel and /api/v1/market/projects), and verified agent-card resolution (GET /api/v1/agents/{caip}). Authenticate with a developer API key (Authorization: Bearer sk_live_…) created in your developer dashboard, an OAuth token, or a signed-in session; every response uses one consistent shape and standard RateLimit headers. More of the platform's capabilities will land under this same API over the coming releases.</description>
+ </item>
<item>
<title>Paid market-intel never charges you for unavailable data</title>
<link>https://three.ws/changelog</link>
diff --git a/public/features.json b/public/features.json
index 66f805e07..14518c5d3 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-19T01:47:46.204Z",
+ "generated_at": "2026-06-19T03:32:31.105Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",
diff --git a/public/sitemap/index.html b/public/sitemap/index.html
index aec3e0931..7bcf2ec13 100644
--- a/public/sitemap/index.html
+++ b/public/sitemap/index.html
@@ -56,25 +56,6 @@
.sm-brand img { width: 24px; height: 24px; border-radius: 5px; }
.sm-brand:hover { text-decoration: none; }
</style>
-
- <meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1">
- <meta property="og:type" content="website">
- <meta property="og:site_name" content="three.ws">
- <meta property="og:locale" content="en_US">
- <meta property="og:title" content="Sitemap · three.ws">
- <meta property="og:description" content="Human-readable index of every page on three.ws.">
- <meta property="og:url" content="https://three.ws/sitemap">
- <meta property="og:image" content="https://three.ws/api/page-og?s=main&amp;t=Sitemap&amp;d=Human-readable+index+of+every+page+on+three.ws.&amp;p=%2Fsitemap">
- <meta property="og:image:width" content="1200">
- <meta property="og:image:height" content="630">
- <meta property="og:image:type" content="image/png">
- <meta property="og:image:alt" content="Sitemap — three.ws">
- <meta name="twitter:card" content="summary_large_image">
- <meta name="twitter:site" content="@trythreews">
- <meta name="twitter:title" content="Sitemap · three.ws">
- <meta name="twitter:description" content="Human-readable index of every page on three.ws.">
- <meta name="twitter:image" content="https://three.ws/api/page-og?s=main&amp;t=Sitemap&amp;d=Human-readable+index+of+every+page+on+three.ws.&amp;p=%2Fsitemap">
- <script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","name":"Sitemap","description":"Human-readable index of every page on three.ws.","url":"https://three.ws/sitemap","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"},"primaryImageOfPage":"https://three.ws/api/page-og?s=main&t=Sitemap&d=Human-readable+index+of+every+page+on+three.ws.&p=%2Fsitemap"}]}</script>
</head>
<body>
<header class="sm-topbar">