Skip to main content

Get access

Every account can create API keys. New accounts include 300 credits (20 pages), and API calls spend the same credits at the same prices as the website.
  1. Sign in at anythingmd.com.
  2. Open Settings → API Keys and create a key.
The secret (amd_live_...) is shown once. Store it in a secret manager; it cannot be shown again. Until your workspace buys its first credit pack, its keys are limited to 10 requests per minute. The standard limit applies within about a minute of the first purchase. When credits run out, requests return 402 with a link to buy more.

Send the key

Send the key as a bearer token on every request:
Never put API keys in browser or mobile code. Call the API from your server.

Scopes

Each key carries the scopes chosen when it was created: A key without the required scope gets 403 with code: insufficient_scope.

Access errors

api_access_requires_purchase is no longer returned: keys work for every workspace.

The same key over MCP

The MCP server authenticates with the identical key and scopes: Authorization: Bearer ${ANYTHINGMD_API_KEY} against https://mcp.anythingmd.com/mcp. Setup for each client is in the MCP server guide; common problems are in MCP troubleshooting. If a key leaks, follow the leaked-key runbook.