Cache developers

Docs | Your keys

Cache developers

Home | Docs | Your keys

The Cache API

Your projects and saves, from your own code, agents and no-code tools. Beta.


1. Make a key at Your keys. Pick read only, read and add, or read, add and organise.

2. Send it with every call:

curl https://developers.cacheanything.com/v1/projects \
  -H "Authorization: Bearer cache_sk_…"

3. That’s it. The full list is in the docs.

What it can do

Search

curl "https://developers.cacheanything.com/v1/search?q=pricing%20ideas" \
  -H "Authorization: Bearer cache_sk_…"

Save a link

curl -X POST https://developers.cacheanything.com/v1/saves \
  -H "Authorization: Bearer cache_sk_…" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.instagram.com/reel/…", "project_id": "…"}'

n8n

Add an HTTP Request node. Method GET or POST, URL as above. Authentication: Generic → Header Auth, name Authorization, value Bearer cache_sk_…. For a save, send the body as JSON.

Zapier

Add Webhooks by Zapier → Custom Request. Method POST, URL https://developers.cacheanything.com/v1/saves, Data {"url": "…"}, Headers Authorization = Bearer cache_sk_… and Content-Type = application/json.

Make

Add HTTP → Make a request. Same URL, method and headers. Body type Raw, content type JSON.

Python

import requests

r = requests.get(
    "https://developers.cacheanything.com/v1/search",
    params={"q": "ideas for the launch video"},
    headers={"Authorization": "Bearer cache_sk_…"},
)
for piece in r.json()["pieces"]:
    print(piece["title"], piece["text"][:200])

JavaScript

const r = await fetch("https://developers.cacheanything.com/v1/projects", {
  headers: { Authorization: "Bearer cache_sk_…" },
});
const { projects } = await r.json();

Agents (MCP)

The same key works on the Cache connector. Point your agent’s MCP client at https://mcp.cacheanything.com with the header Authorization: Bearer cache_sk_….

Limits

Per key: 60 calls a minute (20 of them searches), 2,000 calls a day (300 searches). Changes (saving, adding to projects) have their own limit: 300 a day per person, shared with your AI connections. Over a limit you get 429 and a Retry-After header.

Saving after a timeout? Send an Idempotency-Key header (any id you choose). The same key and id within a day returns the first answer instead of saving twice.

Projects you hide from AI apps in Cache stay hidden here too.