REST API
Idempotent imports, a cursor-paged catalog, media holds, and download URLs. Every route is described in the OpenAPI document served by the API itself.
GET api.refmatter.com/openapi.jsonAPI reference ↗Reference memory for AI creative agents
Give Refmatter a URL. Get back a verified reference: the source as it was observed, the media itself with a poster frame, and provenance that says how and when it was acquired. Through a REST API, a TypeScript SDK, and MCP.
// npm install @refmatter/sdk import { Refmatter } from '@refmatter/sdk'; const refmatter = new Refmatter({ apiKey }); const { reference } = await refmatter.resolve( 'https://www.youtube.com/watch?v=jNQXAC9IVRw', );
{
"state": "ready",
"platform": "youtube",
"sourceObserved": { "title": "Me at the zoo", "durationSeconds": 19, … },
"machineDerived": { "container": "mp4", "width": 320, "height": 240, … },
"provenance": { "contentHash": "sha256:…", "acquiredAt": "2026-09-14T14:21:49Z" },
"mediaAvailability": "ready",
"mediaHold": { "expiresAt": "2026-10-14T14:21:49Z" },
…
}What comes back
Built for agents
Idempotent imports, a cursor-paged catalog, media holds, and download URLs. Every route is described in the OpenAPI document served by the API itself.
GET api.refmatter.com/openapi.jsonAPI reference ↗Generated from the contract, so it cannot drift. One call from URL to reference, typed errors with a retryable flag, the raw client when you need it.
npm install @refmatter/sdkSDK guide ↗The same operations as tools for Claude, Cursor, or your own agent. Each client brings its own workspace key; the server holds none.
claude mcp add --transport http refmatter …/mcpConnect an agent ↗Sources
Only public, unauthenticated content, acquired through our own tooling. No accounts, cookies, client emulation, or rotating proxy pools. When a source will not serve something publicly, you get a stable failure code, not a half-empty result.
Retention you control
Metadata, poster, provenance, and your notes live as long as the reference. The video bytes exist only under a media hold you own: 30 days by default, extendable to 365, releasable any time. No standing archive of other people’s video, and a takedown path that acts within 24 hours.
Read the retention and takedown policyEarly access
Refmatter is in early access. YouTube is live; the next sources follow the teams that ask for them. Tell us what your agents need to remember.