The base URL, how a request is authenticated, and every endpoint.

Base URL and authentication

Everything a client needs: the base URL is https://api.grounder.net, and every request carries a search key as Authorization: Bearer $GROUNDER_KEY. Make one under Search keys on your account. A key searches as your account does: the same sources and saved search choice as MCP, under the same free searches and credit. POST /v1/search answers a request with none as a free search with no sign-in.

An OAuth access token takes the key’s place on the search addresses only: POST /v1/search, POST /v1/search/{request_id}/cited and the drop-in endpoints. Every other address that checks who you are, GET /v1/account among them, takes a search key and answers a token with 401. To get a token, start at https://api.grounder.net/.well-known/oauth-protected-resource/v1/search, register a public client, sign in, request scope=search for resource https://api.grounder.net/v1/search, then refresh the token as needed. A client ends a refresh token it holds at POST https://api.grounder.net/oauth/revoke (RFC 7009; the metadata names it as revocation_endpoint), and the apps you signed in are listed on your account’s Profile, each with Disconnect.

A key made as usual also reads your account from your terminal or agent with GET /v1/account. To share one key among people you don’t want to give that, a gateway like LiteLLM for one, make it search-only: under Search keys choose “Search only” when you create it. A search-only key searches, calls the drop-in endpoints, and lists search and user_info over MCP. user_info and GET /v1/account answer it which Grounder version is answering, and nothing of your account. Everything else of the account answers 403 forbidden. An OAuth sign-in made with a search-only key stays search-only; a sign-in you do yourself, and every other key, is full.

The same as MCP

Each MCP tool has an endpoint that does the same with a key.

MCP toolHTTP API
searchPOST /v1/search
report_sourcesPOST /v1/search/{request_id}/cited
user_infoGET /v1/account

Endpoints