Getting started

Every request to the Scrooge API needs an API key. Create one in Settings, then send it in the Authorization header.

Create an API key

In Settings, open Connections and choose Create key under API keys. Give the key a name. Scrooge shows the key only once, so copy it straight away.

Set SCROOGE_API_URL to https://api.scrg.io/v1 and SCROOGE_API_KEY to your key.

Make a request

curl "$SCROOGE_API_URL/markets" \
  -H "Authorization: Bearer $SCROOGE_API_KEY"

The response

The markets are in data when success is true.

When success is false, error says why (see Errors).