Get a supermemory API key

Head to supermemory’s Developer Platform built to help you monitor and manage every aspect of the API.

Create an account

An account will automatically be created on your first login.

Create an API Key

1

Navigate to API Keys

Click Create API Key

2

Choose Name and Expiry (Optional)

Click Create

3

Copy New Key

Click to copy

Get your LLM provider’s API key

Head to your LLM provider’s dashboard and get your API key.

Choose your endpoint

https://api.supermemory.ai/v3/https://api.openai.com/v1/chat/completions

Making your first request

curl https://api.supermemory.ai/v3/https://api.openai.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -H "x-api-key: $SUPERMEMORY_API_KEY" \
  -d '{
    "model": "gpt-4o",
    "messages": [
      {"role": "user", "content": "What is the capital of France?"}
    ]
  }'